diff --git a/Cargo.toml b/Cargo.toml index e426e77..8088f64 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,5 @@ [workspace] -members = [ - "hcctl", - "healthchecks", - "monitor", -] +members = ["hcctl", "healthchecks", "monitor"] [profile.release] codegen-units = 1 @@ -11,6 +7,6 @@ lto = "thin" panic = "abort" [workspace.dependencies] -clap = { version = "4.3.8", features = [ "color", "deprecated", "derive" ] } +clap = { version = "4.3.8", features = ["color", "deprecated", "derive"] } healthchecks = { path = "healthchecks", version = "^3.1.4" } color-eyre = { version = "0.6.2", default-features = false } diff --git a/deny.toml b/deny.toml index ed1dff3..4ef70b8 100644 --- a/deny.toml +++ b/deny.toml @@ -17,28 +17,33 @@ notice = "warn" ignore = [] [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 = ["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 = [ + "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.private] ignore = false diff --git a/hcctl/Cargo.toml b/hcctl/Cargo.toml index 3ab1e1e..f46d530 100644 --- a/hcctl/Cargo.toml +++ b/hcctl/Cargo.toml @@ -19,7 +19,7 @@ color-eyre.workspace = true comfy-table = "7.0.1" healthchecks.workspace = true time = { version = "0.3.22", features = ["parsing"] } -uuid = { version = "1.3.4", default-features = false, features = [ "v1" ] } +uuid = { version = "1.3.4", default-features = false, features = ["v1"] } [dev-dependencies] time = { version = "0.3.22", features = ["parsing", "macros"] } diff --git a/healthchecks/Cargo.toml b/healthchecks/Cargo.toml index 2ddb947..9470d33 100644 --- a/healthchecks/Cargo.toml +++ b/healthchecks/Cargo.toml @@ -19,8 +19,8 @@ thiserror = ">=1.0.2" serde = { version = "~1.0.164", default-features = false } serde_derive = "~1.0.164" serde_json = "~1.0.99" -ureq = { version = "~2.7.1", features = [ "json" ] } -uuid = { version = "~1.3.4", default-features = false, features = [ "v1" ] } +ureq = { version = "~2.7.1", features = ["json"] } +uuid = { version = "~1.3.4", default-features = false, features = ["v1"] } [features] v2 = [] 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"