diff --git a/.config/hakari.toml b/.config/hakari.toml new file mode 100644 index 0000000000..41afa2950a --- /dev/null +++ b/.config/hakari.toml @@ -0,0 +1,21 @@ +# This file contains settings for `cargo hakari`. +# See https://docs.rs/cargo-hakari/latest/cargo_hakari/config for a full list of options. + +hakari-package = "workspace-hack" + +# Format version for hakari's output. Version 4 requires cargo-hakari 0.9.22 or above. +dep-format-version = "4" +resolver = "2" + +# Add triples corresponding to platforms commonly used by developers here. +# https://doc.rust-lang.org/rustc/platform-support.html +platforms = [ + "x86_64-unknown-linux-gnu", + "aarch64-apple-darwin", +] + +# Write out exact versions rather than a semver range. (Defaults to false.) +# exact-versions = true + +[traversal-excludes] +workspace-members = ["service-protocol-wireshark-dissector"] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c7eac74e3a..4dac39c9a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,22 @@ on: - main jobs: + workspace-hack-check: + name: Check workspace-hack + runs-on: ubuntu-latest + env: + RUSTFLAGS: -D warnings + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - name: Install cargo-hakari + uses: taiki-e/install-action@v2 + with: + tool: cargo-hakari + - name: Check workspace-hack Cargo.toml is up-to-date + run: cargo hakari generate --diff + - name: Check all crates depend on workspace-hack + run: cargo hakari manage-deps --dry-run build-and-test: name: Build and test (${{ matrix.os }}) runs-on: ${{ matrix.os }} @@ -23,8 +39,9 @@ jobs: env: RUST_BACKTRACE: full steps: - - name: Install liburing - run: sudo apt-get update && sudo apt-get install -y liburing-dev + # Disabled as uring is not used in production yet. + # - name: Install liburing + # run: sudo apt-get update && sudo apt-get install -y liburing-dev - uses: actions/checkout@v4 diff --git a/Cargo.lock b/Cargo.lock index 30556ab1f8..1af9e57c82 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1026,6 +1026,7 @@ dependencies = [ "toml", "tracing", "tracing-subscriber", + "workspace-hack", ] [[package]] @@ -1547,6 +1548,7 @@ version = "1.1.6" dependencies = [ "codederror-derive", "thiserror 2.0.6", + "workspace-hack", ] [[package]] @@ -1556,6 +1558,7 @@ dependencies = [ "proc-macro2", "quote", "syn 1.0.109", + "workspace-hack", ] [[package]] @@ -4380,6 +4383,7 @@ dependencies = [ "tokio-stream", "tracing", "tracing-subscriber", + "workspace-hack", ] [[package]] @@ -6010,6 +6014,7 @@ dependencies = [ "tower 0.4.13", "tracing", "tracing-subscriber", + "workspace-hack", "xxhash-rust", ] @@ -6029,6 +6034,7 @@ dependencies = [ "serde_json", "serde_with", "strum", + "workspace-hack", ] [[package]] @@ -6036,6 +6042,7 @@ name = "restate-base64-util" version = "1.1.6" dependencies = [ "base64 0.22.1", + "workspace-hack", ] [[package]] @@ -6062,6 +6069,7 @@ dependencies = [ "tokio", "tracing", "tracing-subscriber", + "workspace-hack", ] [[package]] @@ -6112,6 +6120,7 @@ dependencies = [ "tracing", "tracing-subscriber", "tracing-test", + "workspace-hack", "xxhash-rust", ] @@ -6179,6 +6188,7 @@ dependencies = [ "url", "uuid", "vergen", + "workspace-hack", "zip 0.6.6", ] @@ -6203,6 +6213,7 @@ dependencies = [ "tracing-log", "tracing-subscriber", "unicode-width 0.1.14", + "workspace-hack", ] [[package]] @@ -6262,6 +6273,7 @@ dependencies = [ "tracing-opentelemetry", "tracing-subscriber", "tracing-test", + "workspace-hack", "xxhash-rust", ] @@ -6272,6 +6284,7 @@ dependencies = [ "proc-macro2", "quote", "syn 2.0.90", + "workspace-hack", ] [[package]] @@ -6285,6 +6298,7 @@ dependencies = [ "thiserror 2.0.6", "tracing", "tracing-subscriber", + "workspace-hack", ] [[package]] @@ -6294,6 +6308,7 @@ dependencies = [ "tokio", "tracing", "uuid", + "workspace-hack", ] [[package]] @@ -6309,6 +6324,7 @@ dependencies = [ "tokio", "tracing", "tracing-subscriber", + "workspace-hack", ] [[package]] @@ -6356,6 +6372,7 @@ dependencies = [ "tracing-test", "url", "urlencoding", + "workspace-hack", ] [[package]] @@ -6386,6 +6403,7 @@ dependencies = [ "tokio", "tracing", "tracing-opentelemetry", + "workspace-hack", ] [[package]] @@ -6402,6 +6420,7 @@ dependencies = [ "serde", "thiserror 2.0.6", "tokio", + "workspace-hack", ] [[package]] @@ -6445,6 +6464,7 @@ dependencies = [ "tokio-util", "tracing", "tracing-subscriber", + "workspace-hack", ] [[package]] @@ -6478,6 +6498,7 @@ dependencies = [ "tracing", "tracing-subscriber", "typed-builder", + "workspace-hack", ] [[package]] @@ -6522,6 +6543,7 @@ dependencies = [ "tracing", "tracing-subscriber", "tracing-test", + "workspace-hack", "xxhash-rust", ] @@ -6557,6 +6579,7 @@ dependencies = [ "tonic-build", "tracing", "tracing-subscriber", + "workspace-hack", ] [[package]] @@ -6621,6 +6644,7 @@ dependencies = [ "tower-http 0.5.2", "tracing", "tracing-subscriber", + "workspace-hack", ] [[package]] @@ -6665,6 +6689,7 @@ dependencies = [ "tokio", "tokio-stream", "tracing", + "workspace-hack", ] [[package]] @@ -6678,6 +6703,7 @@ dependencies = [ "serde", "tempfile", "tokio", + "workspace-hack", ] [[package]] @@ -6707,6 +6733,7 @@ dependencies = [ "threadpool", "tokio", "tracing", + "workspace-hack", ] [[package]] @@ -6724,6 +6751,7 @@ dependencies = [ "serde", "serde_json", "serde_with", + "workspace-hack", ] [[package]] @@ -6775,6 +6803,7 @@ dependencies = [ "tracing-subscriber", "url", "vergen", + "workspace-hack", ] [[package]] @@ -6820,6 +6849,7 @@ dependencies = [ "tower 0.4.13", "tower-service", "tracing", + "workspace-hack", ] [[package]] @@ -6851,6 +6881,7 @@ dependencies = [ "tracing", "tracing-subscriber", "uuid", + "workspace-hack", ] [[package]] @@ -6866,6 +6897,7 @@ dependencies = [ "serde", "strum", "thiserror 2.0.6", + "workspace-hack", ] [[package]] @@ -6900,6 +6932,7 @@ dependencies = [ "tokio", "tokio-stream", "tracing", + "workspace-hack", ] [[package]] @@ -6930,6 +6963,7 @@ dependencies = [ "tokio", "tracing", "uuid", + "workspace-hack", ] [[package]] @@ -6941,6 +6975,7 @@ dependencies = [ "pretty_assertions", "prost", "prost-types", + "workspace-hack", ] [[package]] @@ -6963,6 +6998,7 @@ dependencies = [ "tokio-util", "tracing", "tracing-subscriber", + "workspace-hack", ] [[package]] @@ -6971,6 +7007,7 @@ version = "1.1.6" dependencies = [ "futures", "tokio", + "workspace-hack", ] [[package]] @@ -6999,6 +7036,7 @@ dependencies = [ "tracing-core", "tracing-opentelemetry", "tracing-subscriber", + "workspace-hack", ] [[package]] @@ -7070,6 +7108,7 @@ dependencies = [ "tracing-opentelemetry", "typify", "ulid", + "workspace-hack", "xxhash-rust", ] @@ -7082,6 +7121,7 @@ dependencies = [ "restate-utoipa", "serde", "serde_json", + "workspace-hack", ] [[package]] @@ -7114,6 +7154,7 @@ dependencies = [ "tokio", "tracing", "tracing-subscriber", + "workspace-hack", ] [[package]] @@ -7121,6 +7162,7 @@ name = "restate-web-ui" version = "1.1.6" dependencies = [ "include_dir", + "workspace-hack", "zip 2.2.1", ] @@ -7190,6 +7232,7 @@ dependencies = [ "tracing-subscriber", "ulid", "url", + "workspace-hack", ] [[package]] @@ -7241,6 +7284,7 @@ dependencies = [ "tracing-subscriber", "url", "vergen", + "workspace-hack", ] [[package]] @@ -7356,7 +7400,6 @@ dependencies = [ "libc", "libz-sys", "lz4-sys", - "pkg-config", "tikv-jemalloc-sys", "zstd-sys", ] @@ -9517,6 +9560,126 @@ dependencies = [ "memchr", ] +[[package]] +name = "workspace-hack" +version = "0.1.0" +dependencies = [ + "ahash 0.8.11", + "arrayvec", + "arrow-array", + "arrow-cast", + "arrow-ipc", + "axum", + "axum-core", + "bytes", + "bzip2-sys", + "cc", + "chrono", + "clap", + "clap_builder", + "comfy-table", + "criterion", + "crossbeam-channel", + "crossbeam-deque", + "crossbeam-epoch", + "crossbeam-utils", + "crossterm 0.28.1", + "digest", + "either", + "enum-map", + "enumset", + "enumset_derive", + "flate2", + "futures", + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-util", + "getrandom", + "half", + "hashbrown 0.14.5", + "hashbrown 0.15.2", + "hdrhistogram", + "hex", + "hmac", + "hyper 0.14.31", + "hyper 1.5.1", + "hyper-rustls 0.24.2", + "hyper-rustls 0.27.3", + "hyper-util", + "idna", + "indexmap 1.9.3", + "indexmap 2.7.0", + "itertools 0.12.1", + "lazy-regex", + "libc", + "libz-sys", + "log", + "md-5", + "memchr", + "mio 1.0.3", + "nix 0.29.0", + "nom", + "num", + "num-bigint", + "num-integer", + "num-traits", + "opentelemetry_sdk", + "petgraph", + "phf_shared", + "pprof", + "proc-macro2", + "prost", + "prost-types", + "quote", + "rand", + "rand_core", + "regex", + "regex-automata 0.4.9", + "regex-syntax 0.8.5", + "reqwest", + "ring", + "rustix", + "rustls 0.21.12", + "rustls 0.23.19", + "schemars", + "semver", + "serde", + "serde_json", + "serde_with", + "signal-hook-mio", + "smallvec", + "stable_deref_trait", + "strum", + "syn 1.0.109", + "syn 2.0.90", + "sync_wrapper 1.0.2", + "tikv-jemalloc-sys", + "tikv-jemallocator", + "time", + "tokio", + "tokio-rustls 0.26.1", + "tokio-stream", + "tokio-util", + "toml_datetime", + "toml_edit 0.22.22", + "tonic", + "tower 0.4.13", + "tower 0.5.1", + "tower-http 0.5.2", + "tracing", + "tracing-core", + "tracing-log", + "tracing-subscriber", + "url", + "uuid", + "zerocopy", + "zeroize", + "zstd-sys", +] + [[package]] name = "write16" version = "1.0.0" @@ -9563,6 +9726,7 @@ dependencies = [ "serde_json", "tokio", "tonic", + "workspace-hack", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 12f59736b9..eae5041b57 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ members = [ "tools/restatectl", "tools/service-protocol-wireshark-dissector", "tools/xtask", + "workspace-hack", ] default-members = [ "cli", diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml index aadadd524b..02380b9cd6 100644 --- a/benchmarks/Cargo.toml +++ b/benchmarks/Cargo.toml @@ -32,6 +32,7 @@ tempfile = { workspace = true } tracing = { workspace = true } tracing-subscriber = { workspace = true } tokio = { workspace = true } +workspace-hack = { version = "0.1", path = "../workspace-hack" } [dev-dependencies] anyhow = { workspace = true } diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 9bb4b56504..b58a139842 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -77,6 +77,7 @@ typify = "0.1.0" url = { workspace = true } uuid = { workspace = true } zip = "0.6" +workspace-hack = { version = "0.1", path = "../workspace-hack" } [dev-dependencies] restate-cli-util = { workspace = true, features = ["test-util"] } diff --git a/crates/admin-rest-model/Cargo.toml b/crates/admin-rest-model/Cargo.toml index 268201a268..5639ffae2f 100644 --- a/crates/admin-rest-model/Cargo.toml +++ b/crates/admin-rest-model/Cargo.toml @@ -12,6 +12,8 @@ default = [] schema = ["dep:schemars", "restate-serde-util/schema", "restate-types/schemars"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-types = { workspace = true } restate-serde-util = { workspace = true } diff --git a/crates/admin/Cargo.toml b/crates/admin/Cargo.toml index 0059117c0a..fb668341a7 100644 --- a/crates/admin/Cargo.toml +++ b/crates/admin/Cargo.toml @@ -16,6 +16,8 @@ replicated-loglet = ["restate-bifrost/replicated-loglet"] serve-web-ui = ["restate-web-ui", "mime_guess"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-admin-rest-model = { workspace = true, features = ["schema"] } restate-bifrost = { workspace = true } restate-core = { workspace = true } diff --git a/crates/base64-util/Cargo.toml b/crates/base64-util/Cargo.toml index e37fad581d..f9eeee6794 100644 --- a/crates/base64-util/Cargo.toml +++ b/crates/base64-util/Cargo.toml @@ -8,4 +8,6 @@ license.workspace = true publish = false [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + base64 = { workspace = true } diff --git a/crates/bifrost/Cargo.toml b/crates/bifrost/Cargo.toml index e0b9d1348a..43ffd7bc72 100644 --- a/crates/bifrost/Cargo.toml +++ b/crates/bifrost/Cargo.toml @@ -16,6 +16,8 @@ test-util = ["memory-loglet", "dep:googletest", "dep:restate-test-util"] auto-extend = [] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-core = { workspace = true } restate-rocksdb = { workspace = true } restate-types = { workspace = true } diff --git a/crates/cli-util/Cargo.toml b/crates/cli-util/Cargo.toml index f41db687a3..5de4dda129 100644 --- a/crates/cli-util/Cargo.toml +++ b/crates/cli-util/Cargo.toml @@ -12,6 +12,8 @@ default = [] test-util = [] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + anyhow = { workspace = true } arc-swap = { workspace = true } chrono = { workspace = true } diff --git a/crates/codederror/Cargo.toml b/crates/codederror/Cargo.toml index a63ad29ae3..054d59ddbe 100644 --- a/crates/codederror/Cargo.toml +++ b/crates/codederror/Cargo.toml @@ -8,6 +8,8 @@ license.workspace = true publish = false [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + codederror-derive = { version = "0.1.0", path = "derive" } [dev-dependencies] diff --git a/crates/codederror/derive/Cargo.toml b/crates/codederror/derive/Cargo.toml index 559f0c0127..d535aa75fa 100644 --- a/crates/codederror/derive/Cargo.toml +++ b/crates/codederror/derive/Cargo.toml @@ -14,3 +14,4 @@ proc-macro = true proc-macro2 = "1.0" quote = "1.0" syn = "1.0" +workspace-hack = { version = "0.1", path = "../../../workspace-hack" } diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index af4876acea..68fc18cc8c 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -13,6 +13,8 @@ test-util = ["tokio/test-util", "restate-core-derive"] options_schema = ["dep:schemars"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-types = { workspace = true } restate-core-derive = { workspace = true, optional = true } diff --git a/crates/core/derive/Cargo.toml b/crates/core/derive/Cargo.toml index 355f8beb61..1d3129c8ca 100644 --- a/crates/core/derive/Cargo.toml +++ b/crates/core/derive/Cargo.toml @@ -14,3 +14,4 @@ proc-macro = true proc-macro2 = "1.0" quote = "1" syn = { version = "2.0", features = ["full"] } +workspace-hack = { version = "0.1", path = "../../../workspace-hack" } diff --git a/crates/errors/Cargo.toml b/crates/errors/Cargo.toml index ca2495d1a1..d4789811f3 100644 --- a/crates/errors/Cargo.toml +++ b/crates/errors/Cargo.toml @@ -12,6 +12,8 @@ default = [] include_doc = ["termimad"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + codederror = { workspace = true } paste = { workspace = true } termimad = { version = "0.30.0", optional = true } diff --git a/crates/fs-util/Cargo.toml b/crates/fs-util/Cargo.toml index 59c6aef39b..62171fafb5 100644 --- a/crates/fs-util/Cargo.toml +++ b/crates/fs-util/Cargo.toml @@ -11,6 +11,8 @@ publish = false default = [] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + tokio = { workspace = true, features = ["fs"] } tracing = { workspace = true } uuid = { workspace = true } diff --git a/crates/futures-util/Cargo.toml b/crates/futures-util/Cargo.toml index ad6126e0f8..9c07c5330c 100644 --- a/crates/futures-util/Cargo.toml +++ b/crates/futures-util/Cargo.toml @@ -8,6 +8,8 @@ license.workspace = true publish = false [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + anyhow = { workspace = true } futures = { workspace = true } pin-project = { workspace = true } diff --git a/crates/ingress-http/Cargo.toml b/crates/ingress-http/Cargo.toml index 8b47165b46..3e850b2526 100644 --- a/crates/ingress-http/Cargo.toml +++ b/crates/ingress-http/Cargo.toml @@ -12,6 +12,7 @@ default = [] options_schema = ["dep:schemars"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } # Restate restate-core = { workspace = true } restate-errors = { workspace = true } diff --git a/crates/ingress-kafka/Cargo.toml b/crates/ingress-kafka/Cargo.toml index 210d8383d5..9800784c47 100644 --- a/crates/ingress-kafka/Cargo.toml +++ b/crates/ingress-kafka/Cargo.toml @@ -12,6 +12,8 @@ default = [] options_schema = ["dep:schemars"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-bifrost = { workspace = true } restate-core = { workspace = true } restate-errors = { workspace = true } diff --git a/crates/invoker-api/Cargo.toml b/crates/invoker-api/Cargo.toml index ccc80d2fac..1c57386ac6 100644 --- a/crates/invoker-api/Cargo.toml +++ b/crates/invoker-api/Cargo.toml @@ -13,6 +13,8 @@ test-util = ["restate-types/test-util"] serde = ["dep:serde"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-errors = { workspace = true } restate-types = { workspace = true } @@ -26,4 +28,4 @@ thiserror = { workspace = true } tokio = { workspace = true } [dev-dependencies] -restate-types = { workspace = true, features = ["test-util"] } \ No newline at end of file +restate-types = { workspace = true, features = ["test-util"] } diff --git a/crates/invoker-impl/Cargo.toml b/crates/invoker-impl/Cargo.toml index 1b0264eec8..24266f3650 100644 --- a/crates/invoker-impl/Cargo.toml +++ b/crates/invoker-impl/Cargo.toml @@ -12,6 +12,8 @@ default = [] options_schema = ["dep:schemars", "restate-types/schemars"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-core = { workspace = true } restate-errors = { workspace = true } restate-fs-util = { workspace = true } diff --git a/crates/local-cluster-runner/Cargo.toml b/crates/local-cluster-runner/Cargo.toml index c1db4e4c59..10a134c79b 100644 --- a/crates/local-cluster-runner/Cargo.toml +++ b/crates/local-cluster-runner/Cargo.toml @@ -11,6 +11,8 @@ publish = false default = [] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-core = { workspace = true } restate-metadata-store = { workspace = true } # nb features here will also affect the compiled restate-server binary in integration tests diff --git a/crates/log-server/Cargo.toml b/crates/log-server/Cargo.toml index 2e624a5d8b..cb24f82165 100644 --- a/crates/log-server/Cargo.toml +++ b/crates/log-server/Cargo.toml @@ -13,6 +13,8 @@ clients = [] test-util = [] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-bifrost = { workspace = true } restate-core = { workspace = true } restate-metadata-store = { workspace = true } diff --git a/crates/metadata-store/Cargo.toml b/crates/metadata-store/Cargo.toml index 722eed4096..3796d6c2df 100644 --- a/crates/metadata-store/Cargo.toml +++ b/crates/metadata-store/Cargo.toml @@ -12,6 +12,8 @@ options_schema = ["dep:schemars"] test-util = [] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + codederror = { workspace = true } restate-core = { workspace = true } restate-rocksdb = { workspace = true } diff --git a/crates/node/Cargo.toml b/crates/node/Cargo.toml index e5b19f647f..648a7409fc 100644 --- a/crates/node/Cargo.toml +++ b/crates/node/Cargo.toml @@ -18,6 +18,8 @@ options_schema = [ "restate-metadata-store/options_schema"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-admin = { workspace = true } restate-bifrost = { workspace = true } restate-core = { workspace = true } diff --git a/crates/partition-store/Cargo.toml b/crates/partition-store/Cargo.toml index 589a22fbad..d2776fb59a 100644 --- a/crates/partition-store/Cargo.toml +++ b/crates/partition-store/Cargo.toml @@ -12,6 +12,8 @@ default = [] options_schema = ["dep:schemars"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + anyhow = { workspace = true } bytes = { workspace = true } bytestring = { workspace = true } diff --git a/crates/queue/Cargo.toml b/crates/queue/Cargo.toml index 6a96fe2cb3..af8f8adb63 100644 --- a/crates/queue/Cargo.toml +++ b/crates/queue/Cargo.toml @@ -8,6 +8,8 @@ license.workspace = true publish = false [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-fs-util = { workspace = true } bincode = { version = "2.0.0-rc", default-features = false, features = ["std", "serde"] } diff --git a/crates/rocksdb/Cargo.toml b/crates/rocksdb/Cargo.toml index 05aa9a6d80..07f9c59506 100644 --- a/crates/rocksdb/Cargo.toml +++ b/crates/rocksdb/Cargo.toml @@ -12,6 +12,8 @@ default = [] test-util = ["restate-types/test-util"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-core = { workspace = true } restate-errors = { workspace = true } restate-serde-util = { workspace = true } diff --git a/crates/serde-util/Cargo.toml b/crates/serde-util/Cargo.toml index 289e4e8652..0acae1287c 100644 --- a/crates/serde-util/Cargo.toml +++ b/crates/serde-util/Cargo.toml @@ -13,6 +13,8 @@ schema = ["dep:schemars"] proto = ["dep:prost", "dep:bytes"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + bytes = { workspace = true, optional = true } bytesize = { version = "1.3.0" } http = { workspace = true } diff --git a/crates/service-client/Cargo.toml b/crates/service-client/Cargo.toml index a4d5fa31fc..9b4833e3c7 100644 --- a/crates/service-client/Cargo.toml +++ b/crates/service-client/Cargo.toml @@ -12,6 +12,8 @@ default = [] options_schema = ["dep:schemars", "restate-types/schemars"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + arc-swap = { workspace = true } aws-config = { workspace = true } aws-credential-types = { workspace = true } diff --git a/crates/service-protocol/Cargo.toml b/crates/service-protocol/Cargo.toml index d1f057c0f5..2af9212614 100644 --- a/crates/service-protocol/Cargo.toml +++ b/crates/service-protocol/Cargo.toml @@ -17,6 +17,8 @@ message = ["dep:restate-types", "dep:bytes-utils", "dep:codederror", "dep:restat test-util = ["awakeable-id"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-base64-util = { workspace = true, optional = true } restate-errors = { workspace = true, optional = true } restate-service-client = { workspace = true, optional = true } diff --git a/crates/storage-api/Cargo.toml b/crates/storage-api/Cargo.toml index a3e1e62bf6..bd9c085950 100644 --- a/crates/storage-api/Cargo.toml +++ b/crates/storage-api/Cargo.toml @@ -11,6 +11,8 @@ publish = false test-util = [] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-types = { workspace = true } anyhow = { workspace = true } diff --git a/crates/storage-query-datafusion/Cargo.toml b/crates/storage-query-datafusion/Cargo.toml index d7933fcb84..105fd4572c 100644 --- a/crates/storage-query-datafusion/Cargo.toml +++ b/crates/storage-query-datafusion/Cargo.toml @@ -13,6 +13,8 @@ options_schema = ["dep:schemars"] table_docs = [] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-core = { workspace = true } restate-invoker-api = { workspace = true } restate-partition-store = { workspace = true } diff --git a/crates/storage-query-postgres/Cargo.toml b/crates/storage-query-postgres/Cargo.toml index 87ee1707a6..f56c79af07 100644 --- a/crates/storage-query-postgres/Cargo.toml +++ b/crates/storage-query-postgres/Cargo.toml @@ -12,6 +12,8 @@ default = [] options_schema = ["dep:schemars"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-core = { workspace = true } restate-errors = { workspace = true } restate-partition-store = {workspace = true } diff --git a/crates/test-util/Cargo.toml b/crates/test-util/Cargo.toml index 565f4b9867..748ea1afd3 100644 --- a/crates/test-util/Cargo.toml +++ b/crates/test-util/Cargo.toml @@ -11,6 +11,8 @@ publish = false prost = ["dep:prost"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + assert2 = { workspace = true } googletest = { workspace = true } pretty_assertions = "1.3" diff --git a/crates/timer-queue/Cargo.toml b/crates/timer-queue/Cargo.toml index 7fa41b01e8..153cc4615d 100644 --- a/crates/timer-queue/Cargo.toml +++ b/crates/timer-queue/Cargo.toml @@ -8,5 +8,7 @@ license.workspace = true publish = false [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + futures = { workspace = true } tokio = { workspace = true } diff --git a/crates/timer/Cargo.toml b/crates/timer/Cargo.toml index 1e48125514..4647d6a27f 100644 --- a/crates/timer/Cargo.toml +++ b/crates/timer/Cargo.toml @@ -12,6 +12,8 @@ default = [] options_schema = ["dep:schemars"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-types = { workspace = true } ahash = "0.8.3" diff --git a/crates/tracing-instrumentation/Cargo.toml b/crates/tracing-instrumentation/Cargo.toml index 441837921b..2ce1edf621 100644 --- a/crates/tracing-instrumentation/Cargo.toml +++ b/crates/tracing-instrumentation/Cargo.toml @@ -19,6 +19,8 @@ options_schema = ["dep:schemars"] rt-tokio = ["dep:tokio"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-types = { workspace = true } arc-swap = { workspace = true } diff --git a/crates/types/Cargo.toml b/crates/types/Cargo.toml index a200af27de..97560f8ae9 100644 --- a/crates/types/Cargo.toml +++ b/crates/types/Cargo.toml @@ -16,6 +16,8 @@ unsafe-mutable-config = [] test-util = ["memory-loglet", "unsafe-mutable-config", "dep:tempfile", "dep:restate-test-util"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-base64-util = { workspace = true } restate-errors = { workspace = true } restate-serde-util = { workspace = true } diff --git a/crates/utoipa/Cargo.toml b/crates/utoipa/Cargo.toml index 1ea99b9d3f..6dec126943 100644 --- a/crates/utoipa/Cargo.toml +++ b/crates/utoipa/Cargo.toml @@ -11,6 +11,8 @@ default = ["debug"] debug = [] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + serde = { workspace = true } serde_json = { workspace = true } indexmap = { version = "2", features = ["serde"] } diff --git a/crates/wal-protocol/Cargo.toml b/crates/wal-protocol/Cargo.toml index 6423b03c10..2a138b275b 100644 --- a/crates/wal-protocol/Cargo.toml +++ b/crates/wal-protocol/Cargo.toml @@ -13,6 +13,8 @@ serde = ["dep:serde", "enum-map/serde", "bytestring/serde", "restate-invoker-api options_schema = ["dep:schemars"] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-bifrost = { workspace = true } restate-core = { workspace = true } restate-invoker-api = { workspace = true } diff --git a/crates/web-ui/Cargo.toml b/crates/web-ui/Cargo.toml index 12731b0e98..7a2c6dd8ce 100644 --- a/crates/web-ui/Cargo.toml +++ b/crates/web-ui/Cargo.toml @@ -8,6 +8,8 @@ license.workspace = true publish = false [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + include_dir = "0.7.4" [build-dependencies] diff --git a/crates/worker/Cargo.toml b/crates/worker/Cargo.toml index a507f79a33..c29b3587f1 100644 --- a/crates/worker/Cargo.toml +++ b/crates/worker/Cargo.toml @@ -21,6 +21,8 @@ options_schema = [ ] [dependencies] +workspace-hack = { version = "0.1", path = "../../workspace-hack" } + restate-bifrost = { workspace = true } restate-core = { workspace = true } restate-errors = { workspace = true } diff --git a/server/Cargo.toml b/server/Cargo.toml index e8485a7c19..9bfb0af3cf 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -16,9 +16,6 @@ console = [ "tokio/tracing", "restate-tracing-instrumentation/console-subscriber", ] -io-uring = [ - "rocksdb/io-uring" -] options_schema = [ "dep:schemars", "restate-core/options_schema", @@ -64,6 +61,7 @@ tracing = { workspace = true } tracing-panic = { version = "0.1.2" } regex = "1.10.4" url = { version = "2.5.4", features = [] } +workspace-hack = { version = "0.1", path = "../workspace-hack" } [dev-dependencies] restate-admin = { workspace = true, features = ["memory-loglet", "clients"] } diff --git a/tools/bifrost-benchpress/Cargo.toml b/tools/bifrost-benchpress/Cargo.toml index a730457a4d..fa650d2a3c 100644 --- a/tools/bifrost-benchpress/Cargo.toml +++ b/tools/bifrost-benchpress/Cargo.toml @@ -14,9 +14,6 @@ console = [ "tokio/tracing", "restate-tracing-instrumentation/console-subscriber", ] -io-uring = [ - "rocksdb/io-uring" -] [dependencies] restate-bifrost = { workspace = true, features = ["memory-loglet"] } @@ -53,6 +50,7 @@ tokio-stream = { workspace = true } toml = { version = "0.8" } tracing = { workspace = true } tracing-subscriber = { workspace = true } +workspace-hack = { version = "0.1", path = "../../workspace-hack" } [target.'cfg(not(target_env = "msvc"))'.dependencies] tikv-jemallocator = { workspace = true, features = ["unprefixed_malloc_on_supported_platforms"] } diff --git a/tools/mock-service-endpoint/Cargo.toml b/tools/mock-service-endpoint/Cargo.toml index b4bfd1cda2..f779cda791 100644 --- a/tools/mock-service-endpoint/Cargo.toml +++ b/tools/mock-service-endpoint/Cargo.toml @@ -26,3 +26,4 @@ tokio-stream = { workspace = true } tracing = { workspace = true } tracing-subscriber = { workspace = true } thiserror = { workspace = true } +workspace-hack = { version = "0.1", path = "../../workspace-hack" } diff --git a/tools/restatectl/Cargo.toml b/tools/restatectl/Cargo.toml index baa6f11f36..6a79c77104 100644 --- a/tools/restatectl/Cargo.toml +++ b/tools/restatectl/Cargo.toml @@ -61,6 +61,7 @@ tracing = { workspace = true } tracing-log = { version = "0.2" } tracing-subscriber = { workspace = true } url = { workspace = true } +workspace-hack = { version = "0.1", path = "../../workspace-hack" } [build-dependencies] vergen = { version = "8", default-features = false, features = [ diff --git a/tools/xtask/Cargo.toml b/tools/xtask/Cargo.toml index efb8096994..63da5b076f 100644 --- a/tools/xtask/Cargo.toml +++ b/tools/xtask/Cargo.toml @@ -24,3 +24,4 @@ schemars = { workspace = true } serde_json = { workspace = true } tokio = { workspace = true } tonic = { workspace = true } +workspace-hack = { version = "0.1", path = "../../workspace-hack" } diff --git a/workspace-hack/.gitattributes b/workspace-hack/.gitattributes new file mode 100644 index 0000000000..3e9dba4b64 --- /dev/null +++ b/workspace-hack/.gitattributes @@ -0,0 +1,4 @@ +# Avoid putting conflict markers in the generated Cargo.toml file, since their presence breaks +# Cargo. +# Also do not check out the file as CRLF on Windows, as that's what hakari needs. +Cargo.toml merge=binary -crlf diff --git a/workspace-hack/Cargo.toml b/workspace-hack/Cargo.toml new file mode 100644 index 0000000000..9b7ab3cd9e --- /dev/null +++ b/workspace-hack/Cargo.toml @@ -0,0 +1,282 @@ +# This file is generated by `cargo hakari`. +# To regenerate, run: +# cargo hakari generate + +[package] +name = "workspace-hack" +version = "0.1.0" +edition = "2021" +description = "workspace-hack package, managed by hakari" +# You can choose to publish this crate: see https://docs.rs/cargo-hakari/latest/cargo_hakari/publishing. +publish = false + +# The parts of the file between the BEGIN HAKARI SECTION and END HAKARI SECTION comments +# are managed by hakari. + +### BEGIN HAKARI SECTION +[dependencies] +ahash = { version = "0.8", features = ["serde"] } +arrayvec = { version = "0.7", default-features = false, features = ["std"] } +arrow-array = { version = "53", default-features = false, features = ["chrono-tz"] } +arrow-cast = { version = "53", default-features = false, features = ["prettyprint"] } +arrow-ipc = { version = "53", features = ["lz4"] } +axum = { version = "0.7", features = ["http2"] } +axum-core = { version = "0.4", default-features = false, features = ["tracing"] } +bytes = { version = "1", features = ["serde"] } +bzip2-sys = { version = "0.1", default-features = false, features = ["static"] } +chrono = { version = "0.4", features = ["serde"] } +clap = { version = "4", default-features = false, features = ["color", "derive", "env", "error-context", "help", "std", "suggestions", "usage", "wrap_help"] } +clap_builder = { version = "4", default-features = false, features = ["color", "env", "std", "suggestions", "usage", "wrap_help"] } +comfy-table = { version = "7" } +criterion = { version = "0.5", features = ["async_tokio"] } +crossbeam-channel = { version = "0.5" } +crossbeam-deque = { version = "0.8" } +crossbeam-epoch = { version = "0.9" } +crossbeam-utils = { version = "0.8" } +digest = { version = "0.10", features = ["mac", "std"] } +either = { version = "1" } +enum-map = { version = "2", default-features = false, features = ["serde"] } +enumset = { version = "1", default-features = false, features = ["serde"] } +flate2 = { version = "1" } +futures = { version = "0.3" } +futures-channel = { version = "0.3", features = ["sink"] } +futures-core = { version = "0.3" } +futures-executor = { version = "0.3" } +futures-io = { version = "0.3", default-features = false, features = ["std"] } +futures-sink = { version = "0.3" } +futures-util = { version = "0.3", features = ["channel", "io", "sink"] } +getrandom = { version = "0.2", default-features = false, features = ["std"] } +half = { version = "2", default-features = false, features = ["num-traits"] } +hashbrown-3575ec1268b04181 = { package = "hashbrown", version = "0.15", default-features = false, features = ["default-hasher", "raw-entry"] } +hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14", features = ["raw"] } +hdrhistogram = { version = "7" } +hex = { version = "0.4" } +hmac = { version = "0.12", default-features = false, features = ["reset"] } +hyper-582f2526e08bb6a0 = { package = "hyper", version = "0.14", features = ["client", "http1", "http2", "runtime", "server", "stream"] } +hyper-dff4ba8e3ae991db = { package = "hyper", version = "1", features = ["full"] } +hyper-rustls-adf3d7031871b0af = { package = "hyper-rustls", version = "0.24", features = ["http2"] } +hyper-util = { version = "0.1", features = ["full"] } +idna = { version = "1" } +indexmap-dff4ba8e3ae991db = { package = "indexmap", version = "1", default-features = false, features = ["serde-1"] } +indexmap-f595c2ba2a3f28df = { package = "indexmap", version = "2", features = ["serde"] } +itertools = { version = "0.12" } +lazy-regex = { version = "3", features = ["lite"] } +libc = { version = "0.2", features = ["extra_traits"] } +libz-sys = { version = "1", features = ["static"] } +log = { version = "0.4", default-features = false, features = ["std"] } +md-5 = { version = "0.10" } +memchr = { version = "2" } +nom = { version = "7" } +num-bigint = { version = "0.4" } +num-integer = { version = "0.1", features = ["i128"] } +num-traits = { version = "0.2", features = ["i128", "libm"] } +opentelemetry_sdk = { version = "0.27", features = ["rt-tokio"] } +petgraph = { version = "0.6" } +phf_shared = { version = "0.11" } +pprof = { version = "0.14", features = ["criterion", "flamegraph", "frame-pointer"] } +proc-macro2 = { version = "1" } +prost = { version = "0.13", features = ["prost-derive"] } +prost-types = { version = "0.13" } +quote = { version = "1" } +rand = { version = "0.8", features = ["small_rng"] } +rand_core = { version = "0.6", default-features = false, features = ["std"] } +regex = { version = "1" } +regex-automata = { version = "0.4", default-features = false, features = ["dfa", "hybrid", "meta", "nfa", "perf", "unicode"] } +regex-syntax = { version = "0.8" } +reqwest = { version = "0.12", default-features = false, features = ["blocking", "http2", "json", "rustls-tls", "rustls-tls-native-roots", "stream"] } +ring = { version = "0.17", features = ["std"] } +rustls-647d43efb71741da = { package = "rustls", version = "0.21" } +schemars = { version = "0.8", features = ["bytes", "enumset", "preserve_order"] } +semver = { version = "1", features = ["serde"] } +serde = { version = "1", features = ["alloc", "derive", "rc"] } +serde_json = { version = "1", features = ["alloc", "raw_value", "unbounded_depth"] } +serde_with = { version = "3", features = ["hex"] } +smallvec = { version = "1", default-features = false, features = ["const_new", "serde"] } +stable_deref_trait = { version = "1" } +strum = { version = "0.26", features = ["derive"] } +syn-f595c2ba2a3f28df = { package = "syn", version = "2", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } +sync_wrapper = { version = "1", default-features = false, features = ["futures"] } +time = { version = "0.3", features = ["formatting", "local-offset", "macros", "parsing"] } +tokio = { version = "1", features = ["full", "test-util", "tracing"] } +tokio-rustls = { version = "0.26", default-features = false, features = ["logging", "ring", "tls12"] } +tokio-stream = { version = "0.1", features = ["net", "sync"] } +tokio-util = { version = "0.7", features = ["codec", "io-util", "net", "rt"] } +toml_datetime = { version = "0.6", default-features = false, features = ["serde"] } +toml_edit = { version = "0.22", features = ["serde"] } +tonic = { version = "0.12", features = ["gzip", "tls-roots"] } +tower-9fbad63c4bcf4a8f = { package = "tower", version = "0.4", features = ["balance", "buffer", "limit", "load-shed", "retry", "timeout", "util"] } +tower-d8f496e17d97b5cb = { package = "tower", version = "0.5", default-features = false, features = ["log", "make", "util"] } +tower-http = { version = "0.5", default-features = false, features = ["cors", "normalize-path", "trace"] } +tracing = { version = "0.1", features = ["log", "max_level_debug", "release_max_level_debug"] } +tracing-core = { version = "0.1" } +tracing-log = { version = "0.2" } +tracing-subscriber = { version = "0.3", features = ["env-filter", "json", "parking_lot"] } +url = { version = "2", features = ["serde"] } +uuid = { version = "1", features = ["serde", "v4", "v7"] } +zerocopy = { version = "0.7", features = ["derive", "simd"] } +zeroize = { version = "1", features = ["zeroize_derive"] } +zstd-sys = { version = "2", features = ["experimental", "std"] } + +[build-dependencies] +ahash = { version = "0.8", features = ["serde"] } +arrayvec = { version = "0.7", default-features = false, features = ["std"] } +arrow-array = { version = "53", default-features = false, features = ["chrono-tz"] } +arrow-cast = { version = "53", default-features = false, features = ["prettyprint"] } +arrow-ipc = { version = "53", features = ["lz4"] } +axum = { version = "0.7", features = ["http2"] } +axum-core = { version = "0.4", default-features = false, features = ["tracing"] } +bytes = { version = "1", features = ["serde"] } +bzip2-sys = { version = "0.1", default-features = false, features = ["static"] } +cc = { version = "1", default-features = false, features = ["parallel"] } +chrono = { version = "0.4", features = ["serde"] } +clap = { version = "4", default-features = false, features = ["color", "derive", "env", "error-context", "help", "std", "suggestions", "usage", "wrap_help"] } +clap_builder = { version = "4", default-features = false, features = ["color", "env", "std", "suggestions", "usage", "wrap_help"] } +comfy-table = { version = "7" } +criterion = { version = "0.5", features = ["async_tokio"] } +crossbeam-channel = { version = "0.5" } +crossbeam-deque = { version = "0.8" } +crossbeam-epoch = { version = "0.9" } +crossbeam-utils = { version = "0.8" } +digest = { version = "0.10", features = ["mac", "std"] } +either = { version = "1" } +enum-map = { version = "2", default-features = false, features = ["serde"] } +enumset = { version = "1", default-features = false, features = ["serde"] } +enumset_derive = { version = "0.10", default-features = false, features = ["serde"] } +flate2 = { version = "1" } +futures = { version = "0.3" } +futures-channel = { version = "0.3", features = ["sink"] } +futures-core = { version = "0.3" } +futures-executor = { version = "0.3" } +futures-io = { version = "0.3", default-features = false, features = ["std"] } +futures-sink = { version = "0.3" } +futures-util = { version = "0.3", features = ["channel", "io", "sink"] } +getrandom = { version = "0.2", default-features = false, features = ["std"] } +half = { version = "2", default-features = false, features = ["num-traits"] } +hashbrown-3575ec1268b04181 = { package = "hashbrown", version = "0.15", default-features = false, features = ["default-hasher", "raw-entry"] } +hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14", features = ["raw"] } +hdrhistogram = { version = "7" } +hex = { version = "0.4" } +hmac = { version = "0.12", default-features = false, features = ["reset"] } +hyper-582f2526e08bb6a0 = { package = "hyper", version = "0.14", features = ["client", "http1", "http2", "runtime", "server", "stream"] } +hyper-dff4ba8e3ae991db = { package = "hyper", version = "1", features = ["full"] } +hyper-rustls-adf3d7031871b0af = { package = "hyper-rustls", version = "0.24", features = ["http2"] } +hyper-util = { version = "0.1", features = ["full"] } +idna = { version = "1" } +indexmap-dff4ba8e3ae991db = { package = "indexmap", version = "1", default-features = false, features = ["serde-1"] } +indexmap-f595c2ba2a3f28df = { package = "indexmap", version = "2", features = ["serde"] } +itertools = { version = "0.12" } +lazy-regex = { version = "3", features = ["lite"] } +libc = { version = "0.2", features = ["extra_traits"] } +libz-sys = { version = "1", features = ["static"] } +log = { version = "0.4", default-features = false, features = ["std"] } +md-5 = { version = "0.10" } +memchr = { version = "2" } +nom = { version = "7" } +num-bigint = { version = "0.4" } +num-integer = { version = "0.1", features = ["i128"] } +num-traits = { version = "0.2", features = ["i128", "libm"] } +opentelemetry_sdk = { version = "0.27", features = ["rt-tokio"] } +petgraph = { version = "0.6" } +phf_shared = { version = "0.11" } +pprof = { version = "0.14", features = ["criterion", "flamegraph", "frame-pointer"] } +proc-macro2 = { version = "1" } +prost = { version = "0.13", features = ["prost-derive"] } +prost-types = { version = "0.13" } +quote = { version = "1" } +rand = { version = "0.8", features = ["small_rng"] } +rand_core = { version = "0.6", default-features = false, features = ["std"] } +regex = { version = "1" } +regex-automata = { version = "0.4", default-features = false, features = ["dfa", "hybrid", "meta", "nfa", "perf", "unicode"] } +regex-syntax = { version = "0.8" } +reqwest = { version = "0.12", default-features = false, features = ["blocking", "http2", "json", "rustls-tls", "rustls-tls-native-roots", "stream"] } +ring = { version = "0.17", features = ["std"] } +rustls-647d43efb71741da = { package = "rustls", version = "0.21" } +schemars = { version = "0.8", features = ["bytes", "enumset", "preserve_order"] } +semver = { version = "1", features = ["serde"] } +serde = { version = "1", features = ["alloc", "derive", "rc"] } +serde_json = { version = "1", features = ["alloc", "raw_value", "unbounded_depth"] } +serde_with = { version = "3", features = ["hex"] } +smallvec = { version = "1", default-features = false, features = ["const_new", "serde"] } +stable_deref_trait = { version = "1" } +strum = { version = "0.26", features = ["derive"] } +syn-dff4ba8e3ae991db = { package = "syn", version = "1", features = ["extra-traits", "full", "visit"] } +syn-f595c2ba2a3f28df = { package = "syn", version = "2", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } +sync_wrapper = { version = "1", default-features = false, features = ["futures"] } +time = { version = "0.3", features = ["formatting", "local-offset", "macros", "parsing"] } +tokio = { version = "1", features = ["full", "test-util", "tracing"] } +tokio-rustls = { version = "0.26", default-features = false, features = ["logging", "ring", "tls12"] } +tokio-stream = { version = "0.1", features = ["net", "sync"] } +tokio-util = { version = "0.7", features = ["codec", "io-util", "net", "rt"] } +toml_datetime = { version = "0.6", default-features = false, features = ["serde"] } +toml_edit = { version = "0.22", features = ["serde"] } +tonic = { version = "0.12", features = ["gzip", "tls-roots"] } +tower-9fbad63c4bcf4a8f = { package = "tower", version = "0.4", features = ["balance", "buffer", "limit", "load-shed", "retry", "timeout", "util"] } +tower-d8f496e17d97b5cb = { package = "tower", version = "0.5", default-features = false, features = ["log", "make", "util"] } +tower-http = { version = "0.5", default-features = false, features = ["cors", "normalize-path", "trace"] } +tracing = { version = "0.1", features = ["log", "max_level_debug", "release_max_level_debug"] } +tracing-core = { version = "0.1" } +tracing-log = { version = "0.2" } +tracing-subscriber = { version = "0.3", features = ["env-filter", "json", "parking_lot"] } +url = { version = "2", features = ["serde"] } +uuid = { version = "1", features = ["serde", "v4", "v7"] } +zerocopy = { version = "0.7", features = ["derive", "simd"] } +zeroize = { version = "1", features = ["zeroize_derive"] } +zstd-sys = { version = "2", features = ["experimental", "std"] } + +[target.x86_64-unknown-linux-gnu.dependencies] +crossterm = { version = "0.28" } +hyper-rustls-754bda37e0fb3874 = { package = "hyper-rustls", version = "0.27", default-features = false, features = ["http1", "http2", "logging", "native-tokio", "ring", "tls12", "webpki-tokio"] } +libc = { version = "0.2", default-features = false, features = ["use_std"] } +mio = { version = "1", features = ["net", "os-ext"] } +nix = { version = "0.29", features = ["fs", "signal"] } +num = { version = "0.4" } +prost = { version = "0.13", default-features = false, features = ["no-recursion-limit"] } +rustix = { version = "0.38", features = ["fs", "stdio", "termios"] } +rustls-2b5c6dc72f624058 = { package = "rustls", version = "0.23", default-features = false, features = ["logging", "ring", "std", "tls12"] } +signal-hook-mio = { version = "0.2", default-features = false, features = ["support-v0_8", "support-v1_0"] } +tikv-jemalloc-sys = { version = "0.6", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] } +tikv-jemallocator = { version = "0.6", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] } + +[target.x86_64-unknown-linux-gnu.build-dependencies] +crossterm = { version = "0.28" } +hyper-rustls-754bda37e0fb3874 = { package = "hyper-rustls", version = "0.27", default-features = false, features = ["http1", "http2", "logging", "native-tokio", "ring", "tls12", "webpki-tokio"] } +libc = { version = "0.2", default-features = false, features = ["use_std"] } +mio = { version = "1", features = ["net", "os-ext"] } +nix = { version = "0.29", features = ["fs", "signal"] } +num = { version = "0.4" } +prost = { version = "0.13", default-features = false, features = ["no-recursion-limit"] } +rustix = { version = "0.38", features = ["fs", "stdio", "termios"] } +rustls-2b5c6dc72f624058 = { package = "rustls", version = "0.23", default-features = false, features = ["logging", "ring", "std", "tls12"] } +signal-hook-mio = { version = "0.2", default-features = false, features = ["support-v0_8", "support-v1_0"] } +tikv-jemalloc-sys = { version = "0.6", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] } +tikv-jemallocator = { version = "0.6", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] } + +[target.aarch64-apple-darwin.dependencies] +crossterm = { version = "0.28" } +hyper-rustls-754bda37e0fb3874 = { package = "hyper-rustls", version = "0.27", default-features = false, features = ["http1", "http2", "logging", "native-tokio", "ring", "tls12", "webpki-tokio"] } +libc = { version = "0.2", default-features = false, features = ["use_std"] } +mio = { version = "1", features = ["net", "os-ext"] } +nix = { version = "0.29", features = ["fs", "signal"] } +num = { version = "0.4" } +prost = { version = "0.13", default-features = false, features = ["no-recursion-limit"] } +rustix = { version = "0.38", features = ["fs", "stdio", "termios"] } +rustls-2b5c6dc72f624058 = { package = "rustls", version = "0.23", default-features = false, features = ["logging", "ring", "std", "tls12"] } +signal-hook-mio = { version = "0.2", default-features = false, features = ["support-v0_8", "support-v1_0"] } +tikv-jemalloc-sys = { version = "0.6", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] } +tikv-jemallocator = { version = "0.6", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] } + +[target.aarch64-apple-darwin.build-dependencies] +crossterm = { version = "0.28" } +hyper-rustls-754bda37e0fb3874 = { package = "hyper-rustls", version = "0.27", default-features = false, features = ["http1", "http2", "logging", "native-tokio", "ring", "tls12", "webpki-tokio"] } +libc = { version = "0.2", default-features = false, features = ["use_std"] } +mio = { version = "1", features = ["net", "os-ext"] } +nix = { version = "0.29", features = ["fs", "signal"] } +num = { version = "0.4" } +prost = { version = "0.13", default-features = false, features = ["no-recursion-limit"] } +rustix = { version = "0.38", features = ["fs", "stdio", "termios"] } +rustls-2b5c6dc72f624058 = { package = "rustls", version = "0.23", default-features = false, features = ["logging", "ring", "std", "tls12"] } +signal-hook-mio = { version = "0.2", default-features = false, features = ["support-v0_8", "support-v1_0"] } +tikv-jemalloc-sys = { version = "0.6", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] } +tikv-jemallocator = { version = "0.6", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] } + +### END HAKARI SECTION diff --git a/workspace-hack/build.rs b/workspace-hack/build.rs new file mode 100644 index 0000000000..92518ef04c --- /dev/null +++ b/workspace-hack/build.rs @@ -0,0 +1,2 @@ +// A build script is required for cargo to consider build dependencies. +fn main() {} diff --git a/workspace-hack/src/lib.rs b/workspace-hack/src/lib.rs new file mode 100644 index 0000000000..22489f632b --- /dev/null +++ b/workspace-hack/src/lib.rs @@ -0,0 +1 @@ +// This is a stub lib.rs.