cleanup unused extern crates.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-06-01 10:26:05 +00:00 committed by June 🍓🦴
parent eed8a2a801
commit 14039d9df4
5 changed files with 0 additions and 82 deletions

25
Cargo.lock generated
View file

@ -572,12 +572,8 @@ name = "conduit"
version = "0.4.1" version = "0.4.1"
dependencies = [ dependencies = [
"clap", "clap",
"conduit_admin",
"conduit_api",
"conduit_core", "conduit_core",
"conduit_database",
"conduit_router", "conduit_router",
"conduit_service",
"console-subscriber", "console-subscriber",
"hardened_malloc-rs", "hardened_malloc-rs",
"log", "log",
@ -655,16 +651,11 @@ dependencies = [
name = "conduit_core" name = "conduit_core"
version = "0.4.1" version = "0.4.1"
dependencies = [ dependencies = [
"async-trait",
"axum 0.7.5", "axum 0.7.5",
"axum-server", "axum-server",
"base64 0.22.1",
"bytes", "bytes",
"clap",
"cyborgtime",
"either", "either",
"figment", "figment",
"futures-util",
"hardened_malloc-rs", "hardened_malloc-rs",
"http 1.1.0", "http 1.1.0",
"http-body-util", "http-body-util",
@ -674,7 +665,6 @@ dependencies = [
"itertools 0.13.0", "itertools 0.13.0",
"libloading", "libloading",
"log", "log",
"lru-cache",
"nix", "nix",
"parking_lot", "parking_lot",
"rand", "rand",
@ -688,8 +678,6 @@ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
"serde_regex", "serde_regex",
"serde_yaml",
"sha-1",
"thiserror", "thiserror",
"thread_local", "thread_local",
"tikv-jemalloc-ctl", "tikv-jemalloc-ctl",
@ -708,7 +696,6 @@ version = "0.4.1"
dependencies = [ dependencies = [
"chrono", "chrono",
"conduit_core", "conduit_core",
"futures-util",
"log", "log",
"lru-cache", "lru-cache",
"parking_lot", "parking_lot",
@ -716,9 +703,6 @@ dependencies = [
"rusqlite", "rusqlite",
"rust-rocksdb-uwu", "rust-rocksdb-uwu",
"thread_local", "thread_local",
"tikv-jemalloc-ctl",
"tikv-jemalloc-sys",
"tikv-jemallocator",
"tokio", "tokio",
"tracing", "tracing",
"zstd", "zstd",
@ -764,13 +748,11 @@ dependencies = [
"async-trait", "async-trait",
"base64 0.22.1", "base64 0.22.1",
"bytes", "bytes",
"clap",
"conduit_core", "conduit_core",
"conduit_database", "conduit_database",
"cyborgtime", "cyborgtime",
"futures-util", "futures-util",
"hickory-resolver", "hickory-resolver",
"hmac",
"http 1.1.0", "http 1.1.0",
"image", "image",
"ipaddress", "ipaddress",
@ -786,21 +768,14 @@ dependencies = [
"ruma", "ruma",
"ruma-identifiers-validation", "ruma-identifiers-validation",
"rusqlite", "rusqlite",
"rust-rocksdb-uwu",
"serde", "serde",
"serde_json", "serde_json",
"serde_yaml", "serde_yaml",
"sha-1",
"sha2", "sha2",
"thread_local", "thread_local",
"tikv-jemalloc-ctl",
"tikv-jemalloc-sys",
"tikv-jemallocator",
"tokio", "tokio",
"tracing", "tracing",
"tracing-subscriber",
"url", "url",
"webpage",
"zstd", "zstd",
] ]

View file

@ -71,16 +71,11 @@ perf_measurements = []
sentry_telemetry = [] sentry_telemetry = []
[dependencies] [dependencies]
async-trait.workspace = true
axum-server.workspace = true axum-server.workspace = true
axum.workspace = true axum.workspace = true
base64.workspace = true
bytes.workspace = true bytes.workspace = true
clap.workspace = true
cyborgtime.workspace = true
either.workspace = true either.workspace = true
figment.workspace = true figment.workspace = true
futures-util.workspace = true
http-body-util.workspace = true http-body-util.workspace = true
http.workspace = true http.workspace = true
image.workspace = true image.workspace = true
@ -89,7 +84,6 @@ ipaddress.workspace = true
itertools.workspace = true itertools.workspace = true
libloading.workspace = true libloading.workspace = true
log.workspace = true log.workspace = true
lru-cache.workspace = true
parking_lot.optional = true parking_lot.optional = true
parking_lot.workspace = true parking_lot.workspace = true
rand.workspace = true rand.workspace = true
@ -105,8 +99,6 @@ sanitize-filename.workspace = true
serde_json.workspace = true serde_json.workspace = true
serde_regex.workspace = true serde_regex.workspace = true
serde.workspace = true serde.workspace = true
serde_yaml.workspace = true
sha-1.workspace = true
thiserror.workspace = true thiserror.workspace = true
thread_local.optional = true thread_local.optional = true
thread_local.workspace = true thread_local.workspace = true

View file

@ -41,14 +41,8 @@ rocksdb = [
"dep:rust-rocksdb", "dep:rust-rocksdb",
] ]
jemalloc = [ jemalloc = [
"dep:tikv-jemalloc-sys",
"dep:tikv-jemalloc-ctl",
"dep:tikv-jemallocator",
"rust-rocksdb/jemalloc", "rust-rocksdb/jemalloc",
] ]
jemalloc_prof = [
"tikv-jemalloc-sys/profiling",
]
io_uring = [ io_uring = [
"rust-rocksdb/io-uring", "rust-rocksdb/io-uring",
] ]
@ -59,7 +53,6 @@ zstd_compression = [
[dependencies] [dependencies]
chrono.workspace = true chrono.workspace = true
conduit-core.workspace = true conduit-core.workspace = true
futures-util.workspace = true
log.workspace = true log.workspace = true
lru-cache.workspace = true lru-cache.workspace = true
parking_lot.optional = true parking_lot.optional = true
@ -71,12 +64,6 @@ rust-rocksdb.optional = true
rust-rocksdb.workspace = true rust-rocksdb.workspace = true
thread_local.optional = true thread_local.optional = true
thread_local.workspace = true thread_local.workspace = true
tikv-jemallocator.optional = true
tikv-jemallocator.workspace = true
tikv-jemalloc-ctl.optional = true
tikv-jemalloc-ctl.workspace = true
tikv-jemalloc-sys.optional = true
tikv-jemalloc-sys.workspace = true
tokio.workspace = true tokio.workspace = true
tracing.workspace = true tracing.workspace = true
zstd.optional = true zstd.optional = true

View file

@ -69,10 +69,6 @@ perf_measurements = [
[dependencies] [dependencies]
conduit-router.workspace = true conduit-router.workspace = true
conduit-admin.workspace = true
conduit-api.workspace = true
conduit-service.workspace = true
conduit-database.workspace = true
conduit-core.workspace = true conduit-core.workspace = true
tokio.workspace = true tokio.workspace = true

View file

@ -18,11 +18,7 @@ crate-type = [
[features] [features]
default = [ default = [
"rocksdb",
"io_uring",
"jemalloc",
"gzip_compression", "gzip_compression",
"zstd_compression",
"brotli_compression", "brotli_compression",
"release_max_log_level", "release_max_log_level",
] ]
@ -39,21 +35,6 @@ sqlite = [
"dep:parking_lot", "dep:parking_lot",
"dep:thread_local", "dep:thread_local",
] ]
rocksdb = [
"dep:rust-rocksdb",
]
jemalloc = [
"dep:tikv-jemalloc-sys",
"dep:tikv-jemalloc-ctl",
"dep:tikv-jemallocator",
"rust-rocksdb/jemalloc",
]
io_uring = [
"rust-rocksdb/io-uring",
]
zstd_compression = [
"rust-rocksdb/zstd",
]
gzip_compression = [ gzip_compression = [
"reqwest/gzip", "reqwest/gzip",
] ]
@ -69,13 +50,11 @@ argon2.workspace = true
async-trait.workspace = true async-trait.workspace = true
base64.workspace = true base64.workspace = true
bytes.workspace = true bytes.workspace = true
clap.workspace = true
conduit-core.workspace = true conduit-core.workspace = true
conduit-database.workspace = true conduit-database.workspace = true
cyborgtime.workspace = true cyborgtime.workspace = true
futures-util.workspace = true futures-util.workspace = true
hickory-resolver.workspace = true hickory-resolver.workspace = true
hmac.workspace = true
http.workspace = true http.workspace = true
image.workspace = true image.workspace = true
ipaddress.workspace = true ipaddress.workspace = true
@ -93,27 +72,16 @@ ruma-identifiers-validation.workspace = true
ruma.workspace = true ruma.workspace = true
rusqlite.optional = true rusqlite.optional = true
rusqlite.workspace = true rusqlite.workspace = true
rust-rocksdb.optional = true
rust-rocksdb.workspace = true
serde_json.workspace = true serde_json.workspace = true
serde.workspace = true serde.workspace = true
serde_yaml.workspace = true serde_yaml.workspace = true
sha-1.workspace = true
sha2.optional = true sha2.optional = true
sha2.workspace = true sha2.workspace = true
thread_local.optional = true thread_local.optional = true
thread_local.workspace = true thread_local.workspace = true
tikv-jemallocator.optional = true
tikv-jemallocator.workspace = true
tikv-jemalloc-ctl.optional = true
tikv-jemalloc-ctl.workspace = true
tikv-jemalloc-sys.optional = true
tikv-jemalloc-sys.workspace = true
tokio.workspace = true tokio.workspace = true
tracing-subscriber.workspace = true
tracing.workspace = true tracing.workspace = true
url.workspace = true url.workspace = true
webpage.workspace = true
zstd.optional = true zstd.optional = true
zstd.workspace = true zstd.workspace = true