From e9037eeb6c29e2e2882346920ed2cd6c7c54ccab Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Sat, 19 Sep 2026 19:18:03 +0300 Subject: [PATCH] chore(deps): update dirs, thiserror, and remove unused dependencies Upgrade the `dirs` crate from v5 to v6 and consolidate all `thiserror` references to the v2.x line, removing the stale v1.x entries from the lock file. Also drop several unused dependencies across the workspace, including `serde_json` from tinyagents-definition, `chrono`, `reqwest`, and `sha2` from tinyagents-graph, `bytes` from tinyagents-harness, and `tinyagents-graph` from tinyagents-registry, along with the associated `windows-sys 0.48` targets that are no longer needed. Auto-committed-on: dragonfly Co-authored-by: Medulla --- Cargo.lock | 123 +++--------------------- crates/tinyagents-definition/Cargo.toml | 1 - crates/tinyagents-graph/Cargo.toml | 3 - crates/tinyagents-harness/Cargo.toml | 3 +- crates/tinyagents-registry/Cargo.toml | 3 +- 5 files changed, 17 insertions(+), 116 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 790671921..b4aac9880 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -186,23 +186,23 @@ dependencies = [ [[package]] name = "dirs" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" dependencies = [ "dirs-sys", ] [[package]] name = "dirs-sys" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.48.0", + "windows-sys 0.61.2", ] [[package]] @@ -946,7 +946,7 @@ dependencies = [ "rustc-hash", "rustls", "socket2", - "thiserror 2.0.20", + "thiserror", "tokio", "tracing", "web-time", @@ -967,7 +967,7 @@ dependencies = [ "rustls", "rustls-pki-types", "slab", - "thiserror 2.0.20", + "thiserror", "tinyvec", "tracing", "web-time", @@ -1048,13 +1048,12 @@ dependencies = [ [[package]] name = "redox_users" -version = "0.4.6" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" +checksum = "60dc65c0ff1a7ae1294b0c67b9f14baf70b644404010370171787bfac1038fc0" dependencies = [ - "getrandom 0.2.17", "libredox", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -1149,7 +1148,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c51c9ae4df8a7fba42103df5c621fa3c37eccf3a3c650879e90fc48b11cc192c" dependencies = [ "hashbrown 0.16.1", - "thiserror 2.0.20", + "thiserror", ] [[package]] @@ -1434,33 +1433,13 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "thiserror" -version = "1.0.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" -dependencies = [ - "thiserror-impl 1.0.69", -] - [[package]] name = "thiserror" version = "2.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f" dependencies = [ - "thiserror-impl 2.0.20", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.118", + "thiserror-impl", ] [[package]] @@ -1480,7 +1459,6 @@ version = "2.1.2" dependencies = [ "async-trait", "serde", - "serde_json", "tokio", ] @@ -1490,13 +1468,10 @@ version = "2.1.2" dependencies = [ "anyhow", "async-trait", - "chrono", "futures", - "reqwest", "rusqlite", "serde", "serde_json", - "sha2", "tempfile", "tinyagents-harness", "tinyagents-language", @@ -1513,7 +1488,6 @@ dependencies = [ "anyhow", "async-trait", "base64", - "bytes", "chrono", "chrono-tz", "dirs", @@ -1527,7 +1501,7 @@ dependencies = [ "serde_json", "sha2", "tempfile", - "thiserror 2.0.20", + "thiserror", "tinyagents-definition", "tinyagents-tracing", "tinyinference-embeddings", @@ -1602,7 +1576,6 @@ dependencies = [ "serde", "serde_json", "tinyagents-definition", - "tinyagents-graph", "tinyagents-harness", "tinyagents-language", "tinyinference-llm", @@ -1651,7 +1624,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "thiserror 2.0.20", + "thiserror", "tinyinference-core", "tokio", "tracing", @@ -1669,7 +1642,7 @@ dependencies = [ "serde", "serde_json", "sha2", - "thiserror 2.0.20", + "thiserror", "tinyinference-core", "tokio", "tracing", @@ -2096,15 +2069,6 @@ dependencies = [ "windows-link", ] -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.5", -] - [[package]] name = "windows-sys" version = "0.52.0" @@ -2132,21 +2096,6 @@ dependencies = [ "windows-link", ] -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", -] - [[package]] name = "windows-targets" version = "0.52.6" @@ -2180,12 +2129,6 @@ dependencies = [ "windows_x86_64_msvc 0.53.1", ] -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" - [[package]] name = "windows_aarch64_gnullvm" version = "0.52.6" @@ -2198,12 +2141,6 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - [[package]] name = "windows_aarch64_msvc" version = "0.52.6" @@ -2216,12 +2153,6 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - [[package]] name = "windows_i686_gnu" version = "0.52.6" @@ -2246,12 +2177,6 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - [[package]] name = "windows_i686_msvc" version = "0.52.6" @@ -2264,12 +2189,6 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - [[package]] name = "windows_x86_64_gnu" version = "0.52.6" @@ -2282,12 +2201,6 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" @@ -2300,12 +2213,6 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - [[package]] name = "windows_x86_64_msvc" version = "0.52.6" diff --git a/crates/tinyagents-definition/Cargo.toml b/crates/tinyagents-definition/Cargo.toml index d7ded3d44..64a154208 100644 --- a/crates/tinyagents-definition/Cargo.toml +++ b/crates/tinyagents-definition/Cargo.toml @@ -12,7 +12,6 @@ async-trait = "0.1" serde = { version = "1", features = ["derive"] } [dev-dependencies] -serde_json = "1" tokio = { version = "1", features = ["macros", "rt-multi-thread"] } [lints] diff --git a/crates/tinyagents-graph/Cargo.toml b/crates/tinyagents-graph/Cargo.toml index 5c40b27a4..80eef596f 100644 --- a/crates/tinyagents-graph/Cargo.toml +++ b/crates/tinyagents-graph/Cargo.toml @@ -10,13 +10,10 @@ description = "Durable typed state graphs for TinyAgents." [dependencies] anyhow = "1" async-trait = "0.1" -chrono = { version = "0.4", features = ["serde"] } futures = "0.3" -reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] } rusqlite = { version = "0.40", features = ["bundled"], optional = true } serde = { version = "1", features = ["derive"] } serde_json = "1" -sha2 = "0.11" tinyagents-harness = { path = "../tinyagents-harness", version = "2.1.2", default-features = false } tinyagents-language = { path = "../tinyagents-language", version = "2.1.2" } tinyagents-tracing = { path = "../tinyagents-tracing", version = "2.1.2", default-features = false } diff --git a/crates/tinyagents-harness/Cargo.toml b/crates/tinyagents-harness/Cargo.toml index 73ca252ee..165db73cf 100644 --- a/crates/tinyagents-harness/Cargo.toml +++ b/crates/tinyagents-harness/Cargo.toml @@ -13,12 +13,11 @@ async-trait = "0.1" # Keep this aligned with reqwest's transitive version. Claude Code request # rendering and multimodal data URIs both require it. base64 = "0.22" -bytes = "1" chrono = { version = "0.4", features = ["serde"] } chrono-tz = { version = "0.10", optional = true } flate2 = { version = "1", optional = true } futures = "0.3" -dirs = "5" +dirs = "6" log = "0.4" regex = "1" reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "stream", "http2"] } diff --git a/crates/tinyagents-registry/Cargo.toml b/crates/tinyagents-registry/Cargo.toml index 7b3e7701a..b3834cc7e 100644 --- a/crates/tinyagents-registry/Cargo.toml +++ b/crates/tinyagents-registry/Cargo.toml @@ -11,7 +11,6 @@ description = "Named capability registry and offline model catalog." anyhow = "1" serde = { version = "1", features = ["derive"] } serde_json = "1" -tinyagents-graph = { path = "../tinyagents-graph", version = "2.1.2" } tinyagents-definition = { path = "../tinyagents-definition", version = "2.1.2" } tinyagents-harness = { path = "../tinyagents-harness", version = "2.1.2", default-features = false } tinyagents-language = { path = "../tinyagents-language", version = "2.1.2" } @@ -20,7 +19,7 @@ tinytools = { path = "../../vendor/tinytools/crates/tinytools", version = "0.2.0 [features] default = [] -tracing = ["tinyagents-graph/tracing", "tinyagents-harness/tracing"] +tracing = ["tinyagents-harness/tracing"] [dev-dependencies] async-trait = "0.1"