diff --git a/Cargo.lock b/Cargo.lock index 7869c7434d..a851f21813 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -648,13 +648,10 @@ name = "artcraft" version = "0.1.0" dependencies = [ "anyhow", - "assertor", "base64 0.22.1", "build_metadata", "bytes 1.10.0", "chrono", - "const_format", - "crockford", "directories", "dirs", "discord-rich-presence", @@ -664,9 +661,7 @@ dependencies = [ "futures 0.3.31", "image", "indexmap 2.9.0", - "libloading 0.8.6", "log", - "memory_caching", "memory_store", "mimetypes", "once_cell", @@ -677,10 +672,8 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "serde_yaml", "serial_test", "storyteller_client", - "subprocess_common", "tauri", "tauri-build", "tauri-plugin-dialog", @@ -2570,8 +2563,6 @@ dependencies = [ "easyenv", "errors", "log", - "serde", - "serde_derive", "workspace-build-acceleration", ] @@ -2852,7 +2843,6 @@ dependencies = [ name = "dimensions" version = "0.0.1" dependencies = [ - "errors", "workspace-build-acceleration", ] @@ -3225,7 +3215,6 @@ dependencies = [ "jsonpath_lib", "log", "once_cell", - "regex", "serde", "serde_json", "tokens", @@ -3579,11 +3568,9 @@ name = "fal_client" version = "0.0.1" dependencies = [ "anyhow", - "chrono", "errors", "fal", "file_to_base64_url", - "filesys", "futures 0.3.31", "reqwest 0.12.15", "serde", @@ -3663,7 +3650,6 @@ dependencies = [ "anyhow", "base64 0.22.1", "errors", - "filesys", "mimetypes", "testing", "workspace-build-acceleration", @@ -6257,7 +6243,6 @@ dependencies = [ "log", "num-traits", "once_cell", - "primitives", "rand 0.9.1", "regex", "reusable_types", @@ -6832,10 +6817,7 @@ dependencies = [ "base64 0.22.1", "chrono", "cookie 0.18.1", - "crockford", "errors", - "filesys", - "hex-literal", "idempotency", "log", "once_cell", @@ -6845,7 +6827,6 @@ dependencies = [ "serde_derive", "serde_json", "sha3", - "subprocess_common", "testing", "thiserror 2.0.12", "tokio", @@ -8152,7 +8133,6 @@ dependencies = [ "serde_derive", "serde_json", "time", - "url", "workspace-build-acceleration", ] @@ -9200,19 +9180,6 @@ dependencies = [ "syn 2.0.87", ] -[[package]] -name = "serde_yaml" -version = "0.9.34+deprecated" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" -dependencies = [ - "indexmap 2.9.0", - "itoa 1.0.11", - "ryu", - "serde", - "unsafe-libyaml", -] - [[package]] name = "serial_test" version = "3.2.0" @@ -10948,7 +10915,6 @@ dependencies = [ "sqlx-core", "sqlx-mysql", "strum", - "toml 0.8.22", "utoipa", "workspace-build-acceleration", ] @@ -11577,12 +11543,6 @@ dependencies = [ "void", ] -[[package]] -name = "unsafe-libyaml" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861" - [[package]] name = "untrusted" version = "0.9.0" diff --git a/crates/cli/production/db-backup/Cargo.toml b/crates/cli/production/db-backup/Cargo.toml index 5fcb43c62f..7d13e8fdaf 100644 --- a/crates/cli/production/db-backup/Cargo.toml +++ b/crates/cli/production/db-backup/Cargo.toml @@ -29,7 +29,3 @@ anyhow = "1.0.86" # NB: clap4 = { package = "clap", version = "4.0" } dotenv = "0.15.0" log = "0.4.14" - -# Serialization -serde = "1.0.125" -serde_derive = "1.0.125" diff --git a/crates/desktop/artcraft/Cargo.toml b/crates/desktop/artcraft/Cargo.toml index 615b478aaa..880f638aa6 100644 --- a/crates/desktop/artcraft/Cargo.toml +++ b/crates/desktop/artcraft/Cargo.toml @@ -24,17 +24,14 @@ workspace-build-acceleration = { workspace = true } # Internal build_metadata = { workspace = true } -crockford = { workspace = true } errors = { workspace = true } fal_client = { workspace = true } filesys = { workspace = true } -memory_caching = { workspace = true } memory_store = { workspace = true } mimetypes = { workspace = true } openai_sora_client = { workspace = true } primitives = { workspace = true } storyteller_client = { workspace = true } -subprocess_common = { workspace = true } tokens = { workspace = true } # External @@ -42,7 +39,6 @@ anyhow = { workspace = true } base64 = { workspace = true } bytes = "1.10" chrono = { workspace = true } -const_format = "0.2.34" directories = "6.0.0" dirs = "6.0.0" futures = "0.3" @@ -55,7 +51,6 @@ reqwest = { workspace = true, features = ["multipart", "stream"], default-featur serde = { workspace = true } serde_derive = { workspace = true } serde_json = { workspace = true } -serde_yaml = { workspace = true } tauri = { workspace = true } tauri-plugin-log = "2.3.1" tauri-plugin-upload = "2.2.1" @@ -74,9 +69,7 @@ discord-rich-presence = { git = "https://github.com/vionya/discord-rich-presence tauri-plugin-dialog = "2" [dev-dependencies] -libloading = "0.8.6" serial_test = "3.2.0" -assertor = "0.0.3" [profile.dev] incremental = true # Compile your binary in smaller steps. diff --git a/crates/lib/api_clients/fal_client/Cargo.toml b/crates/lib/api_clients/fal_client/Cargo.toml index 15a2be53fa..c2ca13ea8a 100644 --- a/crates/lib/api_clients/fal_client/Cargo.toml +++ b/crates/lib/api_clients/fal_client/Cargo.toml @@ -22,7 +22,6 @@ errors = { workspace = true } # External anyhow = { workspace = true } -chrono = { workspace = true } fal = { version = "0.3.6", features = ["endpoints"] } futures = { workspace = true } reqwest = { workspace = true } @@ -32,4 +31,3 @@ url = { workspace = true } [dev-dependencies] testing = { path = "../../testing" } -filesys = { path = "../../files/filesys" } diff --git a/crates/lib/api_clients/openai_sora_client/Cargo.toml b/crates/lib/api_clients/openai_sora_client/Cargo.toml index 0d5cba835f..26e4f779f4 100644 --- a/crates/lib/api_clients/openai_sora_client/Cargo.toml +++ b/crates/lib/api_clients/openai_sora_client/Cargo.toml @@ -17,17 +17,14 @@ path = "src/lib.rs" workspace-build-acceleration = { workspace = true } # Internal -crockford = { path = "../../data/crockford" } errors = { path = "../../errors" } idempotency = { path = "../../idempotency" } -subprocess_common = { path = "../../subprocess_common" } # External anyhow = { workspace = true } base64 = { workspace = true } chrono = { workspace = true} cookie = { workspace = true } -hex-literal = { workspace = true } log = { workspace = true } once_cell= { workspace = true } rand = { workspace = true } @@ -42,4 +39,3 @@ toml = { workspace = true } [dev-dependencies] testing = { path = "../../testing" } -filesys = { path = "../../files/filesys" } \ No newline at end of file diff --git a/crates/lib/dimensions/Cargo.toml b/crates/lib/dimensions/Cargo.toml index a09f4f5fdb..63a527ec53 100644 --- a/crates/lib/dimensions/Cargo.toml +++ b/crates/lib/dimensions/Cargo.toml @@ -18,10 +18,10 @@ normal = ["workspace-build-acceleration"] [dependencies] # Workspace hack (faster compile times) -workspace-build-acceleration = { version = "0.1", path = "../../workspace-build-acceleration" } +workspace-build-acceleration = { workspace = true } # Internal -errors = { path = "../errors" } +# (None Yet) # External # (None Yet) diff --git a/crates/lib/files/file_to_base64_url/Cargo.toml b/crates/lib/files/file_to_base64_url/Cargo.toml index 7701d7b578..1f1ae40177 100644 --- a/crates/lib/files/file_to_base64_url/Cargo.toml +++ b/crates/lib/files/file_to_base64_url/Cargo.toml @@ -26,4 +26,3 @@ mimetypes = { workspace = true } [dev-dependencies] testing = { path = "../../testing" } -filesys = { path = "../../files/filesys" } diff --git a/crates/schema/database/elasticsearch_schema/Cargo.toml b/crates/schema/database/elasticsearch_schema/Cargo.toml index 3ceb517f55..8999e0f664 100644 --- a/crates/schema/database/elasticsearch_schema/Cargo.toml +++ b/crates/schema/database/elasticsearch_schema/Cargo.toml @@ -32,7 +32,6 @@ once_cell = "1.19.0" # Serialization chrono = { version = "0.4.22", features = ["serde"] } -regex = "1.10.2" serde = { version = "1.0.152", features = ["derive"] } serde_json = "1.0.108" diff --git a/crates/schema/database/mysql_queries/Cargo.toml b/crates/schema/database/mysql_queries/Cargo.toml index 11cbe865f5..846388dcc3 100644 --- a/crates/schema/database/mysql_queries/Cargo.toml +++ b/crates/schema/database/mysql_queries/Cargo.toml @@ -25,7 +25,6 @@ composite_identifiers = { path = "../../../schema/public/composite_identifiers" enums = { workspace = true } errors = { workspace = true } idempotency = { workspace = true } -primitives = { workspace = true } reusable_types = { path = "../../../schema/public/reusable_types" } tokens = { workspace = true } diff --git a/crates/schema/database/redis_common/Cargo.toml b/crates/schema/database/redis_common/Cargo.toml index 53a072038f..6c7b1cd065 100644 --- a/crates/schema/database/redis_common/Cargo.toml +++ b/crates/schema/database/redis_common/Cargo.toml @@ -33,4 +33,3 @@ serde_json = { workspace = true } # TODO: Get rid of in favor of std::time time = "0.3.30" -url = { workspace = true } diff --git a/crates/schema/public/tokens/Cargo.toml b/crates/schema/public/tokens/Cargo.toml index 7e64a258c5..5cded76152 100644 --- a/crates/schema/public/tokens/Cargo.toml +++ b/crates/schema/public/tokens/Cargo.toml @@ -44,4 +44,3 @@ strum = { version = "0.26", features = ["derive"] } # Test serialization serde_json = { workspace = true } -toml = { workspace = true } diff --git a/crates/workspace-build-acceleration/Cargo.toml b/crates/workspace-build-acceleration/Cargo.toml index 8d64dd4553..52c59b1e87 100644 --- a/crates/workspace-build-acceleration/Cargo.toml +++ b/crates/workspace-build-acceleration/Cargo.toml @@ -60,7 +60,7 @@ log = { version = "0.4.27", default-features = false, features = ["kv_unstable", md-5 = { version = "0.10.6" } memchr = { version = "2.7.4", features = ["use_std"] } mime_guess = { version = "2.0.4" } -native-tls = { version = "0.2.14", default-features = false, features = ["vendored"] } +native-tls = { version = "0.2.14", default-features = false, features = ["alpn", "vendored"] } num-bigint = { version = "0.4.6" } num-integer = { version = "0.1.46", features = ["i128"] } num-iter = { version = "0.1.45", default-features = false, features = ["i128", "std"] } @@ -98,7 +98,7 @@ subtle = { version = "2.5.0", default-features = false, features = ["i128"] } syn-f595c2ba2a3f28df = { package = "syn", version = "2.0.87", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } tauri-utils = { version = "2.4.0", default-features = false, features = ["build", "compression", "resources"] } time = { version = "0.3.36", features = ["local-offset", "macros", "serde-well-known"] } -tokio = { version = "1.45.0", features = ["full"] } +tokio = { version = "1.45.1", features = ["full"] } tokio-stream = { version = "0.1.16", features = ["fs"] } tracing = { version = "0.1.40", features = ["log"] } unicode-bidi = { version = "0.3.15" } @@ -145,7 +145,7 @@ libc = { version = "0.2.170", features = ["extra_traits"] } log = { version = "0.4.27", default-features = false, features = ["kv_unstable", "std"] } md-5 = { version = "0.10.6" } memchr = { version = "2.7.4", features = ["use_std"] } -native-tls = { version = "0.2.14", default-features = false, features = ["vendored"] } +native-tls = { version = "0.2.14", default-features = false, features = ["alpn", "vendored"] } num-bigint = { version = "0.4.6" } num-integer = { version = "0.1.46", features = ["i128"] } num-iter = { version = "0.1.45", default-features = false, features = ["i128", "std"] } @@ -183,7 +183,7 @@ syn-f595c2ba2a3f28df = { package = "syn", version = "2.0.87", features = ["extra tauri-build = { version = "2.1.1" } tauri-utils = { version = "2.4.0", default-features = false, features = ["build", "compression", "resources"] } time-macros = { version = "0.2.18", default-features = false, features = ["formatting", "parsing", "serde"] } -tokio = { version = "1.45.0", features = ["full"] } +tokio = { version = "1.45.1", features = ["full"] } tokio-stream = { version = "0.1.16", features = ["fs"] } tracing = { version = "0.1.40", features = ["log"] } unicode-bidi = { version = "0.3.15" } @@ -199,7 +199,6 @@ hyper-dff4ba8e3ae991db = { package = "hyper", version = "1.6.0", features = ["cl hyper-rustls = { version = "0.27.3", default-features = false, features = ["http1", "http2", "native-tokio", "ring", "tls12", "webpki-tokio"] } hyper-tls = { version = "0.6.0", default-features = false, features = ["alpn"] } hyper-util = { version = "0.1.10", features = ["client-legacy", "http1", "http2"] } -native-tls = { version = "0.2.14", default-features = false, features = ["alpn"] } openssl = { version = "0.10.71", features = ["vendored"] } openssl-sys = { version = "0.9.106", default-features = false, features = ["vendored"] } rustls-pki-types = { version = "1.7.0", features = ["std"] } @@ -213,7 +212,6 @@ zstd-sys = { version = "2.0.10", default-features = false, features = ["legacy", [target.x86_64-unknown-linux-gnu.build-dependencies] getrandom-468e82937335b1c9 = { package = "getrandom", version = "0.3.1", default-features = false, features = ["std"] } heck = { version = "0.4.1", features = ["unicode"] } -native-tls = { version = "0.2.14", default-features = false, features = ["alpn"] } openssl = { version = "0.10.71", features = ["vendored"] } openssl-sys = { version = "0.9.106", default-features = false, features = ["vendored"] } socket2 = { version = "0.5.7", default-features = false, features = ["all"] } @@ -231,7 +229,6 @@ hyper-dff4ba8e3ae991db = { package = "hyper", version = "1.6.0", features = ["cl hyper-rustls = { version = "0.27.3", default-features = false, features = ["http1", "http2", "native-tokio", "ring", "tls12", "webpki-tokio"] } hyper-tls = { version = "0.6.0", default-features = false, features = ["alpn"] } hyper-util = { version = "0.1.10", features = ["client-legacy", "http1", "http2"] } -native-tls = { version = "0.2.14", default-features = false, features = ["alpn"] } quick-xml = { version = "0.32.0", features = ["serialize"] } rustls-pki-types = { version = "1.7.0", features = ["std"] } security-framework = { version = "2.10.0", features = ["alpn"] } @@ -245,7 +242,6 @@ zstd-sys = { version = "2.0.10", default-features = false, features = ["legacy", core-foundation-sys = { version = "0.8.7" } deranged = { version = "0.3.11", default-features = false, features = ["powerfmt", "serde", "std"] } getrandom-468e82937335b1c9 = { package = "getrandom", version = "0.3.1", default-features = false, features = ["std"] } -native-tls = { version = "0.2.14", default-features = false, features = ["alpn"] } quick-xml = { version = "0.32.0", features = ["serialize"] } security-framework = { version = "2.10.0", features = ["alpn"] } socket2 = { version = "0.5.7", default-features = false, features = ["all"] } @@ -262,7 +258,6 @@ hyper-dff4ba8e3ae991db = { package = "hyper", version = "1.6.0", features = ["cl hyper-rustls = { version = "0.27.3", default-features = false, features = ["http1", "http2", "native-tokio", "ring", "tls12", "webpki-tokio"] } hyper-tls = { version = "0.6.0", default-features = false, features = ["alpn"] } hyper-util = { version = "0.1.10", features = ["client-legacy", "http1", "http2"] } -native-tls = { version = "0.2.14", default-features = false, features = ["alpn"] } rustls-pki-types = { version = "1.7.0", features = ["std"] } spin = { version = "0.9.8" } tokio-util = { version = "0.7.12", features = ["codec", "io"] } @@ -284,7 +279,6 @@ hyper-rustls = { version = "0.27.3", default-features = false, features = ["http hyper-tls = { version = "0.6.0", default-features = false, features = ["alpn"] } hyper-util = { version = "0.1.10", features = ["client-legacy", "http1", "http2"] } mime_guess = { version = "2.0.4" } -native-tls = { version = "0.2.14", default-features = false, features = ["alpn"] } reqwest = { version = "0.12.15", features = ["blocking", "brotli", "cookies", "deflate", "gzip", "json", "multipart", "native-tls-alpn", "native-tls-vendored", "rustls-tls", "rustls-tls-manual-roots", "rustls-tls-native-roots", "socks", "stream", "trust-dns", "zstd"] } rustls-pki-types = { version = "1.7.0", features = ["std"] } socket2 = { version = "0.5.7", default-features = false, features = ["all"] } diff --git a/script/rust/cargo_udeps.sh b/script/rust/cargo_udeps.sh index 918a505a79..b1c28c3e9a 100755 --- a/script/rust/cargo_udeps.sh +++ b/script/rust/cargo_udeps.sh @@ -4,6 +4,7 @@ set -euxo pipefail echo 'Looking for unused dependencies' +# NB(bt,2025-05-26): Previous version was "cargo-udeps 0.1.48" # https://github.com/est31/cargo-udeps # https://stackoverflow.com/a/72082679 # Needs nightly to run