diff --git a/Cargo.toml b/Cargo.toml index 5e2e302..ac4cf99 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,129 +9,82 @@ publish = false async-trait = "=0.1.89" color-eyre = "=0.6.5" compact_str = { version = "=0.9.0", features = ["serde"] } -crossterm = { - version = "=0.29.0", - default-features = false, - features = [ - "event-stream", - "windows", - ], - optional = true -} +crossterm = { version = "=0.29.0", default-features = false, features = [ + "event-stream", + "windows", +], optional = true } dhat = { version = "=0.3.3", optional = true } dirs = "=6.0.0" fancy-regex = "=0.18.0" foldhash = "=0.2.0" -futures = { - version = "=0.3.32", - default-features = false, - features = [ - "std", - ], - optional = true -} +futures = { version = "=0.3.32", default-features = false, features = [ + "std", +], optional = true } hickory-resolver = "=0.26.1" http = "=1.4.0" httpdate = "=1.0.3" ipnet = "=2.12.0" itoa = "=1.0.18" -log = { - version = "=0.4.29", - features = [ - "max_level_debug", - "release_max_level_debug", - "std", - ] -} +log = { version = "=0.4.29", features = [ + "max_level_debug", + "release_max_level_debug", + "std", +] } maxminddb = { version = "=0.28.1", features = ["mmap"] } mimalloc = { version = "=0.1.52", features = ["override"], optional = true } parking_lot = "=0.12.5" -rand = { - version = "=0.10.1", - default-features = false, - features = [ - "std", - "thread_rng", - ] -} -ratatui = { - version = "=0.30.0", - default-features = false, - features = [ - "crossterm", - "layout-cache", - ], - optional = true -} +rand = { version = "=0.10.1", default-features = false, features = [ + "std", + "thread_rng", +] } +ratatui = { version = "=0.30.0", default-features = false, features = [ + "crossterm", + "layout-cache", +], optional = true } reqwest = { version = "=0.13.3", features = ["brotli", "gzip", "socks"] } reqwest-middleware = "=0.5.2" rlimit = "=0.11.0" -rustls = { - version = "=0.23.40", - default-features = false, - features = [ - "aws_lc_rs", - "prefer-post-quantum", - "std", - "tls12", - ] -} +rustls = { version = "=0.23.40", default-features = false, features = [ + "aws_lc_rs", + "prefer-post-quantum", + "std", + "tls12", +] } rustls-platform-verifier = "=0.7.0" serde = "=1.0.228" serde_json = "=1.0.149" -smallvec = { - version = "=1.15.1", - features = [ - "const_generics", - "union", - ], - optional = true -} +smallvec = { version = "=1.15.1", features = [ + "const_generics", + "union", +], optional = true } strum = { version = "=0.28.0", features = ["derive"], optional = true } -tikv-jemallocator = { - version = "=0.6.1", - features = [ - "override_allocator_on_supported_platforms", - ], - optional = true -} +tikv-jemallocator = { version = "=0.6.1", features = [ + "override_allocator_on_supported_platforms", +], optional = true } tokio = { version = "=1.52.3", features = ["fs", "parking_lot", "signal"] } tokio-util = "=0.7.18" -toml = { - version = "=1.1.2", - default-features = false, - features = [ - "parse", - "serde", - "std", - ] -} -tracing = { - version = "=0.1.44", - default-features = false, - features = [ - "max_level_debug", - "release_max_level_debug", - "std", - ] -} +toml = { version = "=1.1.2", default-features = false, features = [ + "parse", + "serde", + "std", +] } +tracing = { version = "=0.1.44", default-features = false, features = [ + "max_level_debug", + "release_max_level_debug", + "std", +] } tracing-subscriber = { version = "=0.3.23", features = ["parking_lot"] } -tui-logger = { - version = "=0.18.2", - features = [ - "tracing-support", - ], - optional = true -} +tui-logger = { version = "=0.18.2", features = [ + "tracing-support", +], optional = true } url = "=2.5.8" [target.'cfg(all(any(target_arch = "aarch64", target_arch = "x86_64"), any(all(target_os = "linux", any(target_env = "musl", target_env = "gnu")), target_os = "macos", all(target_os = "windows", target_env = "msvc"))))'.dependencies] -mimalloc-auto = { - package = "mimalloc", - version = "=0.1.52", - features = ["no_thp", "override", "v2"], - optional = true -} +mimalloc-auto = { package = "mimalloc", version = "=0.1.52", features = [ + "no_thp", + "override", + "v2" +], optional = true } [features] default = ["auto-allocator"] diff --git a/tombi.toml b/tombi.toml new file mode 100644 index 0000000..6dbdc4b --- /dev/null +++ b/tombi.toml @@ -0,0 +1,4 @@ +[[schemas]] +toml-version = "v1.0.0" +path = "tombi://www.schemastore.org/cargo.json" +include = ["Cargo.toml"]