chore: reformat TOML files with Taplo

This commit is contained in:
Harsh Shandilya 2023-06-26 00:33:51 +05:30
parent 8704d6f775
commit 189616a642
No known key found for this signature in database
5 changed files with 23 additions and 22 deletions

View File

@ -1,9 +1,5 @@
[workspace] [workspace]
members = [ members = ["hcctl", "healthchecks", "monitor"]
"hcctl",
"healthchecks",
"monitor",
]
[profile.release] [profile.release]
codegen-units = 1 codegen-units = 1
@ -11,6 +7,6 @@ lto = "thin"
panic = "abort" panic = "abort"
[workspace.dependencies] [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" } healthchecks = { path = "healthchecks", version = "^3.1.4" }
color-eyre = { version = "0.6.2", default-features = false } color-eyre = { version = "0.6.2", default-features = false }

View File

@ -17,28 +17,33 @@ notice = "warn"
ignore = [] ignore = []
[licenses] [licenses]
unlicensed = "deny" unlicensed = "deny"
allow = [ allow = ["MIT", "Apache-2.0"]
"MIT",
"Apache-2.0",
]
copyleft = "allow" copyleft = "allow"
allow-osi-fsf-free = "neither" allow-osi-fsf-free = "neither"
default = "deny" default = "deny"
confidence-threshold = 0.8 confidence-threshold = 0.8
exceptions = [ exceptions = [
{ allow = ["MIT", "ISC", "OpenSSL"], name = "ring", version = "*" }, { allow = [
{ allow = ["ISC"], name = "untrusted", version = "*" }, "MIT",
{ allow = ["ISC"], name = "webpki", version = "*" }, "ISC",
{ allow = ["Unicode-DFS-2016"], name = "unicode-ident", version = "*" }, "OpenSSL",
], name = "ring", version = "*" },
{ allow = [
"ISC",
], name = "untrusted", version = "*" },
{ allow = [
"ISC",
], name = "webpki", version = "*" },
{ allow = [
"Unicode-DFS-2016",
], name = "unicode-ident", version = "*" },
] ]
[[licenses.clarify]] [[licenses.clarify]]
name = "ring" name = "ring"
version = "*" version = "*"
expression = "MIT AND ISC AND OpenSSL" expression = "MIT AND ISC AND OpenSSL"
license-files = [ license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]
{ path = "LICENSE", hash = 0xbd0eed23 }
]
[licenses.private] [licenses.private]
ignore = false ignore = false

View File

@ -19,7 +19,7 @@ color-eyre.workspace = true
comfy-table = "7.0.1" comfy-table = "7.0.1"
healthchecks.workspace = true healthchecks.workspace = true
time = { version = "0.3.22", features = ["parsing"] } 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] [dev-dependencies]
time = { version = "0.3.22", features = ["parsing", "macros"] } time = { version = "0.3.22", features = ["parsing", "macros"] }

View File

@ -19,8 +19,8 @@ thiserror = ">=1.0.2"
serde = { version = "~1.0.164", default-features = false } serde = { version = "~1.0.164", default-features = false }
serde_derive = "~1.0.164" serde_derive = "~1.0.164"
serde_json = "~1.0.99" serde_json = "~1.0.99"
ureq = { version = "~2.7.1", features = [ "json" ] } ureq = { version = "~2.7.1", features = ["json"] }
uuid = { version = "~1.3.4", default-features = false, features = [ "v1" ] } uuid = { version = "~1.3.4", default-features = false, features = ["v1"] }
[features] [features]
v2 = [] v2 = []

View File

@ -1,5 +1,5 @@
[toolchain] [toolchain]
channel = "1.70.0" channel = "1.70.0"
components = [ "clippy", "rustfmt", "rust-src" ] components = ["clippy", "rustfmt", "rust-src"]
targets = [ "x86_64-unknown-linux-gnu" ] targets = ["x86_64-unknown-linux-gnu"]
profile = "minimal" profile = "minimal"