Trim unused deps

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2026-04-05 06:06:38 -04:00
parent 7b75296457
commit 2ab4fd1c92
6 changed files with 14 additions and 201 deletions

203
Cargo.lock generated
View file

@ -205,14 +205,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"axum-core 0.4.5", "axum-core",
"bytes", "bytes",
"futures-util", "futures-util",
"http", "http",
"http-body", "http-body",
"http-body-util", "http-body-util",
"itoa", "itoa",
"matchit 0.7.3", "matchit",
"memchr", "memchr",
"mime", "mime",
"percent-encoding", "percent-encoding",
@ -225,31 +225,6 @@ dependencies = [
"tower-service", "tower-service",
] ]
[[package]]
name = "axum"
version = "0.8.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b52af3cb4058c895d37317bb27508dccc8e5f2d39454016b297bf4a400597b8"
dependencies = [
"axum-core 0.5.6",
"bytes",
"futures-util",
"http",
"http-body",
"http-body-util",
"itoa",
"matchit 0.8.4",
"memchr",
"mime",
"percent-encoding",
"pin-project-lite",
"serde_core",
"sync_wrapper",
"tower 0.5.3",
"tower-layer",
"tower-service",
]
[[package]] [[package]]
name = "axum-core" name = "axum-core"
version = "0.4.5" version = "0.4.5"
@ -270,24 +245,6 @@ dependencies = [
"tower-service", "tower-service",
] ]
[[package]]
name = "axum-core"
version = "0.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08c78f31d7b1291f7ee735c1c6780ccde7785daae9a9206026862dab7d8792d1"
dependencies = [
"bytes",
"futures-core",
"http",
"http-body",
"http-body-util",
"mime",
"pin-project-lite",
"sync_wrapper",
"tower-layer",
"tower-service",
]
[[package]] [[package]]
name = "base64" name = "base64"
version = "0.21.7" version = "0.21.7"
@ -608,11 +565,9 @@ dependencies = [
"dirs", "dirs",
"futures", "futures",
"json5", "json5",
"libc",
"poc-memory", "poc-memory",
"rustls", "rustls",
"serde", "serde",
"serde_json",
"tokio", "tokio",
"tokio-rustls", "tokio-rustls",
"tokio-util", "tokio-util",
@ -629,9 +584,7 @@ dependencies = [
"capnp-rpc", "capnp-rpc",
"dirs", "dirs",
"futures", "futures",
"json5",
"poc-memory", "poc-memory",
"serde",
"tokio", "tokio",
"tokio-util", "tokio-util",
"tracing", "tracing",
@ -682,23 +635,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8030735ecb0d128428b64cd379809817e620a40e5001c54465b99ec5feec2857" checksum = "8030735ecb0d128428b64cd379809817e620a40e5001c54465b99ec5feec2857"
dependencies = [ dependencies = [
"futures-core", "futures-core",
"prost 0.13.5", "prost",
"prost-types 0.13.5", "prost-types",
"tonic 0.12.3", "tonic",
"tracing-core",
]
[[package]]
name = "console-api"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e8599749b6667e2f0c910c1d0dff6901163ff698a52d5a39720f61b5be4b20d3"
dependencies = [
"futures-core",
"prost 0.14.3",
"prost-types 0.14.3",
"tonic 0.14.5",
"tonic-prost",
"tracing-core", "tracing-core",
] ]
@ -708,47 +647,21 @@ version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6539aa9c6a4cd31f4b1c040f860a1eac9aa80e7df6b05d506a6e7179936d6a01" checksum = "6539aa9c6a4cd31f4b1c040f860a1eac9aa80e7df6b05d506a6e7179936d6a01"
dependencies = [ dependencies = [
"console-api 0.8.1", "console-api",
"crossbeam-channel", "crossbeam-channel",
"crossbeam-utils", "crossbeam-utils",
"futures-task", "futures-task",
"hdrhistogram", "hdrhistogram",
"humantime", "humantime",
"hyper-util", "hyper-util",
"prost 0.13.5", "prost",
"prost-types 0.13.5", "prost-types",
"serde", "serde",
"serde_json", "serde_json",
"thread_local", "thread_local",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
"tonic 0.12.3", "tonic",
"tracing",
"tracing-core",
"tracing-subscriber",
]
[[package]]
name = "console-subscriber"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb4915b7d8dd960457a1b6c380114c2944f728e7c65294ab247ae6b6f1f37592"
dependencies = [
"console-api 0.9.0",
"crossbeam-channel",
"crossbeam-utils",
"futures-task",
"hdrhistogram",
"humantime",
"hyper-util",
"prost 0.14.3",
"prost-types 0.14.3",
"serde",
"serde_json",
"thread_local",
"tokio",
"tokio-stream",
"tonic 0.14.5",
"tracing", "tracing",
"tracing-core", "tracing-core",
"tracing-subscriber", "tracing-subscriber",
@ -2146,7 +2059,7 @@ version = "0.3.0"
source = "git+https://evilpiepirate.org/git/jobkit.git#4aacaac22c5f59a7fbc6ce3a65708fc370e55754" source = "git+https://evilpiepirate.org/git/jobkit.git#4aacaac22c5f59a7fbc6ce3a65708fc370e55754"
dependencies = [ dependencies = [
"chrono", "chrono",
"console-subscriber 0.4.1", "console-subscriber",
"libc", "libc",
"log", "log",
"profiling", "profiling",
@ -2336,12 +2249,6 @@ version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94"
[[package]]
name = "matchit"
version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3"
[[package]] [[package]]
name = "memchr" name = "memchr"
version = "2.8.0" version = "2.8.0"
@ -2902,7 +2809,6 @@ dependencies = [
"capnpc", "capnpc",
"chrono", "chrono",
"clap", "clap",
"console-subscriber 0.5.0",
"crossterm", "crossterm",
"dirs", "dirs",
"faer", "faer",
@ -2923,13 +2829,11 @@ dependencies = [
"regex", "regex",
"reqwest", "reqwest",
"rkyv", "rkyv",
"rustls",
"serde", "serde",
"serde_json", "serde_json",
"skillratings", "skillratings",
"tiktoken-rs", "tiktoken-rs",
"tokio", "tokio",
"tokio-rustls",
"tokio-scoped", "tokio-scoped",
"tokio-util", "tokio-util",
"toml", "toml",
@ -2938,10 +2842,7 @@ dependencies = [
"tracing-subscriber", "tracing-subscriber",
"tui-markdown", "tui-markdown",
"tui-textarea-2", "tui-textarea-2",
"unicode-width",
"uuid", "uuid",
"walkdir",
"webpki-roots",
] ]
[[package]] [[package]]
@ -3067,17 +2968,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2796faa41db3ec313a31f7624d9286acf277b52de526150b7e69f3debf891ee5" checksum = "2796faa41db3ec313a31f7624d9286acf277b52de526150b7e69f3debf891ee5"
dependencies = [ dependencies = [
"bytes", "bytes",
"prost-derive 0.13.5", "prost-derive",
]
[[package]]
name = "prost"
version = "0.14.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2ea70524a2f82d518bce41317d0fae74151505651af45faf1ffbd6fd33f0568"
dependencies = [
"bytes",
"prost-derive 0.14.3",
] ]
[[package]] [[package]]
@ -3093,35 +2984,13 @@ dependencies = [
"syn 2.0.117", "syn 2.0.117",
] ]
[[package]]
name = "prost-derive"
version = "0.14.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "27c6023962132f4b30eb4c172c91ce92d933da334c59c23cddee82358ddafb0b"
dependencies = [
"anyhow",
"itertools",
"proc-macro2",
"quote",
"syn 2.0.117",
]
[[package]] [[package]]
name = "prost-types" name = "prost-types"
version = "0.13.5" version = "0.13.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "52c2c1bf36ddb1a1c396b3601a3cec27c2462e45f07c386894ec3ccf5332bd16" checksum = "52c2c1bf36ddb1a1c396b3601a3cec27c2462e45f07c386894ec3ccf5332bd16"
dependencies = [ dependencies = [
"prost 0.13.5", "prost",
]
[[package]]
name = "prost-types"
version = "0.14.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8991c4cbdb8bc5b11f0b074ffe286c30e523de90fee5ba8132f1399f23cb3dd7"
dependencies = [
"prost 0.14.3",
] ]
[[package]] [[package]]
@ -4530,7 +4399,7 @@ checksum = "877c5b330756d856ffcc4553ab34a5684481ade925ecc54bcd1bf02b1d0d4d52"
dependencies = [ dependencies = [
"async-stream", "async-stream",
"async-trait", "async-trait",
"axum 0.7.9", "axum",
"base64 0.22.1", "base64 0.22.1",
"bytes", "bytes",
"h2", "h2",
@ -4542,7 +4411,7 @@ dependencies = [
"hyper-util", "hyper-util",
"percent-encoding", "percent-encoding",
"pin-project", "pin-project",
"prost 0.13.5", "prost",
"socket2 0.5.10", "socket2 0.5.10",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
@ -4552,46 +4421,6 @@ dependencies = [
"tracing", "tracing",
] ]
[[package]]
name = "tonic"
version = "0.14.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fec7c61a0695dc1887c1b53952990f3ad2e3a31453e1f49f10e75424943a93ec"
dependencies = [
"async-trait",
"axum 0.8.8",
"base64 0.22.1",
"bytes",
"h2",
"http",
"http-body",
"http-body-util",
"hyper",
"hyper-timeout",
"hyper-util",
"percent-encoding",
"pin-project",
"socket2 0.6.2",
"sync_wrapper",
"tokio",
"tokio-stream",
"tower 0.5.3",
"tower-layer",
"tower-service",
"tracing",
]
[[package]]
name = "tonic-prost"
version = "0.14.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a55376a0bbaa4975a3f10d009ad763d8f4108f067c7c2e74f3001fb49778d309"
dependencies = [
"bytes",
"prost 0.14.3",
"tonic 0.14.5",
]
[[package]] [[package]]
name = "tower" name = "tower"
version = "0.4.13" version = "0.4.13"
@ -4620,15 +4449,11 @@ checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4"
dependencies = [ dependencies = [
"futures-core", "futures-core",
"futures-util", "futures-util",
"indexmap 2.13.0",
"pin-project-lite", "pin-project-lite",
"slab",
"sync_wrapper", "sync_wrapper",
"tokio", "tokio",
"tokio-util",
"tower-layer", "tower-layer",
"tower-service", "tower-service",
"tracing",
] ]
[[package]] [[package]]

View file

@ -38,9 +38,7 @@ peg = "0.8"
paste = "1" paste = "1"
jobkit = { git = "https://evilpiepirate.org/git/jobkit.git", features = ["daemon", "console"] } jobkit = { git = "https://evilpiepirate.org/git/jobkit.git", features = ["daemon", "console"] }
tokio = { version = "1", features = ["full", "tracing"] } tokio = { version = "1", features = ["full", "tracing"] }
console-subscriber = "0.5"
reqwest = { version = "0.13", features = ["json"] } reqwest = { version = "0.13", features = ["json"] }
walkdir = "2"
glob = "0.3" glob = "0.3"
anyhow = "1" anyhow = "1"
base64 = "0.22" base64 = "0.22"
@ -49,7 +47,6 @@ futures = "0.3"
tiktoken-rs = "0.9.1" tiktoken-rs = "0.9.1"
figment = { version = "0.10", features = ["env"] } figment = { version = "0.10", features = ["env"] }
tui-markdown = "0.3" tui-markdown = "0.3"
unicode-width = "0.2.2"
tui-textarea = { version = "0.10.2", package = "tui-textarea-2" } tui-textarea = { version = "0.10.2", package = "tui-textarea-2" }
redb = "2" redb = "2"
log = "0.4" log = "0.4"
@ -59,9 +56,6 @@ crossterm = { version = "0.29", features = ["event-stream"] }
capnp-rpc = "0.20" capnp-rpc = "0.20"
tokio-util = { version = "0.7", features = ["compat"] } tokio-util = { version = "0.7", features = ["compat"] }
toml = "0.8" toml = "0.8"
tokio-rustls = "0.26"
rustls = { version = "0.23", default-features = false, features = ["ring", "logging", "std", "tls12"] }
webpki-roots = "1"
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-appender = "0.2" tracing-appender = "0.2"

View file

@ -9,11 +9,9 @@ capnp-rpc = "0.20"
dirs = "6" dirs = "6"
futures = "0.3" futures = "0.3"
json5 = "1.3" json5 = "1.3"
libc = "0.2"
poc-memory = { path = "../.." } poc-memory = { path = "../.." }
rustls = { version = "0.23", default-features = false, features = ["ring", "logging", "std", "tls12"] } rustls = { version = "0.23", default-features = false, features = ["ring", "logging", "std", "tls12"] }
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] }
tokio-rustls = "0.26" tokio-rustls = "0.26"
tokio-util = { version = "0.7", features = ["compat"] } tokio-util = { version = "0.7", features = ["compat"] }

View file

@ -8,9 +8,7 @@ capnp = "0.20"
capnp-rpc = "0.20" capnp-rpc = "0.20"
dirs = "6" dirs = "6"
futures = "0.3" futures = "0.3"
json5 = "1.3"
poc-memory = { path = "../.." } poc-memory = { path = "../.." }
serde = { version = "1", features = ["derive"] }
tokio = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] }
tokio-util = { version = "0.7", features = ["compat"] } tokio-util = { version = "0.7", features = ["compat"] }
tracing = "0.1" tracing = "0.1"

View file

@ -5,7 +5,6 @@ edition = "2021"
[dependencies] [dependencies]
candle-core = "0.8" candle-core = "0.8"
candle-nn = "0.8"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"
anyhow = "1.0" anyhow = "1.0"

View file

@ -10,4 +10,3 @@ serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"
anyhow = "1" anyhow = "1"
clap = { version = "4", features = ["derive"] } clap = { version = "4", features = ["derive"] }
chrono = "0.4"