fix: Exclude optional object-store implementation crates from cargo-hakari
Aha! cargo-hakari turns on all features, but usually in development all the specific object storage implementation crates are off. Excluding them in the hakari config reduces the workspace crate a bit. Connects to #3117.pull/24376/head
parent
30c4da7ca7
commit
76909b07e4
|
@ -23,8 +23,9 @@ platforms = [
|
|||
# Don't search in these crates for dependencies, and don't have these crates depend on the
|
||||
# workspace-hack crate.
|
||||
#
|
||||
# Includes most bench- or test-only crates except for query_tests, as that crate is built often
|
||||
# and should share as many dependencies as possible.
|
||||
# Lists most bench- or test-only crates except for query_tests, as that crate is built often
|
||||
# and should share as many dependencies as possible. Also lists optional object_store dependencies
|
||||
# as those are usually off in development.
|
||||
[traversal-excludes]
|
||||
workspace-members = [
|
||||
"grpc-router",
|
||||
|
@ -37,7 +38,13 @@ workspace-members = [
|
|||
"trogging",
|
||||
]
|
||||
third-party = [
|
||||
{ name = "tikv-jemalloc-sys" },
|
||||
{ name = "pprof" },
|
||||
{ name = "azure_core", git = "https://github.com/Azure/azure-sdk-for-rust.git", rev = "cb5aba657fe378009c38e979434b2bc93ac0a3d5" },
|
||||
{ name = "azure_storage", git = "https://github.com/Azure/azure-sdk-for-rust.git", rev = "cb5aba657fe378009c38e979434b2bc93ac0a3d5" },
|
||||
{ name = "cloud-storage" },
|
||||
{ name = "criterion" },
|
||||
{ name = "pprof" },
|
||||
{ name = "rusoto_core" },
|
||||
{ name = "rusoto_credential" },
|
||||
{ name = "rusoto_s3" },
|
||||
{ name = "tikv-jemalloc-sys" },
|
||||
]
|
||||
|
|
|
@ -4987,7 +4987,6 @@ dependencies = [
|
|||
"futures-util",
|
||||
"getrandom",
|
||||
"hashbrown",
|
||||
"hyper",
|
||||
"indexmap",
|
||||
"log",
|
||||
"memchr",
|
||||
|
@ -4999,9 +4998,7 @@ dependencies = [
|
|||
"regex",
|
||||
"regex-automata",
|
||||
"regex-syntax",
|
||||
"reqwest",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"smallvec",
|
||||
"syn",
|
||||
"tokio",
|
||||
|
@ -5011,7 +5008,6 @@ dependencies = [
|
|||
"tracing",
|
||||
"tracing-core",
|
||||
"tracing-subscriber",
|
||||
"url",
|
||||
"uuid",
|
||||
]
|
||||
|
||||
|
|
|
@ -15,16 +15,15 @@ publish = false
|
|||
[dependencies]
|
||||
ahash = { version = "0.7", features = ["std"] }
|
||||
bytes = { version = "1", features = ["std"] }
|
||||
chrono = { version = "0.4", features = ["clock", "libc", "oldtime", "serde", "std", "time", "winapi"] }
|
||||
chrono = { version = "0.4", features = ["clock", "libc", "oldtime", "std", "time", "winapi"] }
|
||||
either = { version = "1", features = ["use_std"] }
|
||||
futures-channel = { version = "0.3", features = ["alloc", "futures-sink", "sink", "std"] }
|
||||
futures-core = { version = "0.3", features = ["alloc", "std"] }
|
||||
futures-sink = { version = "0.3", features = ["alloc", "std"] }
|
||||
futures-task = { version = "0.3", default-features = false, features = ["alloc", "std"] }
|
||||
futures-util = { version = "0.3", features = ["alloc", "async-await", "async-await-macro", "channel", "futures-channel", "futures-io", "futures-macro", "futures-sink", "io", "memchr", "sink", "slab", "std"] }
|
||||
getrandom = { version = "0.2", default-features = false, features = ["js", "js-sys", "std", "wasm-bindgen"] }
|
||||
getrandom = { version = "0.2", default-features = false, features = ["std"] }
|
||||
hashbrown = { version = "0.11", features = ["ahash", "inline-more", "raw"] }
|
||||
hyper = { version = "0.14", features = ["client", "full", "h2", "http1", "http2", "runtime", "server", "socket2", "stream", "tcp"] }
|
||||
indexmap = { version = "1", default-features = false, features = ["std"] }
|
||||
log = { version = "0.4", default-features = false, features = ["std"] }
|
||||
memchr = { version = "2", features = ["std"] }
|
||||
|
@ -36,9 +35,7 @@ rand = { version = "0.8", features = ["alloc", "getrandom", "libc", "rand_chacha
|
|||
regex = { version = "1", features = ["aho-corasick", "memchr", "perf", "perf-cache", "perf-dfa", "perf-inline", "perf-literal", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"] }
|
||||
regex-automata = { version = "0.1", features = ["regex-syntax", "std"] }
|
||||
regex-syntax = { version = "0.6", features = ["unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"] }
|
||||
reqwest = { version = "0.11", features = ["__rustls", "__tls", "blocking", "default-tls", "hyper-rustls", "hyper-tls", "json", "native-tls-crate", "rustls", "rustls-tls", "rustls-tls-webpki-roots", "serde_json", "stream", "tokio-native-tls", "tokio-rustls", "webpki-roots"] }
|
||||
serde = { version = "1", features = ["derive", "rc", "serde_derive", "std"] }
|
||||
serde_json = { version = "1", features = ["indexmap", "preserve_order", "std"] }
|
||||
smallvec = { version = "1", default-features = false, features = ["union"] }
|
||||
tokio = { version = "1", features = ["bytes", "fs", "full", "io-std", "io-util", "libc", "macros", "memchr", "mio", "net", "num_cpus", "once_cell", "parking_lot", "process", "rt", "rt-multi-thread", "signal", "signal-hook-registry", "sync", "time", "tokio-macros", "winapi"] }
|
||||
tokio-stream = { version = "0.1", features = ["net", "time"] }
|
||||
|
@ -47,7 +44,6 @@ tower = { version = "0.4", features = ["balance", "buffer", "discover", "futures
|
|||
tracing = { version = "0.1", features = ["attributes", "log", "max_level_trace", "release_max_level_debug", "std", "tracing-attributes"] }
|
||||
tracing-core = { version = "0.1", features = ["lazy_static", "std"] }
|
||||
tracing-subscriber = { version = "0.3", features = ["alloc", "ansi", "ansi_term", "env-filter", "fmt", "lazy_static", "matchers", "regex", "registry", "sharded-slab", "smallvec", "std", "thread_local", "tracing", "tracing-log"] }
|
||||
url = { version = "2", default-features = false, features = ["serde"] }
|
||||
uuid = { version = "0.8", features = ["getrandom", "serde", "std", "v4"] }
|
||||
|
||||
[build-dependencies]
|
||||
|
@ -55,7 +51,7 @@ ahash = { version = "0.7", features = ["std"] }
|
|||
bytes = { version = "1", features = ["std"] }
|
||||
cc = { version = "1", default-features = false, features = ["jobserver", "parallel"] }
|
||||
either = { version = "1", features = ["use_std"] }
|
||||
getrandom = { version = "0.2", default-features = false, features = ["js", "js-sys", "std", "wasm-bindgen"] }
|
||||
getrandom = { version = "0.2", default-features = false, features = ["std"] }
|
||||
hashbrown = { version = "0.11", features = ["ahash", "inline-more", "raw"] }
|
||||
indexmap = { version = "1", default-features = false, features = ["std"] }
|
||||
log = { version = "0.4", default-features = false, features = ["std"] }
|
||||
|
|
Loading…
Reference in New Issue