diff --git a/Cargo.toml b/Cargo.toml index d1f0f4c..ec7ebb7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,5 @@ [workspace] -members = [ - "adx", -] +members = ["adx"] [profile.release] codegen-units = 1 @@ -13,4 +11,3 @@ panic = "abort" inherits = "release" debug = true split-debuginfo = "packed" - diff --git a/adx/Cargo.toml b/adx/Cargo.toml index f280bed..4e87b8e 100644 --- a/adx/Cargo.toml +++ b/adx/Cargo.toml @@ -13,10 +13,12 @@ readme = "../README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -clap = { version = "4.3.8", features = [ "color", "deprecated", "derive" ] } +clap = { version = "4.3.8", features = ["color", "deprecated", "derive"] } color-eyre = { version = "0.6.2", default-features = false } futures = "0.3.28" -reqwest = { version = "0.11.18", default-features = false, features = ["rustls-tls"] } +reqwest = { version = "0.11.18", default-features = false, features = [ + "rustls-tls", +] } roxmltree = { version = "0.18.0", features = ["std"] } semver = "1.0.17" thiserror = "1.0.40" diff --git a/deny.toml b/deny.toml index 3457814..b37fbc8 100644 --- a/deny.toml +++ b/deny.toml @@ -16,36 +16,43 @@ yanked = "warn" notice = "warn" [licenses] unlicensed = "deny" -allow = [ - "MIT", - "Apache-2.0", -] +allow = ["MIT", "Apache-2.0"] copyleft = "allow" allow-osi-fsf-free = "neither" default = "deny" confidence-threshold = 0.8 exceptions = [ - { allow = ["MIT", "ISC", "OpenSSL"], name = "ring", version = "*" }, - { allow = ["ISC"], name = "untrusted", version = "*" }, - { allow = ["ISC"], name = "webpki", version = "*" }, - { allow = ["Apache-2.0", "MIT", "BSD-3-Clause"], name = "encoding_rs", version = "*" }, - { allow = ["Unicode-DFS-2016"], name = "unicode-ident", version = "*" }, + { allow = [ + "MIT", + "ISC", + "OpenSSL", + ], name = "ring", version = "*" }, + { allow = [ + "ISC", + ], name = "untrusted", version = "*" }, + { allow = [ + "ISC", + ], name = "webpki", version = "*" }, + { allow = [ + "Apache-2.0", + "MIT", + "BSD-3-Clause", + ], name = "encoding_rs", version = "*" }, + { allow = [ + "Unicode-DFS-2016", + ], name = "unicode-ident", version = "*" }, ] [[licenses.clarify]] name = "ring" version = "*" expression = "MIT AND ISC AND OpenSSL" -license-files = [ - { path = "LICENSE", hash = 0xbd0eed23 } -] +license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }] [[licenses.clarify]] name = "encoding_rs" version = "*" expression = "(Apache-2.0 OR MIT) AND BSD-3-Clause" -license-files = [ - { path = "COPYRIGHT", hash = 0x39f8ad31 } -] +license-files = [{ path = "COPYRIGHT", hash = 0x39f8ad31 }] [licenses.private] ignore = false diff --git a/rust-toolchain.toml b/rust-toolchain.toml index cfd2cc4..1189b95 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] channel = "1.70.0" -components = [ "clippy", "rustfmt", "rust-src" ] -targets = [ "x86_64-unknown-linux-gnu" ] +components = ["clippy", "rustfmt", "rust-src"] +targets = ["x86_64-unknown-linux-gnu"] profile = "minimal"