diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83e958d98fd..9e9d5003fef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1627,3 +1627,29 @@ jobs: # - name: Print rows in the user table # if: always() # run: spacetime sql quickstart-chat "SELECT * FROM user" + + dep_check: + needs: [merge_queue_noop] + if: ${{ needs.merge_queue_noop.outputs.skip != 'true' }} + name: Dependency Check + runs-on: spacetimedb-new-runner-2 + env: + CARGO_TARGET_DIR: ${{ github.workspace }}/target + RUST_BACKTRACE: full + steps: + - name: Checkout sources + uses: actions/checkout@v4 + + - uses: dsherret/rust-toolchain-file@v1 + - name: Set default rust toolchain + run: rustup default $(rustup show active-toolchain | cut -d' ' -f1) + - run: echo ::add-matcher::.github/workflows/rust_matcher.json + + - name: Install Rust 1.95 for cargo-shear + run: rustup toolchain install 1.95.0 --profile minimal + + - name: Install cargo-shear + run: cargo +1.95.0 install cargo-shear --locked + + - name: Run dependency check + run: cargo ci dep-check diff --git a/Cargo.lock b/Cargo.lock index 51c3f9978a0..2d2ea7a1c05 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -156,12 +156,6 @@ dependencies = [ "backtrace", ] -[[package]] -name = "anymap" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33954243bd79057c2de7338850b85983a44588021f8a5fee574a8888c6de4344" - [[package]] name = "anymap3" version = "1.0.1" @@ -216,21 +210,6 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" -[[package]] -name = "assert_cmd" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcbb6924530aa9e0432442af08bbcafdad182db80d2e560da42a6d442535bf85" -dependencies = [ - "anstyle", - "bstr", - "libc", - "predicates", - "predicates-core", - "predicates-tree", - "wait-timeout", -] - [[package]] name = "async-channel" version = "2.5.0" @@ -480,7 +459,6 @@ dependencies = [ name = "benchmarks-module" version = "0.1.0" dependencies = [ - "anyhow", "spacetimedb", ] @@ -641,7 +619,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "63044e1ae8e69f3b5a92c736ca6269b8d12fa7efe39bf34ddb06d102cf0e2cab" dependencies = [ "memchr", - "regex-automata", "serde", ] @@ -654,16 +631,6 @@ dependencies = [ "allocator-api2", ] -[[package]] -name = "byte-unit" -version = "4.0.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da78b32057b8fdfc352504708feeba7216dcd65a2c9ab02978cbd288d1279b6c" -dependencies = [ - "serde", - "utf8-width", -] - [[package]] name = "bytecheck" version = "0.6.12" @@ -954,6 +921,15 @@ dependencies = [ "serde_json", ] +[[package]] +name = "ci-dep-check" +version = "0.1.0" +dependencies = [ + "anyhow", + "ci-common", + "duct", +] + [[package]] name = "ci-docs-build" version = "0.1.0" @@ -1680,31 +1656,6 @@ version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" -[[package]] -name = "crossterm" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64e6c0fbe2c17357405f7c758c1ef960fce08bdfb2c03d88d2a18d7e09c4b67" -dependencies = [ - "bitflags 1.3.2", - "crossterm_winapi", - "libc", - "mio 0.8.11", - "parking_lot 0.12.5", - "signal-hook", - "signal-hook-mio", - "winapi", -] - -[[package]] -name = "crossterm_winapi" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b" -dependencies = [ - "winapi", -] - [[package]] name = "crunchy" version = "0.2.4" @@ -1730,45 +1681,6 @@ dependencies = [ "smallvec", ] -[[package]] -name = "cursive" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5438eb16bdd8af51b31e74764fef5d0a9260227a5ec82ba75c9d11ce46595839" -dependencies = [ - "ahash 0.8.12", - "cfg-if", - "crossbeam-channel", - "crossterm", - "cursive_core", - "lazy_static", - "libc", - "log", - "signal-hook", - "unicode-segmentation", - "unicode-width 0.1.14", -] - -[[package]] -name = "cursive_core" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4db3b58161228d0dcb45c7968c5e74c3f03ad39e8983e58ad7d57061aa2cd94d" -dependencies = [ - "ahash 0.8.12", - "crossbeam-channel", - "enum-map", - "enumset", - "lazy_static", - "log", - "num", - "owning_ref", - "time", - "unicode-segmentation", - "unicode-width 0.1.14", - "xi-unicode", -] - [[package]] name = "custom_debug" version = "0.5.1" @@ -2123,15 +2035,6 @@ version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" -[[package]] -name = "email_address" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e079f19b08ca6239f47f8ba8509c11cf3ea30095831f7fed61441475edd8c449" -dependencies = [ - "serde", -] - [[package]] name = "embedded-io" version = "0.4.0" @@ -2216,27 +2119,6 @@ dependencies = [ "syn 2.0.107", ] -[[package]] -name = "enumset" -version = "1.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25b07a8dfbbbfc0064c0a6bdf9edcf966de6b1c33ce344bdeca3b41615452634" -dependencies = [ - "enumset_derive", -] - -[[package]] -name = "enumset_derive" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43e744e4ea338060faee68ed933e46e722fb7f3617e722a5772d7e856d8b3ce" -dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn 2.0.107", -] - [[package]] name = "env_filter" version = "0.1.4" @@ -3063,17 +2945,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "hostname" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" -dependencies = [ - "libc", - "match_cfg", - "winapi", -] - [[package]] name = "http" version = "0.2.12" @@ -3292,25 +3163,8 @@ name = "iai-callgrind-runner" version = "0.8.0" source = "git+https://github.com/clockworklabs/iai-callgrind.git?branch=main#3e78f68534bbe389e0fb00f729a6a7b877627a06" dependencies = [ - "anyhow", - "bincode", - "cargo_metadata", - "clap 3.2.23", - "colored", - "env_logger 0.10.2", - "glob", - "indexmap 1.9.3", - "inferno 0.11.21", "lazy_static", - "log", - "regex", - "sanitize-filename", "serde", - "serde_json", - "shlex", - "tempfile", - "version-compare", - "which 4.4.2", ] [[package]] @@ -3519,15 +3373,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "imara-diff" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17d34b7d42178945f775e84bc4c36dde7c1c6cdfea656d3354d009056f2bb3d2" -dependencies = [ - "hashbrown 0.15.5", -] - [[package]] name = "indexmap" version = "1.9.3" @@ -3573,26 +3418,6 @@ dependencies = [ "cfb", ] -[[package]] -name = "inferno" -version = "0.11.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "232929e1d75fe899576a3d5c7416ad0d88dbfbb3c3d6aa00873a7408a50ddb88" -dependencies = [ - "ahash 0.8.12", - "crossbeam-channel", - "crossbeam-utils", - "dashmap 6.1.0", - "is-terminal", - "itoa", - "log", - "num-format", - "once_cell", - "quick-xml 0.26.0", - "rgb", - "str_stack", -] - [[package]] name = "inferno" version = "0.12.3" @@ -3886,7 +3711,6 @@ dependencies = [ name = "keynote-benchmarks" version = "0.1.0" dependencies = [ - "log", "spacetimedb", ] @@ -4171,12 +3995,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "match_cfg" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" - [[package]] name = "matchers" version = "0.2.0" @@ -4263,18 +4081,6 @@ dependencies = [ "simd-adler32", ] -[[package]] -name = "mio" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" -dependencies = [ - "libc", - "log", - "wasi", - "windows-sys 0.48.0", -] - [[package]] name = "mio" version = "1.1.0" @@ -4527,7 +4333,7 @@ dependencies = [ "kqueue", "libc", "log", - "mio 1.1.0", + "mio", "notify-types", "walkdir", "windows-sys 0.52.0", @@ -4661,15 +4467,6 @@ dependencies = [ "libc", ] -[[package]] -name = "num_threads" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" -dependencies = [ - "libc", -] - [[package]] name = "number_prefix" version = "0.4.0" @@ -4832,15 +4629,6 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e" -[[package]] -name = "owning_ref" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ff55baddef9e4ad00f88b6c743a2a8062d4c6ade126c2a528644b8e444d52ce" -dependencies = [ - "stable_deref_trait", -] - [[package]] name = "owo-colors" version = "3.5.0" @@ -5485,7 +5273,6 @@ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" name = "perf-test-module" version = "0.1.0" dependencies = [ - "log", "spacetimedb", ] @@ -5554,17 +5341,6 @@ dependencies = [ "serde", ] -[[package]] -name = "pg_interval" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ceff720b1579b383347d48e5df5f604042adaa6a06f640b1f1e3c065f40766d" -dependencies = [ - "bytes", - "chrono", - "postgres-types", -] - [[package]] name = "pgwire" version = "0.37.0" @@ -5738,15 +5514,6 @@ version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" -[[package]] -name = "portpicker" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be97d76faf1bfab666e1375477b23fde79eccf0276e9b63b92a39d676a889ba9" -dependencies = [ - "rand 0.8.5", -] - [[package]] name = "postcard" version = "1.1.3" @@ -5759,18 +5526,6 @@ dependencies = [ "serde", ] -[[package]] -name = "postgres-derive" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56df96f5394370d1b20e49de146f9e6c25aa9ae750f449c9d665eafecb3ccae6" -dependencies = [ - "heck 0.5.0", - "proc-macro2", - "quote", - "syn 2.0.107", -] - [[package]] name = "postgres-protocol" version = "0.6.9" @@ -5799,7 +5554,6 @@ dependencies = [ "bytes", "chrono", "fallible-iterator 0.2.0", - "postgres-derive", "postgres-protocol", "serde_core", "serde_json", @@ -5830,7 +5584,7 @@ dependencies = [ "anyhow", "backtrace", "flate2", - "inferno 0.12.3", + "inferno", "num", "paste", "prost", @@ -5865,16 +5619,6 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "727e462b119fe9c93fd0eb1429a5f7647394014cf3c04ab2c0350eeb09095ffa" -[[package]] -name = "predicates-tree" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72dd2d6d381dfb73a193c7fca536518d7caee39fc8503f74e7dc0be0531b425c" -dependencies = [ - "predicates-core", - "termtree", -] - [[package]] name = "pretty_assertions" version = "1.4.1" @@ -6155,15 +5899,6 @@ dependencies = [ "uuid", ] -[[package]] -name = "quick-xml" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f50b1c63b38611e7d4d7f68b82d3ad0cc71a2ad2e7f61fc10f1328d917c93cd" -dependencies = [ - "memchr", -] - [[package]] name = "quick-xml" version = "0.31.0" @@ -6522,7 +6257,6 @@ version = "0.1.0" dependencies = [ "clap 4.5.50", "ignore", - "memchr", "regex", ] @@ -6776,7 +6510,7 @@ dependencies = [ "inotify 0.11.0", "kqueue", "libc", - "mio 1.1.0", + "mio", "objc2-core-foundation", "objc2-core-services", "rolldown-notify-types", @@ -7282,16 +7016,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "sanitize-filename" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ed72fbaf78e6f2d41744923916966c4fbe3d7c74e3037a8ee482f1115572603" -dependencies = [ - "lazy_static", - "regex", -] - [[package]] name = "schannel" version = "0.1.28" @@ -7341,7 +7065,6 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" name = "sdk-test-case-conversion" version = "0.1.0" dependencies = [ - "log", "spacetimedb", ] @@ -7357,7 +7080,6 @@ name = "sdk-test-module" version = "0.1.0" dependencies = [ "anyhow", - "log", "paste", "spacetimedb", ] @@ -7373,9 +7095,7 @@ dependencies = [ name = "sdk-test-procedure-concurrency-module" version = "0.1.0" dependencies = [ - "anyhow", "log", - "paste", "spacetimedb", ] @@ -7383,9 +7103,6 @@ dependencies = [ name = "sdk-test-procedure-module" version = "0.1.0" dependencies = [ - "anyhow", - "log", - "paste", "spacetimedb", ] @@ -7393,9 +7110,6 @@ dependencies = [ name = "sdk-test-view" version = "0.1.0" dependencies = [ - "anyhow", - "log", - "paste", "spacetimedb", ] @@ -7718,17 +7432,6 @@ dependencies = [ "signal-hook-registry", ] -[[package]] -name = "signal-hook-mio" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34db1a06d485c9142248b7a054f034b349b212551f3dfd19c94d45a754a217cd" -dependencies = [ - "libc", - "mio 0.8.11", - "signal-hook", -] - [[package]] name = "signal-hook-registry" version = "1.4.6" @@ -7875,7 +7578,6 @@ dependencies = [ name = "spacetime-module" version = "0.1.0" dependencies = [ - "log", "spacetimedb", ] @@ -7886,13 +7588,11 @@ dependencies = [ "anyhow", "bytemuck", "bytes", - "derive_more 0.99.20", "getrandom 0.2.16", "http 1.3.1", "insta", "log", "rand 0.8.5", - "scoped-tls", "serde_json", "spacetimedb-bindings-macro", "spacetimedb-bindings-sys", @@ -7921,17 +7621,12 @@ version = "2.8.1" dependencies = [ "ahash 0.8.12", "anyhow", - "anymap", - "byte-unit", "clap 4.5.50", "convert_case 0.6.0", "criterion", "foldhash 0.2.0", - "futures", "hashbrown 0.16.1", "iai-callgrind", - "iai-callgrind-macros", - "iai-callgrind-runner", "itertools 0.12.1", "lazy_static", "log", @@ -7943,7 +7638,6 @@ dependencies = [ "serde_json", "serial_test", "smallvec", - "spacetimedb-client-api", "spacetimedb-client-api-messages", "spacetimedb-core", "spacetimedb-data-structures", @@ -7955,11 +7649,9 @@ dependencies = [ "spacetimedb-query", "spacetimedb-sats", "spacetimedb-schema", - "spacetimedb-standalone", "spacetimedb-table", "spacetimedb-testing", "tempdir", - "tikv-jemalloc-ctl", "tikv-jemallocator", "tokio", "tracing-subscriber", @@ -7974,7 +7666,6 @@ dependencies = [ "humantime", "proc-macro2", "quote", - "spacetimedb-primitives", "syn 2.0.107", ] @@ -8001,10 +7692,7 @@ dependencies = [ "dialoguer", "dirs", "duct", - "email_address", - "flate2", "fs-err", - "fs_extra", "futures", "git2", "glob", @@ -8020,7 +7708,6 @@ dependencies = [ "path-clean", "percent-encoding", "pretty_assertions", - "quick-xml 0.31.0", "regex", "reqwest 0.12.24", "rolldown", @@ -8031,7 +7718,6 @@ dependencies = [ "serde", "serde_json", "serde_with", - "slab", "spacetimedb-auth", "spacetimedb-client-api-messages", "spacetimedb-codegen", @@ -8040,22 +7726,18 @@ dependencies = [ "spacetimedb-jsonwebtoken", "spacetimedb-lib", "spacetimedb-paths", - "spacetimedb-primitives", "spacetimedb-schema", "syntect", "tabled", - "tar", "tempfile", "termcolor", "termtree", "thiserror 1.0.69", - "tikv-jemalloc-ctl", "tikv-jemallocator", "tokio", "tokio-tungstenite 0.27.0", "toml 0.8.23", "toml_edit 0.22.27", - "tracing", "walkdir", "wasmbin", "webbrowser", @@ -8075,10 +7757,8 @@ dependencies = [ "base64 0.21.7", "bytes", "bytestring", - "chrono", "crossbeam-queue", "derive_more 0.99.20", - "email_address", "futures", "headers", "http 1.3.1", @@ -8086,16 +7766,13 @@ dependencies = [ "humantime", "hyper 1.7.0", "hyper-util", - "itoa", "jemalloc_pprof", - "lazy_static", "log", "mime", "pretty_assertions", "prometheus", "proptest", "rand 0.9.2", - "regex", "scopeguard", "serde", "serde_json", @@ -8108,16 +7785,12 @@ dependencies = [ "spacetimedb-lib", "spacetimedb-paths", "spacetimedb-schema", - "tempfile", "thiserror 1.0.69", "tokio", - "tokio-stream", "tokio-tungstenite 0.27.0", "toml 0.8.23", "tower", "tower-http 0.5.2", - "tower-layer", - "tower-service", "tracing", "uuid", ] @@ -8128,7 +7801,6 @@ version = "2.8.1" dependencies = [ "bytes", "bytestring", - "chrono", "derive_more 0.99.20", "enum-as-inner", "hex", @@ -8141,7 +7813,6 @@ dependencies = [ "spacetimedb-lib", "spacetimedb-primitives", "spacetimedb-sats", - "strum", "thiserror 1.0.69", ] @@ -8195,7 +7866,6 @@ dependencies = [ "tokio", "tokio-stream", "tokio-util", - "zstd-framed", ] [[package]] @@ -8203,11 +7873,9 @@ name = "spacetimedb-core" version = "2.8.1" dependencies = [ "anyhow", - "arrayvec", "async-trait", "async_cache", "axum", - "backtrace", "base64 0.21.7", "blake3", "brotli", @@ -8216,28 +7884,17 @@ dependencies = [ "bytestring", "chrono", "core_affinity", - "criterion", - "crossbeam-channel", "crossbeam-queue", "deno_core_icudata", "derive_more 0.99.20", - "dirs", - "enum-as-inner", "enum-map", - "env_logger 0.10.2", "faststr", "flate2", - "fs2", - "fs_extra", "futures", "futures-util", - "hex", - "hostname", "http 1.3.1", "http-body-util", "humantime", - "hyper 1.7.0", - "imara-diff", "indexmap 2.12.0", "itertools 0.12.1", "lazy_static", @@ -8248,13 +7905,10 @@ dependencies = [ "once_cell", "openssl", "parking_lot 0.12.5", - "paste", "pin-project-lite", "pretty_assertions", "prometheus", "proptest", - "proptest-derive", - "rand 0.9.2", "rayon", "rayon-core", "regex", @@ -8267,10 +7921,7 @@ dependencies = [ "serde_json", "serde_path_to_error", "serde_with", - "sha1", - "similar", "slab", - "sled", "smallvec", "sourcemap", "spacetimedb-auth", @@ -8282,7 +7933,6 @@ dependencies = [ "spacetimedb-engine", "spacetimedb-execution", "spacetimedb-expr", - "spacetimedb-fs-utils", "spacetimedb-jsonwebtoken", "spacetimedb-jwks", "spacetimedb-lib", @@ -8295,17 +7945,12 @@ dependencies = [ "spacetimedb-runtime", "spacetimedb-sats", "spacetimedb-schema", - "spacetimedb-snapshot", "spacetimedb-subscription", "spacetimedb-table", - "sqlparser", "strum", - "tabled", "tempfile", - "thin-vec", "thiserror 1.0.69", "tikv-jemalloc-ctl", - "tikv-jemallocator", "tokio", "tokio-metrics", "tokio-stream", @@ -8315,12 +7960,9 @@ dependencies = [ "tracing-appender", "tracing-core", "tracing-flame", - "tracing-log 0.1.4", "tracing-subscriber", "tracing-tracy", "url", - "urlencoding", - "uuid", "v8", "wasmtime", "wasmtime-internal-fiber", @@ -8349,7 +7991,6 @@ dependencies = [ "anyhow", "bytes", "derive_more 0.99.20", - "enum-as-inner", "enum-map", "itertools 0.12.1", "lazy_static", @@ -8366,7 +8007,6 @@ dependencies = [ "spacetimedb-execution", "spacetimedb-lib", "spacetimedb-metrics", - "spacetimedb-paths", "spacetimedb-primitives", "spacetimedb-sats", "spacetimedb-schema", @@ -8382,7 +8022,6 @@ name = "spacetimedb-dst-lib" version = "2.8.1" dependencies = [ "anyhow", - "clap 4.5.50", "spacetimedb-commitlog", "spacetimedb-datastore", "spacetimedb-durability", @@ -8394,7 +8033,6 @@ dependencies = [ "spacetimedb-schema", "spacetimedb-table", "tracing", - "tracing-subscriber", ] [[package]] @@ -8411,7 +8049,6 @@ dependencies = [ "spacetimedb-fs-utils", "spacetimedb-paths", "spacetimedb-runtime", - "spacetimedb-sats", "tempfile", "thiserror 1.0.69", "tokio", @@ -8471,7 +8108,6 @@ dependencies = [ "spacetimedb-physical-plan", "spacetimedb-primitives", "spacetimedb-sats", - "spacetimedb-sql-parser", "spacetimedb-table", ] @@ -8481,8 +8117,6 @@ version = "2.8.1" dependencies = [ "anyhow", "bigdecimal", - "bytes", - "derive_more 0.99.20", "ethnum", "pretty_assertions", "spacetimedb", @@ -8515,7 +8149,6 @@ dependencies = [ name = "spacetimedb-guard" version = "2.8.1" dependencies = [ - "portpicker", "reqwest 0.12.24", "tempfile", ] @@ -8564,17 +8197,11 @@ name = "spacetimedb-lib" version = "2.8.1" dependencies = [ "anyhow", - "bitflags 2.10.0", "blake3", - "bytes", - "chrono", "derive_more 0.99.20", - "enum-as-inner", "enum-map", "hex", "insta", - "itertools 0.12.1", - "log", "proptest", "proptest-derive", "ron", @@ -8585,7 +8212,6 @@ dependencies = [ "spacetimedb-metrics", "spacetimedb-primitives", "spacetimedb-sats", - "thiserror 1.0.69", ] [[package]] @@ -8678,17 +8304,12 @@ name = "spacetimedb-query" version = "2.8.1" dependencies = [ "anyhow", - "itertools 0.12.1", - "rayon", - "spacetimedb-client-api-messages", "spacetimedb-execution", "spacetimedb-expr", "spacetimedb-lib", "spacetimedb-physical-plan", "spacetimedb-primitives", "spacetimedb-schema", - "spacetimedb-sql-parser", - "spacetimedb-table", ] [[package]] @@ -8735,7 +8356,6 @@ dependencies = [ "ahash 0.8.12", "anyhow", "arrayvec", - "bitflags 2.10.0", "blake3", "bytemuck", "bytes", @@ -8780,7 +8400,6 @@ dependencies = [ "lean_string", "petgraph 0.6.5", "proptest", - "serde_json", "serial_test", "smallvec", "spacetimedb-data-structures", @@ -8788,7 +8407,6 @@ dependencies = [ "spacetimedb-memory-usage", "spacetimedb-primitives", "spacetimedb-sats", - "spacetimedb-sql-parser", "spacetimedb-testing", "termcolor", "thiserror 1.0.69", @@ -8801,10 +8419,8 @@ name = "spacetimedb-sdk" version = "2.8.1" dependencies = [ "anymap3", - "base64 0.21.7", "brotli", "bytes", - "cursive", "flate2", "futures", "futures-channel", @@ -8813,7 +8429,6 @@ dependencies = [ "gloo-net", "gloo-storage", "gloo-utils", - "hex", "home", "http 1.3.1", "js-sys", @@ -8821,7 +8436,6 @@ dependencies = [ "native-tls", "once_cell", "prometheus", - "rand 0.9.2", "shlex", "spacetimedb-client-api-messages", "spacetimedb-data-structures", @@ -8829,7 +8443,6 @@ dependencies = [ "spacetimedb-metrics", "spacetimedb-query-builder", "spacetimedb-sats", - "spacetimedb-schema", "spacetimedb-testing", "thiserror 1.0.69", "tokio", @@ -8845,7 +8458,6 @@ name = "spacetimedb-smoketests" version = "2.8.1" dependencies = [ "anyhow", - "assert_cmd", "cargo_metadata", "fs_extra", "predicates", @@ -8872,7 +8484,6 @@ dependencies = [ "crossbeam-queue", "env_logger 0.10.2", "futures", - "hex", "log", "pretty_assertions", "rand 0.9.2", @@ -8901,7 +8512,6 @@ dependencies = [ name = "spacetimedb-sql-parser" version = "2.8.1" dependencies = [ - "derive_more 0.99.20", "spacetimedb-lib", "sqlparser", "thiserror 1.0.69", @@ -8915,17 +8525,12 @@ dependencies = [ "async-trait", "axum", "clap 4.5.50", - "dirs", - "futures", - "hostname", "http 1.3.1", "log", "netstat2", "once_cell", - "openssl", "parse-size", "prometheus", - "scopeguard", "serde", "serde_json", "sled", @@ -8941,12 +8546,9 @@ dependencies = [ "spacetimedb-table", "tempfile", "thiserror 1.0.69", - "tikv-jemalloc-ctl", "tikv-jemallocator", "tokio", "toml 0.8.23", - "tower-http 0.5.2", - "tracing", ] [[package]] @@ -8972,7 +8574,6 @@ dependencies = [ "blake3", "bytemuck", "criterion", - "crossbeam-queue", "decorum", "derive_more 0.99.20", "enum-as-inner", @@ -9020,7 +8621,6 @@ dependencies = [ "spacetimedb-standalone", "tempfile", "tokio", - "wasmbin", ] [[package]] @@ -9045,7 +8645,6 @@ dependencies = [ "tar", "tempfile", "tokio", - "toml 0.8.23", "tracing", "windows-sys 0.59.0", "zip", @@ -9081,29 +8680,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "sqllogictest-engines" -version = "0.17.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec8b8bc26d3d9cf2e273bef46f4e9a90a451cf12f5a6d593b2e4fb86b44eb145" -dependencies = [ - "async-trait", - "bytes", - "chrono", - "futures", - "log", - "pg_interval", - "postgres-types", - "rust_decimal", - "serde", - "serde_json", - "sqllogictest", - "thiserror 1.0.69", - "tokio", - "tokio-postgres", - "tokio-util", -] - [[package]] name = "sqlparser" version = "0.38.0" @@ -9124,10 +8700,8 @@ dependencies = [ "console", "derive_more 0.99.20", "fs-err", - "futures", "glob", "itertools 0.12.1", - "parking_lot 0.12.5", "postgres-types", "quick-junit", "rusqlite", @@ -9136,7 +8710,6 @@ dependencies = [ "spacetimedb-lib", "spacetimedb-sats", "sqllogictest", - "sqllogictest-engines", "tempfile", "tokio", "tokio-postgres", @@ -9552,7 +9125,6 @@ name = "test-counter" version = "2.8.1" dependencies = [ "anyhow", - "futures", "gloo-timers", "spacetimedb-data-structures", ] @@ -9671,9 +9243,7 @@ checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" dependencies = [ "deranged", "itoa", - "libc", "num-conv", - "num_threads", "powerfmt", "serde", "time-core", @@ -9752,7 +9322,7 @@ dependencies = [ "backtrace", "bytes", "libc", - "mio 1.1.0", + "mio", "parking_lot 0.12.5", "pin-project-lite", "signal-hook-registry", @@ -10131,17 +9701,6 @@ dependencies = [ "tracing-subscriber", ] -[[package]] -name = "tracing-log" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" -dependencies = [ - "log", - "once_cell", - "tracing-core", -] - [[package]] name = "tracing-log" version = "0.2.0" @@ -10180,7 +9739,7 @@ dependencies = [ "thread_local", "tracing", "tracing-core", - "tracing-log 0.2.0", + "tracing-log", "tracing-serde", ] @@ -10313,8 +9872,6 @@ checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" name = "typescript-test-app" version = "0.1.0" dependencies = [ - "anyhow", - "log", "spacetimedb", ] @@ -10322,8 +9879,6 @@ dependencies = [ name = "typescript-test-react-router-app" version = "0.1.0" dependencies = [ - "anyhow", - "log", "spacetimedb", ] @@ -10331,8 +9886,6 @@ dependencies = [ name = "typescript-test-solid-router-app" version = "0.1.0" dependencies = [ - "anyhow", - "log", "spacetimedb", ] @@ -10441,12 +9994,6 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" -[[package]] -name = "utf8-width" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86bd8d4e895da8537e5315b8254664e6b769c4ff3db18321b297a1e7004392e3" - [[package]] name = "utf8_iter" version = "1.0.4" @@ -10511,12 +10058,6 @@ version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" -[[package]] -name = "version-compare" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "579a42fc0b8e0c63b76519a339be31bed574929511fa53c1a3acae26eb258f29" - [[package]] name = "version_check" version = "0.9.5" @@ -11036,18 +10577,6 @@ dependencies = [ "web-sys", ] -[[package]] -name = "which" -version = "4.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" -dependencies = [ - "either", - "home", - "once_cell", - "rustix 0.38.44", -] - [[package]] name = "which" version = "6.0.3" @@ -11700,12 +11229,6 @@ version = "2.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "213b7324336b53d2414b2db8537e56544d981803139155afa84f76eeebb7a546" -[[package]] -name = "xi-unicode" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a67300977d3dc3f8034dae89778f502b6ba20b269527b3223ba59c0cf393bb8a" - [[package]] name = "xml-rs" version = "0.8.28" diff --git a/Cargo.toml b/Cargo.toml index 00f179fcf77..446c12435bd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -75,6 +75,7 @@ members = [ "tools/ci/commands/keynote-bench", "tools/ci/commands/update-flow", "tools/ci/commands/cli-docs", + "tools/ci/commands/dep-check", "tools/ci/commands/global-json-policy", "tools/ci/commands/publish-checks", "tools/ci/commands/typescript-test", @@ -184,20 +185,17 @@ spacetimedb-table = { path = "crates/table", version = "=2.8.1" } # from appearing in module dependency graphs. ahash = { version = "0.8", default-features = false, features = ["std"] } anyhow = "1.0.68" -anymap = "0.12" arrayvec = "0.7.2" async-channel = "2.5" async-stream = "0.3.6" async-trait = "0.1.68" axum = { version = "0.7", features = ["tracing", "http2"] } axum-extra = { version = "0.9", features = ["typed-header"] } -backtrace = "0.3.66" base64 = "0.21.2" bigdecimal = "0.4.7" bitflags = "2.3.3" blake3 = "1.5.1" brotli = "3.5" -byte-unit = "4.0.18" bytemuck = { version = "1.16.2", features = ["must_cast"] } bytes = "1.10.1" bytestring = { version = "1.2.0", features = ["serde"] } @@ -210,16 +208,13 @@ console = { version = "0.15.6" } convert_case = "0.6.0" crc32c = "0.6.4" criterion = { version = "0.5.1", features = ["async", "async_tokio", "html_reports"] } -crossbeam-channel = "0.5" crossbeam-queue = "0.3.12" -cursive = { version = "0.20", default-features = false, features = ["crossterm-backend"] } decorum = { version = "0.3.1", default-features = false, features = ["std"] } derive_more = "0.99" dialoguer = { version = "0.11", default-features = false } dirs = "5.0.1" duct = "0.13.5" either = "1.9" -email_address = "0.2.4" enum-as-inner = "0.6" enum-map = "2.6.3" env_logger = "0.10" @@ -240,14 +235,12 @@ headers = "0.4" heck = "0.4" hex = "0.4.3" home = "0.5" -hostname = "^0.3" http = "1.0" http-body-util= "0.1.3" humantime = "2.3" hyper = "1.0" hyper-util = { version = "0.1", features = ["tokio"] } ignore = "0.4" -imara-diff = "0.1.3" indexmap = "2.0.0" indicatif = "0.17" insta = { version = "1.21.0", features = ["toml", "filters"] } @@ -283,11 +276,9 @@ prometheus = "0.14.0" proptest = "1.4" proptest-derive = "0.5" quick-junit = { version = "0.3.2" } -quick-xml = "0.31" quote = "1.0.8" rand08 = { package = "rand", version = "0.8" } rand = "0.9" -rand_distr = "0.5.1" rayon = "1.8" rayon-core = "1.11.0" regex = "1" @@ -302,7 +293,6 @@ rust_decimal = { version = "1.29.1", features = ["db-tokio-postgres"] } rustc-demangle = "0.1.21" rustc-hash = "2" rustyline = { version = "12.0.0", features = [] } -scoped-tls = "1.0.1" scopeguard = "1.1.0" second-stack = "0.3" self-replace = "1.5" @@ -312,16 +302,13 @@ serde_json = { version = "1.0.128", features = ["raw_value"] } serde_path_to_error = "0.1.9" serde_with = { version = "3.3.0", features = ["base64", "hex"] } serial_test = "2.0.0" -sha1 = "0.10.1" sha3 = "0.10.0" -similar = "2.3" slab = "0.4.7" sled = "0.34.7" smallvec = { version = "1.11", features = ["union", "const_generics"] } socket2 = "0.5" sourcemap = "9.3.1" sqllogictest = "0.17" -sqllogictest-engines = "0.17" sqlparser = "0.38.0" strum = { version = "0.25.0", features = ["derive"] } syn = { version = "2", features = ["full", "extra-traits"] } @@ -335,7 +322,6 @@ termtree = "0.5.1" thin-vec = "0.2.13" thiserror = "1.0.37" tokio = { version = "1.37", features = ["full"] } -tokio_metrics = { version = "0.4.0" } tokio-postgres = { version = "0.7.8", features = ["with-chrono-0_4"] } tokio-stream = "0.1.17" tokio-tungstenite = { version = "0.27.0", features = ["native-tls", "url"] } @@ -343,16 +329,12 @@ tokio-util = { version = "0.7.4", features = ["time"] } toml = "0.8" toml_edit = "0.22.22" tower-http = { version = "0.5", features = ["cors"] } -tower-layer = "0.3" -tower-service = "0.3" tracing = "0.1.37" tracing-appender = "0.2.2" tracing-core = "0.1.31" tracing-flame = "0.2.0" -tracing-log = "0.1.3" tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } trybuild = "1" -typed-arena = "2.0" unicode-ident = "1.0.12" unicode-normalization = "0.1.23" url = "2.3.1" diff --git a/crates/bench/Cargo.toml b/crates/bench/Cargo.toml index 115eb115022..ccb3245fe84 100644 --- a/crates/bench/Cargo.toml +++ b/crates/bench/Cargo.toml @@ -37,53 +37,50 @@ name = "summarize" bench = false [dependencies] -spacetimedb-client-api = { path = "../client-api" } -spacetimedb-client-api-messages = { path = "../client-api-messages" } spacetimedb-core = { path = "../core", features = ["test"] } spacetimedb-data-structures.workspace = true spacetimedb-datastore.workspace = true -spacetimedb-execution = { path = "../execution" } spacetimedb-lib = { path = "../lib" } spacetimedb-paths.workspace = true spacetimedb-primitives = { path = "../primitives" } -spacetimedb-query = { path = "../query" } spacetimedb-sats = { path = "../sats" } spacetimedb-schema = { workspace = true, features = ["test"] } -spacetimedb-standalone = { path = "../standalone" } -spacetimedb-table = { path = "../table" } spacetimedb-testing = { path = "../testing" } -ahash.workspace = true anyhow.workspace = true convert_case.workspace = true -anymap.workspace = true -byte-unit.workspace = true clap.workspace = true criterion.workspace = true -futures.workspace = true -foldhash.workspace = true -hashbrown.workspace = true lazy_static.workspace = true log.workspace = true -mimalloc.workspace = true -rand.workspace = true regex.workspace = true rusqlite.workspace = true serde.workspace = true serde_json.workspace = true serial_test.workspace = true -smallvec.workspace = true tempdir.workspace = true tokio.workspace = true tracing-subscriber.workspace = true walkdir.workspace = true + +[dev-dependencies] +spacetimedb-client-api-messages = { path = "../client-api-messages" } +spacetimedb-execution = { path = "../execution" } +spacetimedb-query = { path = "../query" } +spacetimedb-table = { path = "../table" } + +ahash.workspace = true +foldhash.workspace = true +hashbrown.workspace = true itertools.workspace = true +mimalloc.workspace = true +rand.workspace = true +smallvec.workspace = true -[target.'cfg(not(target_env = "msvc"))'.dependencies] +[target.'cfg(not(target_env = "msvc"))'.dev-dependencies] tikv-jemallocator = { workspace = true } -tikv-jemalloc-ctl = { workspace = true } -[target.'cfg(target_os = "linux")'.dependencies] +[target.'cfg(target_os = "linux")'.dev-dependencies] # only try to build these on linux # also: @@ -92,8 +89,6 @@ tikv-jemalloc-ctl = { workspace = true } # iai-callgrind = "0.7.2" iai-callgrind = { git = "https://github.com/clockworklabs/iai-callgrind.git", branch = "main" } -iai-callgrind-runner = { git = "https://github.com/clockworklabs/iai-callgrind.git", branch = "main" } -iai-callgrind-macros = { git = "https://github.com/clockworklabs/iai-callgrind.git", branch = "main" } [lints] workspace = true diff --git a/crates/bindings-macro/Cargo.toml b/crates/bindings-macro/Cargo.toml index 9e0094df23a..0a54464f8a6 100644 --- a/crates/bindings-macro/Cargo.toml +++ b/crates/bindings-macro/Cargo.toml @@ -12,7 +12,6 @@ proc-macro = true bench = false [dependencies] -spacetimedb-primitives.workspace = true humantime.workspace = true proc-macro2.workspace = true diff --git a/crates/bindings-typescript/test-app/server/Cargo.toml b/crates/bindings-typescript/test-app/server/Cargo.toml index 7bc77ce9454..84695c84618 100644 --- a/crates/bindings-typescript/test-app/server/Cargo.toml +++ b/crates/bindings-typescript/test-app/server/Cargo.toml @@ -10,5 +10,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb = { workspace = true } -log = "0.4" -anyhow = "1.0" diff --git a/crates/bindings-typescript/test-react-router-app/server/Cargo.toml b/crates/bindings-typescript/test-react-router-app/server/Cargo.toml index 99797536040..e89454b96f8 100644 --- a/crates/bindings-typescript/test-react-router-app/server/Cargo.toml +++ b/crates/bindings-typescript/test-react-router-app/server/Cargo.toml @@ -10,5 +10,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log = "0.4" -anyhow = "1.0" diff --git a/crates/bindings-typescript/test-solid-router/server/Cargo.toml b/crates/bindings-typescript/test-solid-router/server/Cargo.toml index a7ad32478e1..fa12084c62e 100644 --- a/crates/bindings-typescript/test-solid-router/server/Cargo.toml +++ b/crates/bindings-typescript/test-solid-router/server/Cargo.toml @@ -10,5 +10,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log = "0.4" -anyhow = "1.0" diff --git a/crates/bindings/Cargo.toml b/crates/bindings/Cargo.toml index 54c3bd3c74e..64ecd2c2bfe 100644 --- a/crates/bindings/Cargo.toml +++ b/crates/bindings/Cargo.toml @@ -29,10 +29,8 @@ spacetimedb-query-builder.workspace = true anyhow.workspace = true bytemuck.workspace = true bytes.workspace = true -derive_more.workspace = true http.workspace = true log.workspace = true -scoped-tls.workspace = true rand08 = { workspace = true, optional = true } # we depend on getrandom and enable the `custom` feature, so that @@ -45,5 +43,6 @@ serde_json.workspace = true insta.workspace = true trybuild.workspace = true + [lints] workspace = true diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index bb71fb8b6e5..5ea9f718833 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -28,7 +28,6 @@ spacetimedb-data-structures.workspace = true spacetimedb-fs-utils.workspace = true spacetimedb-lib.workspace = true spacetimedb-paths.workspace = true -spacetimedb-primitives.workspace = true spacetimedb-schema.workspace = true anyhow.workspace = true @@ -41,9 +40,7 @@ colored.workspace = true convert_case.workspace = true dirs.workspace = true duct.workspace = true -email_address.workspace = true futures.workspace = true -flate2.workspace = true fs-err.workspace = true http.workspace = true is-terminal.workspace = true @@ -60,19 +57,15 @@ rustyline.workspace = true serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, features = ["raw_value", "preserve_order", "arbitrary_precision"] } serde_with = { workspace = true, features = ["chrono_0_4"] } -slab.workspace = true syntect.workspace = true tabled.workspace = true -tar.workspace = true tempfile.workspace = true termcolor.workspace = true termtree.workspace = true thiserror.workspace = true tokio.workspace = true tokio-tungstenite.workspace = true -toml.workspace = true toml_edit.workspace = true -tracing = { workspace = true, features = ["release_max_level_off"] } walkdir.workspace = true wasmbin.workspace = true webbrowser.workspace = true @@ -85,18 +78,15 @@ rolldown_common.workspace = true rolldown_error.workspace = true rolldown_utils.workspace = true xmltree.workspace = true -quick-xml.workspace = true names.workspace = true notify.workspace = true path-clean = "1.0.1" [dev-dependencies] pretty_assertions.workspace = true -fs_extra.workspace = true [target.'cfg(not(target_env = "msvc"))'.dependencies] tikv-jemallocator = { workspace = true } -tikv-jemalloc-ctl = { workspace = true } [target.'cfg(windows)'.dependencies] windows-sys = { workspace = true, features = ["Win32_System_Console"] } diff --git a/crates/client-api-messages/Cargo.toml b/crates/client-api-messages/Cargo.toml index a5af8be01f0..f278ac59e02 100644 --- a/crates/client-api-messages/Cargo.toml +++ b/crates/client-api-messages/Cargo.toml @@ -13,13 +13,11 @@ spacetimedb-sats = { workspace = true, features = ["bytestring"] } bytes.workspace = true bytestring.workspace = true -chrono = { workspace = true, features = ["serde"] } enum-as-inner.workspace = true serde = { workspace = true, features = ["derive"] } serde_json.workspace = true serde_with.workspace = true smallvec.workspace = true -strum.workspace = true thiserror.workspace = true derive_more.workspace = true diff --git a/crates/client-api/Cargo.toml b/crates/client-api/Cargo.toml index 09fcb563300..1940230c119 100644 --- a/crates/client-api/Cargo.toml +++ b/crates/client-api/Cargo.toml @@ -18,17 +18,12 @@ spacetimedb-schema.workspace = true base64.workspace = true http-body-util.workspace = true tokio = { workspace = true, features = ["full"] } -lazy_static = "1.4.0" log = "0.4.4" serde = "1.0.136" serde_json = { version = "1.0", features = ["raw_value"] } anyhow = { version = "1.0.57", features = ["backtrace"] } -regex = "1" prometheus.workspace = true -email_address = "0.2.3" -tempfile.workspace = true async-trait = "0.1.60" -chrono = { workspace = true, features = ["serde"] } rand.workspace = true axum.workspace = true axum-extra.workspace = true @@ -37,16 +32,12 @@ hyper-util.workspace = true http.workspace = true headers.workspace = true mime = "0.3.17" -tokio-stream = { version = "0.1.12", features = ["sync"] } -tower-layer.workspace = true -tower-service.workspace = true tower-http.workspace = true futures = "0.3" bytes = "1" tracing.workspace = true bytestring = "1" tokio-tungstenite.workspace = true -itoa.workspace = true derive_more = "0.99.17" uuid.workspace = true jsonwebtoken.workspace = true diff --git a/crates/commitlog/Cargo.toml b/crates/commitlog/Cargo.toml index 0c30960248f..411a1398c48 100644 --- a/crates/commitlog/Cargo.toml +++ b/crates/commitlog/Cargo.toml @@ -36,7 +36,6 @@ tempfile.workspace = true thiserror.workspace = true tokio = { workspace = true, optional = true } tokio-util = { workspace = true, optional = true, features = ["io-util"] } -zstd-framed.workspace = true # For the 'test' feature env_logger = { workspace = true, optional = true } diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index b9c21843e59..34f51b1b5a0 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -33,16 +33,12 @@ spacetimedb-runtime.workspace = true spacetimedb-sats = { workspace = true, features = ["serde"] } spacetimedb-schema.workspace = true spacetimedb-table.workspace = true -spacetimedb-snapshot.workspace = true spacetimedb-subscription.workspace = true spacetimedb-expr.workspace = true spacetimedb-execution.workspace = true -spacetimedb-fs-utils.workspace = true anyhow = { workspace = true, features = ["backtrace"] } -arrayvec.workspace = true async-trait.workspace = true -backtrace.workspace = true base64.workspace = true blake3.workspace = true brotli.workspace = true @@ -50,24 +46,16 @@ bytemuck.workspace = true bytes.workspace = true bytestring.workspace = true chrono.workspace = true -crossbeam-channel.workspace = true crossbeam-queue.workspace = true deno_core_icudata.workspace = true derive_more.workspace = true -dirs.workspace = true -enum-as-inner.workspace = true enum-map.workspace = true flate2.workspace = true -fs2.workspace = true futures.workspace = true futures-util.workspace = true -hex.workspace = true -hostname.workspace = true http.workspace = true http-body-util.workspace = true humantime.workspace = true -hyper.workspace = true -imara-diff.workspace = true indexmap.workspace = true itertools.workspace = true jsonwebtoken.workspace = true @@ -78,7 +66,6 @@ nohash-hasher.workspace = true once_cell.workspace = true openssl.workspace = true parking_lot.workspace = true -paste.workspace = true pin-project-lite.workspace = true prometheus.workspace = true rayon.workspace = true @@ -93,18 +80,12 @@ serde.workspace = true serde_json.workspace = true serde_path_to_error.workspace = true serde_with = { workspace = true, features = ["chrono_0_4"] } -sha1.workspace = true -similar.workspace = true slab.workspace = true -sled.workspace = true smallvec.workspace = true sourcemap.workspace = true -sqlparser.workspace = true strum.workspace = true -tabled.workspace = true tempfile.workspace = true thiserror.workspace = true -thin-vec.workspace = true tokio-util.workspace = true tokio.workspace = true tokio-stream = { workspace = true, features = ["sync"] } @@ -113,13 +94,10 @@ toml.workspace = true tracing-appender.workspace = true tracing-core.workspace = true tracing-flame.workspace = true -tracing-log.workspace = true tracing-subscriber.workspace = true tracing-tracy.workspace = true tracing.workspace = true url.workspace = true -urlencoding.workspace = true -uuid.workspace = true v8.workspace = true wasmtime.workspace = true wasmtime-internal-fiber.workspace = true @@ -129,7 +107,6 @@ faststr = "0.2.23" core_affinity = "0.8" [target.'cfg(not(target_env = "msvc"))'.dependencies] -tikv-jemallocator = {workspace = true} tikv-jemalloc-ctl = {workspace = true} [target.'cfg(target_os = "linux")'.dependencies] @@ -158,16 +135,11 @@ spacetimedb-commitlog = { path = "../commitlog", features = ["test"] } spacetimedb-datastore = { path = "../datastore/", features = ["test"] } spacetimedb-engine = { workspace = true, features = ["test"] } -criterion.workspace = true # Also as dev-dependencies for use in _this_ crate's tests. proptest.workspace = true -proptest-derive.workspace = true -rand.workspace = true -env_logger.workspace = true pretty_assertions.workspace = true jsonwebtoken.workspace = true axum.workspace = true -fs_extra.workspace = true [lints] workspace = true diff --git a/crates/datastore/Cargo.toml b/crates/datastore/Cargo.toml index 37d005a7e64..bb900ad8926 100644 --- a/crates/datastore/Cargo.toml +++ b/crates/datastore/Cargo.toml @@ -13,7 +13,6 @@ spacetimedb-commitlog.workspace = true spacetimedb-durability.workspace = true spacetimedb-metrics.workspace = true spacetimedb-primitives.workspace = true -spacetimedb-paths.workspace = true spacetimedb-sats = { workspace = true, features = ["serde"] } spacetimedb-schema.workspace = true spacetimedb-table.workspace = true @@ -23,7 +22,6 @@ spacetimedb-execution.workspace = true anyhow = { workspace = true, features = ["backtrace"] } bytes.workspace = true derive_more.workspace = true -enum-as-inner.workspace = true enum-map.workspace = true itertools.workspace = true lazy_static.workspace = true diff --git a/crates/dst/Cargo.toml b/crates/dst/Cargo.toml index 7d47c9a1b47..7c7bd071f4e 100644 --- a/crates/dst/Cargo.toml +++ b/crates/dst/Cargo.toml @@ -10,7 +10,6 @@ fallocate = ["spacetimedb-commitlog/fallocate"] [dependencies] anyhow.workspace = true -clap.workspace = true spacetimedb-datastore.workspace = true spacetimedb-commitlog.workspace = true spacetimedb-durability.workspace = true @@ -22,7 +21,6 @@ spacetimedb-sats.workspace = true spacetimedb-schema.workspace = true spacetimedb-table.workspace = true tracing.workspace = true -tracing-subscriber.workspace = true [lints] workspace = true diff --git a/crates/durability/Cargo.toml b/crates/durability/Cargo.toml index 49a5c9565fb..48784c3f44a 100644 --- a/crates/durability/Cargo.toml +++ b/crates/durability/Cargo.toml @@ -12,7 +12,6 @@ test = [] fallocate = ["spacetimedb-commitlog/fallocate"] [dependencies] -anyhow.workspace = true async-channel.workspace = true futures.workspace = true itertools.workspace = true @@ -22,12 +21,12 @@ spacetimedb-commitlog.workspace = true spacetimedb-fs-utils.workspace = true spacetimedb-paths.workspace = true spacetimedb-runtime.workspace = true -spacetimedb-sats.workspace = true thiserror.workspace = true tokio.workspace = true tracing.workspace = true [dev-dependencies] +anyhow.workspace = true spacetimedb-commitlog = { workspace = true, features = ["test"] } tempfile.workspace = true tokio.workspace = true diff --git a/crates/execution/Cargo.toml b/crates/execution/Cargo.toml index 9eff876d333..d40600dd183 100644 --- a/crates/execution/Cargo.toml +++ b/crates/execution/Cargo.toml @@ -14,7 +14,6 @@ spacetimedb-lib.workspace = true spacetimedb-sats.workspace = true spacetimedb-physical-plan.workspace = true spacetimedb-primitives.workspace = true -spacetimedb-sql-parser.workspace = true spacetimedb-table.workspace = true [lints] diff --git a/crates/expr/Cargo.toml b/crates/expr/Cargo.toml index 5138fb1d669..6f2f5e50301 100644 --- a/crates/expr/Cargo.toml +++ b/crates/expr/Cargo.toml @@ -9,7 +9,6 @@ description = "The logical expression representation for the SpacetimeDB query e [dependencies] anyhow.workspace = true bigdecimal.workspace = true -derive_more.workspace = true ethnum.workspace = true thiserror.workspace = true spacetimedb-data-structures.workspace = true @@ -18,7 +17,6 @@ spacetimedb-primitives.workspace = true spacetimedb-sats.workspace = true spacetimedb-schema.workspace = true spacetimedb-sql-parser.workspace = true -bytes.workspace = true [dev-dependencies] pretty_assertions.workspace = true diff --git a/crates/guard/Cargo.toml b/crates/guard/Cargo.toml index f675b6dba3c..02d31efc11f 100644 --- a/crates/guard/Cargo.toml +++ b/crates/guard/Cargo.toml @@ -5,7 +5,6 @@ edition.workspace = true rust-version.workspace = true [dependencies] -portpicker = "0.1" reqwest = { workspace = true, features = ["blocking", "json"] } tempfile.workspace = true diff --git a/crates/lib/Cargo.toml b/crates/lib/Cargo.toml index 67f10d22485..47dfcb5566b 100644 --- a/crates/lib/Cargo.toml +++ b/crates/lib/Cargo.toml @@ -38,16 +38,9 @@ spacetimedb-memory-usage = { workspace = true, optional = true } spacetimedb-metrics = { workspace = true, optional = true } anyhow.workspace = true -bitflags.workspace = true -bytes.workspace = true -chrono.workspace = true derive_more.workspace = true -enum-as-inner.workspace = true hex.workspace = true -itertools.workspace = true -log.workspace = true serde = { workspace = true, optional = true } -thiserror.workspace = true blake3.workspace = true enum-map = { workspace = true, optional = true } @@ -57,7 +50,6 @@ proptest-derive = { workspace = true, optional = true } [dev-dependencies] spacetimedb-sats = { path = "../sats", features = ["test"] } -bytes.workspace = true serde_json.workspace = true insta.workspace = true ron.workspace = true @@ -66,5 +58,6 @@ ron.workspace = true proptest.workspace = true proptest-derive.workspace = true + [lints] workspace = true diff --git a/crates/query/Cargo.toml b/crates/query/Cargo.toml index 7de32844fd5..26e0e08a04b 100644 --- a/crates/query/Cargo.toml +++ b/crates/query/Cargo.toml @@ -8,17 +8,12 @@ description = "Top level crate for invoking the query engine and optimizer" [dependencies] anyhow.workspace = true -itertools.workspace = true -rayon.workspace = true -spacetimedb-client-api-messages.workspace = true spacetimedb-execution.workspace = true spacetimedb-expr.workspace = true spacetimedb-lib.workspace = true spacetimedb-primitives.workspace = true spacetimedb-physical-plan.workspace = true spacetimedb-schema.workspace = true -spacetimedb-sql-parser.workspace = true -spacetimedb-table.workspace = true [lints] workspace = true diff --git a/crates/sats/Cargo.toml b/crates/sats/Cargo.toml index 27696f34ac6..ff1ac21eb16 100644 --- a/crates/sats/Cargo.toml +++ b/crates/sats/Cargo.toml @@ -39,7 +39,6 @@ spacetimedb-metrics = { workspace = true, optional = true } anyhow.workspace = true arrayvec.workspace = true -bitflags.workspace = true bytes.workspace = true bytemuck.workspace = true bytestring = { workspace = true, optional = true } diff --git a/crates/schema/Cargo.toml b/crates/schema/Cargo.toml index 25ff3e3e9cc..b79cc0a0974 100644 --- a/crates/schema/Cargo.toml +++ b/crates/schema/Cargo.toml @@ -15,7 +15,6 @@ spacetimedb-primitives = { workspace = true, features = ["memory-usage"] } spacetimedb-sats = { workspace = true, features = ["memory-usage"] } spacetimedb-data-structures.workspace = true spacetimedb-memory-usage.workspace = true -spacetimedb-sql-parser.workspace = true anyhow.workspace = true derive_more.workspace = true indexmap.workspace = true @@ -26,7 +25,6 @@ thiserror.workspace = true unicode-ident.workspace = true unicode-normalization.workspace = true petgraph.workspace = true -serde_json.workspace = true smallvec.workspace = true enum-as-inner.workspace = true enum-map.workspace = true diff --git a/crates/smoketests/Cargo.toml b/crates/smoketests/Cargo.toml index 1ae168c1480..90ad676634d 100644 --- a/crates/smoketests/Cargo.toml +++ b/crates/smoketests/Cargo.toml @@ -18,7 +18,6 @@ which = "8.0.0" [dev-dependencies] cargo_metadata.workspace = true -assert_cmd = "2" predicates = "3" socket2.workspace = true tokio.workspace = true diff --git a/crates/smoketests/modules/add-remove-index-indexed/Cargo.toml b/crates/smoketests/modules/add-remove-index-indexed/Cargo.toml index 876ee4f4e14..a395dc656bf 100644 --- a/crates/smoketests/modules/add-remove-index-indexed/Cargo.toml +++ b/crates/smoketests/modules/add-remove-index-indexed/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/add-remove-index/Cargo.toml b/crates/smoketests/modules/add-remove-index/Cargo.toml index 0318839bb12..34a5f04f578 100644 --- a/crates/smoketests/modules/add-remove-index/Cargo.toml +++ b/crates/smoketests/modules/add-remove-index/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/auto-migration-drop-event-table-after/Cargo.toml b/crates/smoketests/modules/auto-migration-drop-event-table-after/Cargo.toml index 4a0d71553b6..fcf118a6a7f 100644 --- a/crates/smoketests/modules/auto-migration-drop-event-table-after/Cargo.toml +++ b/crates/smoketests/modules/auto-migration-drop-event-table-after/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/auto-migration-drop-event-table-before/Cargo.toml b/crates/smoketests/modules/auto-migration-drop-event-table-before/Cargo.toml index 90e4382cf60..6d680f279d7 100644 --- a/crates/smoketests/modules/auto-migration-drop-event-table-before/Cargo.toml +++ b/crates/smoketests/modules/auto-migration-drop-event-table-before/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/auto-migration-event-table-after/Cargo.toml b/crates/smoketests/modules/auto-migration-event-table-after/Cargo.toml index 83da04df530..484f8c25d8b 100644 --- a/crates/smoketests/modules/auto-migration-event-table-after/Cargo.toml +++ b/crates/smoketests/modules/auto-migration-event-table-after/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/auto-migration-event-table-before/Cargo.toml b/crates/smoketests/modules/auto-migration-event-table-before/Cargo.toml index c823f521b83..be4f4e9f496 100644 --- a/crates/smoketests/modules/auto-migration-event-table-before/Cargo.toml +++ b/crates/smoketests/modules/auto-migration-event-table-before/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/auto-migration-with-primary-key/Cargo.toml b/crates/smoketests/modules/auto-migration-with-primary-key/Cargo.toml index 4672d5aa2e2..94a919fba88 100644 --- a/crates/smoketests/modules/auto-migration-with-primary-key/Cargo.toml +++ b/crates/smoketests/modules/auto-migration-with-primary-key/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/auto-migration-without-primary-key-v2/Cargo.toml b/crates/smoketests/modules/auto-migration-without-primary-key-v2/Cargo.toml index 05be2d05624..bcfab7fe8d0 100644 --- a/crates/smoketests/modules/auto-migration-without-primary-key-v2/Cargo.toml +++ b/crates/smoketests/modules/auto-migration-without-primary-key-v2/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/auto-migration-without-primary-key/Cargo.toml b/crates/smoketests/modules/auto-migration-without-primary-key/Cargo.toml index 9c40d1eb012..622b64124f9 100644 --- a/crates/smoketests/modules/auto-migration-without-primary-key/Cargo.toml +++ b/crates/smoketests/modules/auto-migration-without-primary-key/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/call-empty/Cargo.toml b/crates/smoketests/modules/call-empty/Cargo.toml index 0449b80a7a5..3fb08c1101c 100644 --- a/crates/smoketests/modules/call-empty/Cargo.toml +++ b/crates/smoketests/modules/call-empty/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/client-connection-disconnect-panic/Cargo.toml b/crates/smoketests/modules/client-connection-disconnect-panic/Cargo.toml index b4ac3a61b2f..6672ca2eda8 100644 --- a/crates/smoketests/modules/client-connection-disconnect-panic/Cargo.toml +++ b/crates/smoketests/modules/client-connection-disconnect-panic/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/client-connection-reject/Cargo.toml b/crates/smoketests/modules/client-connection-reject/Cargo.toml index 3fdd30aacb2..aaa67b24107 100644 --- a/crates/smoketests/modules/client-connection-reject/Cargo.toml +++ b/crates/smoketests/modules/client-connection-reject/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/confirmed-reads/Cargo.toml b/crates/smoketests/modules/confirmed-reads/Cargo.toml index 5d952b0ecb8..4390f0f8a30 100644 --- a/crates/smoketests/modules/confirmed-reads/Cargo.toml +++ b/crates/smoketests/modules/confirmed-reads/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/delete-database/Cargo.toml b/crates/smoketests/modules/delete-database/Cargo.toml index 48a6d18dffe..32de2cfb529 100644 --- a/crates/smoketests/modules/delete-database/Cargo.toml +++ b/crates/smoketests/modules/delete-database/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/dml/Cargo.toml b/crates/smoketests/modules/dml/Cargo.toml index 525cbc25919..4424355c3c5 100644 --- a/crates/smoketests/modules/dml/Cargo.toml +++ b/crates/smoketests/modules/dml/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/fail-initial-publish-broken/Cargo.toml b/crates/smoketests/modules/fail-initial-publish-broken/Cargo.toml index 0aacc78c49b..e3a345a1d7c 100644 --- a/crates/smoketests/modules/fail-initial-publish-broken/Cargo.toml +++ b/crates/smoketests/modules/fail-initial-publish-broken/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/fail-initial-publish-fixed/Cargo.toml b/crates/smoketests/modules/fail-initial-publish-fixed/Cargo.toml index 5a832ceaf53..d3ec6edd4af 100644 --- a/crates/smoketests/modules/fail-initial-publish-fixed/Cargo.toml +++ b/crates/smoketests/modules/fail-initial-publish-fixed/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/hotswap-basic/Cargo.toml b/crates/smoketests/modules/hotswap-basic/Cargo.toml index e8d3e0d5fa4..062560e66f9 100644 --- a/crates/smoketests/modules/hotswap-basic/Cargo.toml +++ b/crates/smoketests/modules/hotswap-basic/Cargo.toml @@ -8,4 +8,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/hotswap-updated/Cargo.toml b/crates/smoketests/modules/hotswap-updated/Cargo.toml index 14d17c5f2c7..ced522ab3ed 100644 --- a/crates/smoketests/modules/hotswap-updated/Cargo.toml +++ b/crates/smoketests/modules/hotswap-updated/Cargo.toml @@ -8,4 +8,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/http-egress/Cargo.toml b/crates/smoketests/modules/http-egress/Cargo.toml index 28fcbdc46d5..888f3f61333 100644 --- a/crates/smoketests/modules/http-egress/Cargo.toml +++ b/crates/smoketests/modules/http-egress/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/http-routes-example/Cargo.toml b/crates/smoketests/modules/http-routes-example/Cargo.toml index bd13a911518..7387aacebb5 100644 --- a/crates/smoketests/modules/http-routes-example/Cargo.toml +++ b/crates/smoketests/modules/http-routes-example/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/http-routes-full-uri/Cargo.toml b/crates/smoketests/modules/http-routes-full-uri/Cargo.toml index 550d375d654..8c1e6628485 100644 --- a/crates/smoketests/modules/http-routes-full-uri/Cargo.toml +++ b/crates/smoketests/modules/http-routes-full-uri/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/http-routes-request-body/Cargo.toml b/crates/smoketests/modules/http-routes-request-body/Cargo.toml index ef85e54ce7c..e222522ed2e 100644 --- a/crates/smoketests/modules/http-routes-request-body/Cargo.toml +++ b/crates/smoketests/modules/http-routes-request-body/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/http-routes-strict-non-root/Cargo.toml b/crates/smoketests/modules/http-routes-strict-non-root/Cargo.toml index 97bace5306e..062ad53cebd 100644 --- a/crates/smoketests/modules/http-routes-strict-non-root/Cargo.toml +++ b/crates/smoketests/modules/http-routes-strict-non-root/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/http-routes-strict-root/Cargo.toml b/crates/smoketests/modules/http-routes-strict-root/Cargo.toml index 6a50ce3e286..5c6f7092dc8 100644 --- a/crates/smoketests/modules/http-routes-strict-root/Cargo.toml +++ b/crates/smoketests/modules/http-routes-strict-root/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/http-routes/Cargo.toml b/crates/smoketests/modules/http-routes/Cargo.toml index 1a8e87717a7..710394a757b 100644 --- a/crates/smoketests/modules/http-routes/Cargo.toml +++ b/crates/smoketests/modules/http-routes/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/modules-breaking/Cargo.toml b/crates/smoketests/modules/modules-breaking/Cargo.toml index 05b36a5e614..137d938afbe 100644 --- a/crates/smoketests/modules/modules-breaking/Cargo.toml +++ b/crates/smoketests/modules/modules-breaking/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/noop/Cargo.toml b/crates/smoketests/modules/noop/Cargo.toml index c0f24646d6c..4e677e0f0b7 100644 --- a/crates/smoketests/modules/noop/Cargo.toml +++ b/crates/smoketests/modules/noop/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/panic-error/Cargo.toml b/crates/smoketests/modules/panic-error/Cargo.toml index 2e577b299d5..3ebc4e1e553 100644 --- a/crates/smoketests/modules/panic-error/Cargo.toml +++ b/crates/smoketests/modules/panic-error/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/permissions-lifecycle/Cargo.toml b/crates/smoketests/modules/permissions-lifecycle/Cargo.toml index af648415cec..4a77d77efe8 100644 --- a/crates/smoketests/modules/permissions-lifecycle/Cargo.toml +++ b/crates/smoketests/modules/permissions-lifecycle/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/permissions-private/Cargo.toml b/crates/smoketests/modules/permissions-private/Cargo.toml index 96268618d7d..2976df0fec5 100644 --- a/crates/smoketests/modules/permissions-private/Cargo.toml +++ b/crates/smoketests/modules/permissions-private/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/pg-wire/Cargo.toml b/crates/smoketests/modules/pg-wire/Cargo.toml index 908f0b87689..d60cf3875d6 100644 --- a/crates/smoketests/modules/pg-wire/Cargo.toml +++ b/crates/smoketests/modules/pg-wire/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/rls-broken-private-table/Cargo.toml b/crates/smoketests/modules/rls-broken-private-table/Cargo.toml index f0cd150c7df..9fec43ced0a 100644 --- a/crates/smoketests/modules/rls-broken-private-table/Cargo.toml +++ b/crates/smoketests/modules/rls-broken-private-table/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/rls-no-filter/Cargo.toml b/crates/smoketests/modules/rls-no-filter/Cargo.toml index ebd9975f9f1..57e17cdf8a5 100644 --- a/crates/smoketests/modules/rls-no-filter/Cargo.toml +++ b/crates/smoketests/modules/rls-no-filter/Cargo.toml @@ -8,4 +8,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/rls-with-filter/Cargo.toml b/crates/smoketests/modules/rls-with-filter/Cargo.toml index 5f59d9c9650..775c4102d2b 100644 --- a/crates/smoketests/modules/rls-with-filter/Cargo.toml +++ b/crates/smoketests/modules/rls-with-filter/Cargo.toml @@ -8,4 +8,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/rls/Cargo.toml b/crates/smoketests/modules/rls/Cargo.toml index f17e75a86b9..5bf7f23159e 100644 --- a/crates/smoketests/modules/rls/Cargo.toml +++ b/crates/smoketests/modules/rls/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/schedule-volatile/Cargo.toml b/crates/smoketests/modules/schedule-volatile/Cargo.toml index 961b77e6a40..253045f7d83 100644 --- a/crates/smoketests/modules/schedule-volatile/Cargo.toml +++ b/crates/smoketests/modules/schedule-volatile/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/sql-format/Cargo.toml b/crates/smoketests/modules/sql-format/Cargo.toml index ff9f2a8837c..bb86a1e9fd4 100644 --- a/crates/smoketests/modules/sql-format/Cargo.toml +++ b/crates/smoketests/modules/sql-format/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/views-basic/Cargo.toml b/crates/smoketests/modules/views-basic/Cargo.toml index eff289cae91..1c704fe15da 100644 --- a/crates/smoketests/modules/views-basic/Cargo.toml +++ b/crates/smoketests/modules/views-basic/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/views-broken-namespace/Cargo.toml b/crates/smoketests/modules/views-broken-namespace/Cargo.toml index f38f99a8256..3bcb166d37d 100644 --- a/crates/smoketests/modules/views-broken-namespace/Cargo.toml +++ b/crates/smoketests/modules/views-broken-namespace/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/views-broken-return-type/Cargo.toml b/crates/smoketests/modules/views-broken-return-type/Cargo.toml index b3eabc7190a..3f14a27f01d 100644 --- a/crates/smoketests/modules/views-broken-return-type/Cargo.toml +++ b/crates/smoketests/modules/views-broken-return-type/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/smoketests/modules/views-callable/Cargo.toml b/crates/smoketests/modules/views-callable/Cargo.toml index 08fe1a81579..6b9d6b90f84 100644 --- a/crates/smoketests/modules/views-callable/Cargo.toml +++ b/crates/smoketests/modules/views-callable/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log.workspace = true diff --git a/crates/snapshot/Cargo.toml b/crates/snapshot/Cargo.toml index 6be91172e42..65424b69142 100644 --- a/crates/snapshot/Cargo.toml +++ b/crates/snapshot/Cargo.toml @@ -20,7 +20,6 @@ blake3.workspace = true bytes.workspace = true crossbeam-queue.workspace = true futures.workspace = true -hex.workspace = true log.workspace = true scopeguard.workspace = true tempfile.workspace = true diff --git a/crates/sql-parser/Cargo.toml b/crates/sql-parser/Cargo.toml index 5ed77a05bdc..2d71bf53b66 100644 --- a/crates/sql-parser/Cargo.toml +++ b/crates/sql-parser/Cargo.toml @@ -7,7 +7,6 @@ license-file = "LICENSE" description = "The SpacetimeDB SQL AST and Parser" [dependencies] -derive_more.workspace = true sqlparser.workspace = true thiserror.workspace = true spacetimedb-lib.workspace = true diff --git a/crates/sqltest/Cargo.toml b/crates/sqltest/Cargo.toml index d6b1e2c8a69..a5aef2344da 100644 --- a/crates/sqltest/Cargo.toml +++ b/crates/sqltest/Cargo.toml @@ -7,8 +7,8 @@ license-file = "LICENSE" publish = false [dependencies] +spacetimedb-core = { workspace = true, features = ["test"] } spacetimedb-lib.workspace = true -spacetimedb-core = { workspace = true, features = ["test"] } spacetimedb-sats.workspace = true anyhow.workspace = true @@ -18,15 +18,12 @@ clap.workspace = true console.workspace = true derive_more.workspace = true fs-err.workspace = true -futures.workspace = true glob.workspace = true itertools.workspace = true -parking_lot.workspace = true postgres-types.workspace = true quick-junit.workspace = true rusqlite.workspace = true rust_decimal.workspace = true -sqllogictest-engines.workspace = true sqllogictest.workspace = true tempfile.workspace = true tokio.workspace = true diff --git a/crates/standalone/Cargo.toml b/crates/standalone/Cargo.toml index 180b3a60b4c..624f98a96c9 100644 --- a/crates/standalone/Cargo.toml +++ b/crates/standalone/Cargo.toml @@ -39,29 +39,21 @@ anyhow.workspace = true async-trait.workspace = true axum.workspace = true clap = { workspace = true, features = ["derive", "string"] } -dirs.workspace = true -futures.workspace = true -hostname.workspace = true http.workspace = true log.workspace = true netstat2.workspace = true -openssl.workspace = true parse-size.workspace = true prometheus.workspace = true -scopeguard.workspace = true serde.workspace = true serde_json.workspace = true sled.workspace = true socket2.workspace = true thiserror.workspace = true tokio.workspace = true -tower-http.workspace = true toml.workspace = true -tracing = { workspace = true, features = ["release_max_level_debug"] } [target.'cfg(not(target_env = "msvc"))'.dependencies] tikv-jemallocator = {workspace = true} -tikv-jemalloc-ctl = {workspace = true} [dev-dependencies] once_cell.workspace = true diff --git a/crates/table/Cargo.toml b/crates/table/Cargo.toml index bde6ab5351f..1b5d9684480 100644 --- a/crates/table/Cargo.toml +++ b/crates/table/Cargo.toml @@ -48,7 +48,6 @@ hashbrown.workspace = true itertools.workspace = true smallvec.workspace = true thiserror.workspace = true -crossbeam-queue.workspace = true # For the 'proptest' feature. proptest = { workspace = true, optional = true } diff --git a/crates/testing/Cargo.toml b/crates/testing/Cargo.toml index 84295a77f46..fb453b76dce 100644 --- a/crates/testing/Cargo.toml +++ b/crates/testing/Cargo.toml @@ -12,22 +12,20 @@ allow_loopback_http_for_tests = ["spacetimedb-standalone/allow_loopback_http_for spacetimedb-cli.workspace = true spacetimedb-data-structures.workspace = true spacetimedb-lib.workspace = true -spacetimedb-core.workspace = true spacetimedb-standalone.workspace = true spacetimedb-client-api.workspace = true spacetimedb-client-api-messages.workspace = true +spacetimedb-core.workspace = true spacetimedb-guard.workspace = true spacetimedb-paths.workspace = true spacetimedb-schema.workspace = true anyhow.workspace = true bytes.workspace = true -env_logger.workspace = true log.workspace = true clap.workspace = true serde_json.workspace = true tokio.workspace = true -wasmbin.workspace = true duct.workspace = true lazy_static.workspace = true rand.workspace = true @@ -36,6 +34,7 @@ serde.workspace = true futures.workspace = true [dev-dependencies] +env_logger.workspace = true serial_test.workspace = true [lints] diff --git a/crates/update/Cargo.toml b/crates/update/Cargo.toml index db8fac5ec37..886da812371 100644 --- a/crates/update/Cargo.toml +++ b/crates/update/Cargo.toml @@ -31,7 +31,6 @@ serde_json.workspace = true tar.workspace = true tempfile.workspace = true tokio.workspace = true -toml.workspace = true tracing = { workspace = true, features = ["release_max_level_off"] } zip = "2.3" diff --git a/modules/benchmarks/Cargo.toml b/modules/benchmarks/Cargo.toml index 34b11db149a..762f3022bee 100644 --- a/modules/benchmarks/Cargo.toml +++ b/modules/benchmarks/Cargo.toml @@ -11,5 +11,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb = { path = "../../crates/bindings" } - -anyhow.workspace = true diff --git a/modules/keynote-benchmarks/Cargo.toml b/modules/keynote-benchmarks/Cargo.toml index 00ac4554c94..a0405689401 100644 --- a/modules/keynote-benchmarks/Cargo.toml +++ b/modules/keynote-benchmarks/Cargo.toml @@ -9,4 +9,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb = { path = "../../crates/bindings" } -log = "0.4" diff --git a/modules/perf-test/Cargo.toml b/modules/perf-test/Cargo.toml index 406c3bfd826..3e127468a20 100644 --- a/modules/perf-test/Cargo.toml +++ b/modules/perf-test/Cargo.toml @@ -11,4 +11,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb = { path = "../../crates/bindings" } -log.workspace = true diff --git a/modules/sdk-test-case-conversion/Cargo.toml b/modules/sdk-test-case-conversion/Cargo.toml index c65a6d832d6..966d827c1bc 100644 --- a/modules/sdk-test-case-conversion/Cargo.toml +++ b/modules/sdk-test-case-conversion/Cargo.toml @@ -8,7 +8,6 @@ license-file = "LICENSE" crate-type = ["cdylib"] [dependencies] -log.workspace = true [dependencies.spacetimedb] workspace = true diff --git a/modules/sdk-test-connect-disconnect/Cargo.toml b/modules/sdk-test-connect-disconnect/Cargo.toml index 8a5b32f5e46..124a805142b 100644 --- a/modules/sdk-test-connect-disconnect/Cargo.toml +++ b/modules/sdk-test-connect-disconnect/Cargo.toml @@ -11,4 +11,3 @@ crate-type = ["cdylib"] [dependencies] spacetimedb.workspace = true -log = "0.4" diff --git a/modules/sdk-test-procedure-concurrency/Cargo.toml b/modules/sdk-test-procedure-concurrency/Cargo.toml index 3f82f68dd69..b885df0822f 100644 --- a/modules/sdk-test-procedure-concurrency/Cargo.toml +++ b/modules/sdk-test-procedure-concurrency/Cargo.toml @@ -9,8 +9,6 @@ crate-type = ["cdylib"] [dependencies] log.workspace = true -anyhow.workspace = true -paste.workspace = true [dependencies.spacetimedb] workspace = true diff --git a/modules/sdk-test-procedure/Cargo.toml b/modules/sdk-test-procedure/Cargo.toml index b17e8f9b3c1..c9eee87587e 100644 --- a/modules/sdk-test-procedure/Cargo.toml +++ b/modules/sdk-test-procedure/Cargo.toml @@ -10,9 +10,6 @@ license-file = "LICENSE" crate-type = ["cdylib"] [dependencies] -log.workspace = true -anyhow.workspace = true -paste.workspace = true [dependencies.spacetimedb] workspace = true diff --git a/modules/sdk-test-view/Cargo.toml b/modules/sdk-test-view/Cargo.toml index 3647b98505d..8209ce83071 100644 --- a/modules/sdk-test-view/Cargo.toml +++ b/modules/sdk-test-view/Cargo.toml @@ -10,9 +10,6 @@ license-file = "LICENSE" crate-type = ["cdylib"] [dependencies] -log.workspace = true -anyhow.workspace = true -paste.workspace = true [dependencies.spacetimedb] workspace = true diff --git a/modules/sdk-test/Cargo.toml b/modules/sdk-test/Cargo.toml index 7249944a065..806e336afb0 100644 --- a/modules/sdk-test/Cargo.toml +++ b/modules/sdk-test/Cargo.toml @@ -10,7 +10,6 @@ license-file = "LICENSE" crate-type = ["cdylib"] [dependencies] -log.workspace = true anyhow.workspace = true paste.workspace = true diff --git a/sdks/rust/Cargo.toml b/sdks/rust/Cargo.toml index 1f3ee9903d2..f8a2a1fe045 100644 --- a/sdks/rust/Cargo.toml +++ b/sdks/rust/Cargo.toml @@ -31,11 +31,9 @@ spacetimedb-lib = { workspace = true, features = ["serde", "metrics_impls"]} spacetimedb-client-api-messages.workspace = true spacetimedb-metrics.workspace = true spacetimedb-query-builder.workspace = true -spacetimedb-schema.workspace = true thiserror.workspace = true anymap3 = "1.0.1" -base64.workspace = true brotli.workspace = true bytes.workspace = true flate2.workspace = true @@ -45,7 +43,6 @@ http.workspace = true log.workspace = true once_cell.workspace = true prometheus.workspace = true -rand.workspace = true getrandom = { version = "0.3.4", features = ["wasm_js"], optional = true } gloo-console = { version = "0.3.0", optional = true } @@ -67,10 +64,6 @@ tokio-tungstenite.workspace = true native-tls = "=0.2.14" [dev-dependencies] -# for quickstart-chat and cursive-chat examples -hex.workspace = true -# for cursive-chat example -cursive.workspace = true futures-channel.workspace = true shlex = "1.3.0" @@ -79,3 +72,7 @@ spacetimedb-testing = { path = "../../crates/testing" } [lints] workspace = true + +[package.metadata.cargo-shear] +# This intentionally pins a transitive dependency to a Rust-compatible release. +ignored = ["native-tls"] diff --git a/sdks/rust/tests/connect_disconnect_client/Cargo.toml b/sdks/rust/tests/connect_disconnect_client/Cargo.toml index 61ff6af9852..3783a7d91e1 100644 --- a/sdks/rust/tests/connect_disconnect_client/Cargo.toml +++ b/sdks/rust/tests/connect_disconnect_client/Cargo.toml @@ -42,5 +42,6 @@ wasm-bindgen = { version = "0.2.100", optional = true } wasm-bindgen-futures = { version = "0.4.45", optional = true } console_error_panic_hook = { version = "0.1.7", optional = true } + [lints] workspace = true diff --git a/sdks/rust/tests/event-table-client/Cargo.toml b/sdks/rust/tests/event-table-client/Cargo.toml index 2fdbb9f04a0..fb09cd8f340 100644 --- a/sdks/rust/tests/event-table-client/Cargo.toml +++ b/sdks/rust/tests/event-table-client/Cargo.toml @@ -41,5 +41,6 @@ wasm-bindgen = { version = "0.2.100", optional = true } wasm-bindgen-futures = { version = "0.4.45", optional = true } console_error_panic_hook = { version = "0.1.7", optional = true } + [lints] workspace = true diff --git a/sdks/rust/tests/procedural-view-pk-client/Cargo.toml b/sdks/rust/tests/procedural-view-pk-client/Cargo.toml index c3f668c260f..15ed09983dc 100644 --- a/sdks/rust/tests/procedural-view-pk-client/Cargo.toml +++ b/sdks/rust/tests/procedural-view-pk-client/Cargo.toml @@ -38,5 +38,6 @@ wasm-bindgen = { version = "0.2.100", optional = true } wasm-bindgen-futures = { version = "0.4.45", optional = true } console_error_panic_hook = { version = "0.1.7", optional = true } + [lints] workspace = true diff --git a/sdks/rust/tests/procedure-client/Cargo.toml b/sdks/rust/tests/procedure-client/Cargo.toml index c11bb90d108..68324cb7fe0 100644 --- a/sdks/rust/tests/procedure-client/Cargo.toml +++ b/sdks/rust/tests/procedure-client/Cargo.toml @@ -46,5 +46,6 @@ wasm-bindgen = { version = "0.2.100", optional = true } wasm-bindgen-futures = { version = "0.4.45", optional = true } console_error_panic_hook = { version = "0.1.7", optional = true } + [lints] workspace = true diff --git a/sdks/rust/tests/procedure-concurrency-client/Cargo.toml b/sdks/rust/tests/procedure-concurrency-client/Cargo.toml index eb747915fba..229aed8ab74 100644 --- a/sdks/rust/tests/procedure-concurrency-client/Cargo.toml +++ b/sdks/rust/tests/procedure-concurrency-client/Cargo.toml @@ -40,5 +40,6 @@ wasm-bindgen = { version = "0.2.100", optional = true } wasm-bindgen-futures = { version = "0.4.45", optional = true } console_error_panic_hook = { version = "0.1.7", optional = true } + [lints] workspace = true diff --git a/sdks/rust/tests/test-client/Cargo.toml b/sdks/rust/tests/test-client/Cargo.toml index 06a92e1f5fb..f25152f5994 100644 --- a/sdks/rust/tests/test-client/Cargo.toml +++ b/sdks/rust/tests/test-client/Cargo.toml @@ -50,5 +50,6 @@ wasm-bindgen = { version = "0.2.100", optional = true } wasm-bindgen-futures = { version = "0.4.45", optional = true } console_error_panic_hook = { version = "0.1.7", optional = true } + [lints] workspace = true diff --git a/sdks/rust/tests/test-counter/Cargo.toml b/sdks/rust/tests/test-counter/Cargo.toml index fa0c9cebb33..e246865f13d 100644 --- a/sdks/rust/tests/test-counter/Cargo.toml +++ b/sdks/rust/tests/test-counter/Cargo.toml @@ -9,7 +9,6 @@ license-file = "LICENSE" [dependencies] spacetimedb-data-structures.workspace = true anyhow.workspace = true -futures.workspace = true gloo-timers = { version = "0.3.0", features = ["futures"] } [lints] diff --git a/sdks/rust/tests/view-client/Cargo.toml b/sdks/rust/tests/view-client/Cargo.toml index 2ca445f54a3..8ca8e835720 100644 --- a/sdks/rust/tests/view-client/Cargo.toml +++ b/sdks/rust/tests/view-client/Cargo.toml @@ -45,5 +45,6 @@ wasm-bindgen = { version = "0.2.100", optional = true } wasm-bindgen-futures = { version = "0.4.45", optional = true } console_error_panic_hook = { version = "0.1.7", optional = true } + [lints] workspace = true diff --git a/sdks/rust/tests/view-pk-client/Cargo.toml b/sdks/rust/tests/view-pk-client/Cargo.toml index 8e96bea8ec2..553ef27738a 100644 --- a/sdks/rust/tests/view-pk-client/Cargo.toml +++ b/sdks/rust/tests/view-pk-client/Cargo.toml @@ -42,5 +42,6 @@ wasm-bindgen = { version = "0.2.100", optional = true } wasm-bindgen-futures = { version = "0.4.45", optional = true } console_error_panic_hook = { version = "0.1.7", optional = true } + [lints] workspace = true diff --git a/templates/chat-console-rs/spacetimedb/Cargo.toml b/templates/chat-console-rs/spacetimedb/Cargo.toml index 541a0cee506..3c1f893369a 100644 --- a/templates/chat-console-rs/spacetimedb/Cargo.toml +++ b/templates/chat-console-rs/spacetimedb/Cargo.toml @@ -11,4 +11,4 @@ crate-type = ["cdylib"] [dependencies] spacetimedb = { path = "../../../crates/bindings" } -log.workspace = true +log = "0.4" diff --git a/tools/ci/commands/dep-check/Cargo.toml b/tools/ci/commands/dep-check/Cargo.toml new file mode 100644 index 00000000000..3c0e49f52b1 --- /dev/null +++ b/tools/ci/commands/dep-check/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "ci-dep-check" +version = "0.1.0" +edition.workspace = true + +[dependencies] +anyhow.workspace = true +ci-common = { path = "../../common" } +duct.workspace = true diff --git a/tools/ci/commands/dep-check/src/main.rs b/tools/ci/commands/dep-check/src/main.rs new file mode 100644 index 00000000000..25f2c12197f --- /dev/null +++ b/tools/ci/commands/dep-check/src/main.rs @@ -0,0 +1,12 @@ +use anyhow::Result; +use ci_common::ensure_repo_root; +use duct::cmd; +use std::ffi::OsString; + +fn main() -> Result<()> { + ensure_repo_root()?; + let mut args = vec![OsString::from("+1.95.0"), OsString::from("shear")]; + args.extend(std::env::args_os().skip(1)); + cmd("cargo", args).run()?; + Ok(()) +} diff --git a/tools/ci/src/main.rs b/tools/ci/src/main.rs index 0b113fe7996..4a20426801b 100644 --- a/tools/ci/src/main.rs +++ b/tools/ci/src/main.rs @@ -40,6 +40,10 @@ const COMMANDS: &[Command] = &[ path: &["cli-docs"], package: "ci-cli-docs", }, + Command { + path: &["dep-check"], + package: "ci-dep-check", + }, Command { path: &["global-json-policy"], package: "ci-global-json-policy", diff --git a/tools/replace-spacetimedb/Cargo.toml b/tools/replace-spacetimedb/Cargo.toml index ef4fc11e572..7c3070b1be1 100644 --- a/tools/replace-spacetimedb/Cargo.toml +++ b/tools/replace-spacetimedb/Cargo.toml @@ -15,4 +15,3 @@ path = "src/main.rs" clap.workspace = true regex.workspace = true ignore = "0.4" -memchr = "2" \ No newline at end of file diff --git a/tools/xtask-llm-benchmark/src/templates/rust/server/Cargo.toml b/tools/xtask-llm-benchmark/src/templates/rust/server/Cargo.toml index d925f98168b..aa94efb4670 100644 --- a/tools/xtask-llm-benchmark/src/templates/rust/server/Cargo.toml +++ b/tools/xtask-llm-benchmark/src/templates/rust/server/Cargo.toml @@ -9,5 +9,3 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -spacetimedb = { path = "../../../../../../sdks/rust/" } -log = "0.4"