diff --git a/Cargo.lock b/Cargo.lock index faecefeb90..47f9ebf1d0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,7 +23,7 @@ version = "0.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" dependencies = [ - "getrandom 0.2.9", + "getrandom", "once_cell", "version_check", ] @@ -35,7 +35,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01" dependencies = [ "cfg-if", - "getrandom 0.2.9", + "getrandom", "once_cell", "version_check", "zerocopy", @@ -293,10 +293,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b62ddb9cb1ec0a098ad4bbf9344d0713fa193ae1a80af55febcff2627b6a00c1" dependencies = [ "futures-core", - "getrandom 0.2.9", + "getrandom", "instant", "pin-project-lite", - "rand 0.8.5", + "rand", "tokio", ] @@ -368,11 +368,11 @@ dependencies = [ "nom-sql", "nom_locate", "num-integer", - "parking_lot 0.11.2", + "parking_lot 0.12.1", "prometheus-parse", "proptest", "query-generator", - "rand 0.8.5", + "rand", "rand_distr", "readyset-adapter", "readyset-client", @@ -1236,7 +1236,7 @@ dependencies = [ "mysql_async", "nom-sql", "proptest", - "rand 0.8.5", + "rand", "rand_regex", "readyset-data", "rust_decimal", @@ -1318,7 +1318,7 @@ dependencies = [ "pretty_assertions", "proptest", "proptest-stateful", - "rand 0.7.3", + "rand", "readyset-alloc", "readyset-client", "readyset-common", @@ -1646,7 +1646,7 @@ checksum = "ec3245a0ca564e7f3c797d20d833a6870f57a728ac967d5225b3ffdef4465011" dependencies = [ "lazy_static", "log", - "rand 0.8.5", + "rand", ] [[package]] @@ -1969,17 +1969,6 @@ dependencies = [ "version_check", ] -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", -] - [[package]] name = "getrandom" version = "0.2.9" @@ -1988,7 +1977,7 @@ checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" dependencies = [ "cfg-if", "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", ] [[package]] @@ -2108,7 +2097,7 @@ name = "health-reporter" version = "0.1.0" dependencies = [ "chrono", - "parking_lot 0.11.2", + "parking_lot 0.12.1", ] [[package]] @@ -2882,7 +2871,7 @@ checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" dependencies = [ "libc", "log", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", "windows-sys 0.48.0", ] @@ -2938,7 +2927,7 @@ dependencies = [ "byteorder", "chrono", "futures", - "getrandom 0.2.9", + "getrandom", "mysql", "mysql-time", "mysql_async", @@ -2992,7 +2981,7 @@ dependencies = [ "pem", "percent-encoding", "pin-project", - "rand 0.8.5", + "rand", "serde", "serde_json", "socket2 0.5.3", @@ -3028,7 +3017,7 @@ dependencies = [ "mysql-common-derive", "num-bigint", "num-traits", - "rand 0.8.5", + "rand", "regex", "rust_decimal", "saturating", @@ -3456,7 +3445,7 @@ dependencies = [ "opentelemetry", "ordered-float 4.2.0", "percent-encoding", - "rand 0.8.5", + "rand", "thiserror", "tokio", "tokio-stream", @@ -3628,7 +3617,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1181c94580fa345f50f19d738aaa39c0ed30a600d95cb2d3e23f94266f14fbf" dependencies = [ "phf_shared", - "rand 0.8.5", + "rand", ] [[package]] @@ -3785,7 +3774,7 @@ dependencies = [ "hmac", "md-5", "memchr", - "rand 0.8.5", + "rand", "sha2", "stringprep", ] @@ -3962,8 +3951,8 @@ dependencies = [ "lazy_static", "num-traits", "quick-error 2.0.1", - "rand 0.8.5", - "rand_chacha 0.3.1", + "rand", + "rand_chacha", "rand_xorshift", "regex-syntax 0.6.29", "rusty-fork", @@ -3976,7 +3965,7 @@ version = "0.1.3" dependencies = [ "async-trait", "proptest", - "rand 0.8.5", + "rand", "tokio", ] @@ -4034,7 +4023,7 @@ dependencies = [ "postgres-native-tls", "postgres-protocol", "postgres-types", - "rand 0.8.5", + "rand", "readyset-adapter-types", "readyset-data", "readyset-tracing", @@ -4065,7 +4054,7 @@ dependencies = [ "mach2", "once_cell", "raw-cpuid", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", "web-sys", "winapi", ] @@ -4087,9 +4076,9 @@ dependencies = [ "lazy_static", "mysql_async", "nom-sql", - "parking_lot 0.11.2", + "parking_lot 0.12.1", "proptest", - "rand 0.8.5", + "rand", "rand_regex", "readyset-data", "readyset-sql-passes", @@ -4170,19 +4159,6 @@ dependencies = [ "nibble_vec", ] -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] - [[package]] name = "rand" version = "0.8.5" @@ -4190,18 +4166,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" -dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", + "rand_chacha", + "rand_core", ] [[package]] @@ -4211,16 +4177,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", + "rand_core", ] [[package]] @@ -4229,7 +4186,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.9", + "getrandom", ] [[package]] @@ -4239,16 +4196,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" dependencies = [ "num-traits", - "rand 0.8.5", -] - -[[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -dependencies = [ - "rand_core 0.5.1", + "rand", ] [[package]] @@ -4257,7 +4205,7 @@ version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b2a9fe2d7d9eeaf3279d1780452a5bbd26b31b27938787ef1c3e930d1e9cfbd" dependencies = [ - "rand 0.8.5", + "rand", "regex-syntax 0.6.29", ] @@ -4267,7 +4215,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" dependencies = [ - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -4314,7 +4262,7 @@ dependencies = [ "left-right", "partial-map", "proptest", - "rand 0.7.3", + "rand", "readyset-client", "readyset-util", "smallvec", @@ -4405,10 +4353,10 @@ dependencies = [ "mysql_common", "nom", "nom-sql", - "parking_lot 0.11.2", + "parking_lot 0.12.1", "proptest", "quanta", - "rand 0.8.5", + "rand", "readyset-adapter-types", "readyset-alloc", "readyset-client", @@ -4506,10 +4454,10 @@ dependencies = [ "nom", "nom-sql", "nom_locate", - "parking_lot 0.11.2", + "parking_lot 0.12.1", "petgraph", "proptest", - "rand 0.8.5", + "rand", "readyset-data", "readyset-errors", "readyset-sql-passes", @@ -4600,7 +4548,7 @@ dependencies = [ "itertools", "mysql_async", "nom-sql", - "rand 0.8.5", + "rand", "readyset-adapter", "readyset-client", "readyset-client-metrics", @@ -4723,7 +4671,7 @@ dependencies = [ "petgraph", "pin-project", "proptest", - "rand 0.7.3", + "rand", "reader-map", "readyset-alloc", "readyset-client", @@ -4927,7 +4875,7 @@ dependencies = [ "postgres-types", "proptest", "psql-srv", - "rand 0.8.5", + "rand", "readyset-adapter", "readyset-adapter-types", "readyset-client", @@ -5016,12 +4964,12 @@ dependencies = [ "nom-sql", "num_cpus", "once_cell", - "parking_lot 0.11.2", + "parking_lot 0.12.1", "petgraph", "pin-project", "proptest", "querystring", - "rand 0.7.3", + "rand", "readyset-alloc", "readyset-alloc-metrics", "readyset-client", @@ -5137,7 +5085,7 @@ dependencies = [ "opentelemetry-semantic-conventions", "opentelemetry_sdk", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "serde", "thiserror", "tokio", @@ -5165,7 +5113,7 @@ dependencies = [ "postgres 0.19.7", "pprof", "proptest", - "rand 0.8.5", + "rand", "rust_decimal", "serde", "serde_json", @@ -5229,7 +5177,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64" dependencies = [ - "getrandom 0.2.9", + "getrandom", "redox_syscall 0.2.16", ] @@ -5308,7 +5256,7 @@ dependencies = [ "postgres-types", "proptest", "proptest-stateful", - "rand 0.8.5", + "rand", "readyset-client", "readyset-client-test-helpers", "readyset-data", @@ -6539,7 +6487,7 @@ dependencies = [ "pin-project-lite", "postgres-protocol", "postgres-types", - "rand 0.8.5", + "rand", "socket2 0.5.3", "tokio", "tokio-util 0.7.2", @@ -6553,7 +6501,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" dependencies = [ "pin-project", - "rand 0.8.5", + "rand", "tokio", ] @@ -6710,7 +6658,7 @@ dependencies = [ "indexmap 1.9.3", "pin-project", "pin-project-lite", - "rand 0.8.5", + "rand", "slab", "tokio", "tokio-util 0.7.2", @@ -6872,7 +6820,7 @@ dependencies = [ "idna", "ipnet", "lazy_static", - "rand 0.8.5", + "rand", "smallvec", "thiserror", "tinyvec", @@ -6924,7 +6872,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", - "rand 0.8.5", + "rand", "static_assertions", ] @@ -7025,7 +6973,7 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" dependencies = [ - "getrandom 0.2.9", + "getrandom", ] [[package]] @@ -7120,12 +7068,6 @@ dependencies = [ "try-lock", ] -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -7553,7 +7495,7 @@ version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835688a7a1b5d2dfaeb5b7e1b4cfb979e7095a70cd1c72fe083f4904ef3e995e" dependencies = [ - "rand 0.8.5", + "rand", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index ed8b9aa271..4be2086470 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,6 +66,7 @@ clap = "4.3" consulrs = { git = "https://github.com/readysettech/consulrs.git", branch = "allow-disabling-rustls-tls-2" } criterion = "0.5" eui48 = { git = "https://github.com/readysettech/eui48.git", branch = "master", default-features = false } +fork = "0.1" mysql_async = { git = "https://github.com/readysettech/mysql_async" } nperf-core = { git = "https://github.com/readysettech/not-perf.git" } postgres = { git = "https://github.com/readysettech/rust-postgres.git"} @@ -79,6 +80,171 @@ rocksdb = { git = "https://github.com/readysettech/rust-rocksdb.git", default-fe metrics-exporter-prometheus = { git = "https://github.com/readysettech/metrics.git" } metrics = { git = "https://github.com/readysettech/metrics.git" } metrics-util = { git = "https://github.com/readysettech/metrics.git" } +ahash = "0.7" +anyhow = "1.0.42" +assert_approx_eq = "1.1.0" +assert_unordered = "0.3" +async-bincode = "0.6.1" +async-stream = "0.3.2" +async-trait = "0.1" +atomic-counter = "1.0.1" +backoff = "0.4.0" +backtrace = "=0.3.65" +bimap = "0.6.3" +bincode = "1.3.3" +bit-vec = "0.6" +blake2 = "0.10" +bufstream = "0.1.3" +byteorder = "1.0.0" +bytes = "1.0.1" +chashmap = "2.1.0" +chrono = "0.4.19" +chrono-tz = "0.8.6" +cidr = "0.2.1" +cloudflare-zlib = "0.2.9" +console = "0.15.5" +const-str = "0.5" +crossbeam-skiplist = "0.1.1" +csv = "1.2" +dashmap = "4.0.2" +deadpool-postgres = "0.10.3" +derive_builder = "0.11.2" +derive_more = "0.99.17" +diff = "0.1.10" +enum-display-derive = "0.1.1" +enum-kinds = "0.5.1" +enum_dispatch = "0.3.7" +envy = "0.4" +fail = "0.5.0" +fallible-iterator = "0.2.0" +fixedbitset = { version = "0.2.0", default-features = false } +futures = "0.3.21" +futures-core = "0.3.14" +futures-executor = "0.3.14" +futures-sink = "0.3.14" +futures-util = "0.3.14" +fxhash = "0.2.1" +getrandom = "0.2.2" +growable-bloom-filter = "2.0.1" +hashbag = "0.1.2" +hdrhistogram = "7.4" +hex = "0.4.3" +hmac = "0.12.1" +humantime = "2.1" +hyper = "0.14.10" +include_dir = "0.6.2" +indexmap = { version = "1.9.2", default-features = false } +indicatif = "0.17" +indoc = "1.0.3" +iter-enum = "1.1.1" +itertools = "0.10.4" +lazy_static = "1.4.0" +left-right = "0.11" +libc = "0.2" +lru = "0.12.0" +machine-uid = "0.2" +md5 = "0.7.0" +mysql = "25" +mysql_common = "0.32" +native-tls = "0.2.8" +ndarray = "0.15.4" +nom = "7.1.1" +nom_locate = "4.0.0" +notify = "6.1.1" +num-integer = "0.1.44" +num_cpus = "1.16.0" +once_cell = "1.14" +opentelemetry = "0.21.0" +opentelemetry-otlp = "0.14.0" +opentelemetry-semantic-conventions = "0.13" +opentelemetry_sdk = "0.21.2" +parking_lot = "0.12.0" +paste = "1.0.5" +petgraph = "0.5" +pin-project = "1.0" +pprof = "0.13" +pratt = "0.3.0" +pretty_assertions = "1.4.0" +prettytable = "0.10.0" +proc-macro2 = "1" +prometheus-parse = "0.2.2" +proptest = "1.0.0" +quanta = { version = "0.11", default-features = false } +querystring = "1.1.0" +quote = "1.0.8" +rand = "0.8.5" +rand_distr = "0.4" +rand_regex = "0.15.1" +redis = "0.23.3" +regex = "1.8.4" +reqwest = "0.11.20" +rlimit = "0.10.1" +rmp-serde = "1.1.2" +rust_decimal = "1.26" +rusty-fork = "0.3.0" +rustyline = "11.0" +rustyline-derive = "0.6.0" +scopeguard = "1.1.0" +serde = "1.0.137" +serde_bytes = "0.11" +serde_derive = "1.0.8" +serde_json = "1.0.89" +serde_stacker = "0.1.7" +serde_with = "1.12" +serde_with_macros = "2.0.0" +serde_yaml = "0.8" +serial_test = "0.5.1" +sha-1 = "0.10.0" +sha1 = "0.10" +sha2 = "0.10.6" +slab = "0.4.2" +slotmap = "1.0.6" +smallvec = { version = "1.9.0", default-features = false } +socket2 = "0.4" +sqlformat = "0.2.1" +sqlparser = "0.41.0" +strawpoll = "0.2.2" +streaming-iterator = "0.1" +stringprep = "0.1.2" +structopt = "0.2" +strum = "0.23" +strum_macros = "0.23" +syn = { version = "1.0.57", default-features = false } +temp-dir = "0.1" +tempfile = "3.8.1" +test-strategy = "0.2.0" +textwrap = "0.14" +thiserror = "1.0.31" +tikv-jemalloc-ctl = "0.5.0" +tikv-jemalloc-sys = "0.5.0" +tikv-jemallocator = "0.5.0" +time = "0.3" +timekeeper = { version = "0.3.2", default-features = false } +tokio-native-tls = "0.3.1" +tokio-retry = "0.3" +tokio-scoped = "0.2.0" +tokio-stream = "0.1.5" +tokio-tower = "0.5.1" +tokio-util = "0.6.6" +toml = "0.5" +tower = "0.4.6" +tower-layer = "0.3.1" +tower-service = "0.3.1" +tracing = "0.1.40" +tracing-appender = "0.2.3" +tracing-attributes = "0.1.27" +tracing-futures = "0.2.5" +tracing-opentelemetry = "0.22.0" +tracing-subscriber = "0.3.9" +triomphe = "0.1" +tuple = "0.5.1" +url = "2.2.2" +uuid = "0.8" +vec1 = "1.8.0" +vec_map = "0.8.0" +vmemcached = "0.5.0" +walkdir = "2.3.2" +zipf = "7.0.0" [profile.release] debug=true diff --git a/array2/Cargo.toml b/array2/Cargo.toml index f6fe3e81ef..ad405fc0cb 100644 --- a/array2/Cargo.toml +++ b/array2/Cargo.toml @@ -6,5 +6,5 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -serde = { version = "1.0.137", features = ["derive"] } -thiserror = "1.0.31" +serde = { workspace = true, features = ["derive"] } +thiserror = { workspace = true } diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml index d20fdfa438..b48a2fb036 100644 --- a/benchmarks/Cargo.toml +++ b/benchmarks/Cargo.toml @@ -6,45 +6,45 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -crossbeam-skiplist = "0.1.1" +crossbeam-skiplist = { workspace = true } tokio = { workspace = true, features = ["full"] } -anyhow = "1.0.38" -csv = "1.2" -nom = "7.1" -nom_locate = "4.0.0" -rand = "0.8.3" -rand_distr = "0.4" -tracing = "0.1.29" -async-trait = "0.1" -enum_dispatch = "0.3.7" -futures = "0.3" -vec1 = "1.8.0" -url = "2.2.2" -hdrhistogram = "7.4" -zipf = "7.0.0" +anyhow = { workspace = true } +csv = { workspace = true } +nom = { workspace = true } +nom_locate = { workspace = true } +rand = { workspace = true } +rand_distr = { workspace = true } +tracing = { workspace = true } +async-trait = { workspace = true } +enum_dispatch = { workspace = true } +futures = { workspace = true } +vec1 = { workspace = true } +url = { workspace = true } +hdrhistogram = { workspace = true } +zipf = { workspace = true } clap = { workspace = true, features = ["derive", "env"] } -reqwest = { version = "0.11.20", features = ["stream", "native-tls"] } -chrono = "0.4" -atomic-counter = "1.0.1" -serde_json = "1.0" -serde_yaml = "0.8" -serde = "1.0" -serde_with = "1.12" +reqwest = { workspace = true, features = ["stream", "native-tls"] } +chrono = { workspace = true } +atomic-counter = { workspace = true } +serde_json = { workspace = true } +serde_yaml = { workspace = true } +serde = { workspace = true } +serde_with = { workspace = true } metrics = { workspace = true } metrics-util = { workspace = true } metrics-exporter-prometheus = { workspace = true } -itertools = "0.10" -num-integer = "0.1.44" -lazy_static = "1.4.0" -thiserror = "1.0.30" -async-stream = "0.3.2" -parking_lot = "0.11.2" -indicatif = "0.17" -prometheus-parse = "0.2.2" -walkdir = "2.3" +itertools = { workspace = true } +num-integer = { workspace = true } +lazy_static = { workspace = true } +thiserror = { workspace = true } +async-stream = { workspace = true } +parking_lot = { workspace = true } +indicatif = { workspace = true } +prometheus-parse = { workspace = true } +walkdir = { workspace = true } tokio-postgres = { workspace = true } -vmemcached = "0.5.0" -redis = { version = "0.23.3", features = ["tokio-comp", "aio"] } +vmemcached = { workspace = true } +redis = { workspace = true, features = ["tokio-comp", "aio"] } # local dependencies database-utils = { path = "../database-utils" } @@ -96,8 +96,8 @@ path = "src/bin/snapshot_time.rs" [features] [dev-dependencies] -indoc = "1.0.3" -itertools = "0.10" -proptest = "1.0.0" -test-strategy = "0.2.0" -url = "2.2.2" +indoc = { workspace = true } +itertools = { workspace = true } +proptest = { workspace = true } +test-strategy = { workspace = true } +url = { workspace = true } diff --git a/concrete-iter/Cargo.toml b/concrete-iter/Cargo.toml index b7c92a1e04..fcd9f615d2 100644 --- a/concrete-iter/Cargo.toml +++ b/concrete-iter/Cargo.toml @@ -6,9 +6,9 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -syn = { version = "1.0.57", features = ["full", "parsing", "printing", "visit", "visit-mut", "extra-traits"] } -quote = "1.0.8" -proc-macro2 = "1" +syn = { workspace = true, features = ["full", "parsing", "printing", "visit", "visit-mut", "extra-traits"] } +quote = { workspace = true } +proc-macro2 = { workspace = true } [lib] proc-macro = true diff --git a/data-generator/Cargo.toml b/data-generator/Cargo.toml index 10605eff03..3030837dec 100644 --- a/data-generator/Cargo.toml +++ b/data-generator/Cargo.toml @@ -6,24 +6,24 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -anyhow = "1.0.38" -bit-vec = { version = "0.6", features = ["serde"] } -chrono = "0.4.19" +anyhow = { workspace = true } +bit-vec = { workspace = true, features = ["serde"] } +chrono = { workspace = true } eui48 = { workspace = true } -growable-bloom-filter = "2.0.1" -rand = "0.8.3" -rand_regex = "0.15.1" -rust_decimal = "1.26" -uuid = "0.8" -zipf = "7.0.0" +growable-bloom-filter = { workspace = true } +rand = { workspace = true } +rand_regex = { workspace = true } +rust_decimal = { workspace = true } +uuid = { workspace = true } +zipf = { workspace = true } nom-sql = { path = "../nom-sql" } readyset-data = { path = "../readyset-data/" } [dev-dependencies] -test-strategy = "0.2.0" -proptest = "1.0.0" +test-strategy = { workspace = true } +proptest = { workspace = true } mysql_async = { workspace = true } tokio = { workspace = true, features = ["full"] } -serial_test = "0.5" +serial_test = { workspace = true } test-utils = { path = "../test-utils" } diff --git a/database-utils/Cargo.toml b/database-utils/Cargo.toml index 5a01aad217..faad81a580 100644 --- a/database-utils/Cargo.toml +++ b/database-utils/Cargo.toml @@ -6,19 +6,19 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -derive_more = "0.99.17" -futures = "0.3.21" +derive_more = { workspace = true } +futures = { workspace = true } mysql_async = { workspace = true } -native-tls = "0.2.8" -thiserror = "1.0.30" +native-tls = { workspace = true } +thiserror = { workspace = true } tokio = { workspace = true, features = ["full"] } tokio-postgres = { workspace = true, features = ["with-chrono-0_4"] } postgres-native-tls = { workspace = true } clap = { workspace = true, features = ["derive","env"] } -serde = { version = "1.0", features = ["derive"] } +serde = { workspace = true, features = ["derive"] } readyset-util = { path = "../readyset-util" } readyset-errors = { path = "../readyset-errors" } -async-trait = "0.1" +async-trait = { workspace = true } nom-sql = { path = "../nom-sql" } -deadpool-postgres = "0.10.3" -num_cpus = "1.15.0" +deadpool-postgres = { workspace = true } +num_cpus = { workspace = true } diff --git a/dataflow-expression/Cargo.toml b/dataflow-expression/Cargo.toml index b78518f55a..6204900367 100644 --- a/dataflow-expression/Cargo.toml +++ b/dataflow-expression/Cargo.toml @@ -6,17 +6,17 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -chrono = { version = "0.4.0", features = ["serde"] } -chrono-tz = { version = "0.8.6", features = ["serde"] } -serde = { version = "1.0.8", features = ["derive"] } -serde_json = { version = "1.0" } -rust_decimal = { version = "1.26" } -lazy_static = "1.4.0" -regex = "1.4.3" -itertools = "0.10.3" -vec1 = "1.6" -proptest = "1.0.0" -test-strategy = "0.2.0" +chrono = { workspace = true, features = ["serde"] } +chrono-tz = { workspace = true, features = ["serde"] } +serde = { workspace = true, features = ["derive"] } +serde_json = { workspace = true } +rust_decimal = { workspace = true } +lazy_static = { workspace = true } +regex = { workspace = true } +itertools = { workspace = true } +vec1 = { workspace = true } +proptest = { workspace = true } +test-strategy = { workspace = true } # Local deps readyset-util = { path = "../readyset-util" } diff --git a/dataflow-state/Cargo.toml b/dataflow-state/Cargo.toml index f70f8645b6..9da1a9c7c5 100644 --- a/dataflow-state/Cargo.toml +++ b/dataflow-state/Cargo.toml @@ -6,27 +6,27 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -ahash = "0.7" -anyhow = "1.0" -bincode = "1.0.0" +ahash = { workspace = true } +anyhow = { workspace = true } +bincode = { workspace = true } clap = { workspace = true, features = ["derive","env"] } -derive_more = "0.99.11" -hashbag = "0.1.2" -indexmap = "1.1.0" -itertools = "0.10" -notify = "6.1.1" -proptest = "1.0.0" -rand = "0.7" +derive_more = { workspace = true } +hashbag = { workspace = true } +indexmap = { workspace = true } +itertools = { workspace = true } +notify = { workspace = true } +proptest = { workspace = true } +rand = { workspace = true } rocksdb.workspace = true -serde = { version = "1.0.8", features = ["rc"] } -serde_json = "1.0.2" -tempfile = "3.4" -test-strategy = "0.2.0" -thiserror = "1.0.26" -tracing = { version = "0.1", features = ["release_max_level_debug"] } -tuple = "0.5.1" -vec1 = "1.6.0" -parking_lot = "0.12" +serde = { workspace = true, features = ["rc"] } +serde_json = { workspace = true } +tempfile = { workspace = true } +test-strategy = { workspace = true } +thiserror = { workspace = true } +tracing = { workspace = true, features = ["release_max_level_debug"] } +tuple = { workspace = true } +vec1 = { workspace = true } +parking_lot = { workspace = true } # local deps common = { path = "../readyset-common", package = "readyset-common" } @@ -40,11 +40,11 @@ replication-offset = { path = "../replication-offset" } [dev-dependencies] proptest-stateful = { path = "../proptest-stateful" } -async-trait = "0.1" -pretty_assertions = "1.4.0" -lazy_static = "1.0.0" +async-trait = { workspace = true } +pretty_assertions = { workspace = true } +lazy_static = { workspace = true } criterion = { workspace = true, features=['real_blackbox', 'async_tokio'] } -rust_decimal = { version = "1.26", features = ["db-tokio-postgres", "serde-str"] } +rust_decimal = { workspace = true, features = ["db-tokio-postgres", "serde-str"] } [[bench]] name = "persistent_state" diff --git a/dataflow-state/src/memory_state.rs b/dataflow-state/src/memory_state.rs index 1bb7994177..b0f816557a 100644 --- a/dataflow-state/src/memory_state.rs +++ b/dataflow-state/src/memory_state.rs @@ -262,7 +262,7 @@ impl State for MemoryState { /// `weak_indices`. fn evict_bytes(&mut self, bytes: usize) -> Option { let mut rng = rand::thread_rng(); - let state_index = rng.gen_range(0, self.state.len()); + let state_index = rng.gen_range(0..self.state.len()); let mut bytes_freed = 0u64; let mut keys_evicted = Vec::new(); diff --git a/dataflow-state/src/persistent_state/mod.rs b/dataflow-state/src/persistent_state/mod.rs index 83543f95fe..019bd6b15e 100644 --- a/dataflow-state/src/persistent_state/mod.rs +++ b/dataflow-state/src/persistent_state/mod.rs @@ -489,7 +489,7 @@ impl WalFlusher { // Sleep for a random number of seconds between 1 and 10 to introduce jitter to // stagger flushes across different base tables let jitter = Duration::from_secs_f64( - rand::thread_rng().gen_range(0.0, self.flush_interval.as_secs_f64()), + rand::thread_rng().gen_range(0.0..self.flush_interval.as_secs_f64()), ); // We use recv_timeout for interruptible sleep. If recv_timeout() returns `Ok`, it means diff --git a/failpoint-macros/proc-macros/Cargo.toml b/failpoint-macros/proc-macros/Cargo.toml index 30346d22d9..003a5a680f 100644 --- a/failpoint-macros/proc-macros/Cargo.toml +++ b/failpoint-macros/proc-macros/Cargo.toml @@ -6,8 +6,8 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -syn = {version="1.0.57",features=["full","fold"]} -quote = "1.0.8" +syn = { workspace = true, features = ["full", "fold"] } +quote = { workspace = true } [lib] proc-macro = true diff --git a/health-reporter/Cargo.toml b/health-reporter/Cargo.toml index 8a758abc08..04f3c6422b 100644 --- a/health-reporter/Cargo.toml +++ b/health-reporter/Cargo.toml @@ -8,5 +8,5 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -parking_lot = "0.11.2" -chrono = "0.4" +parking_lot = { workspace = true } +chrono = { workspace = true } diff --git a/merging-interval-tree/Cargo.toml b/merging-interval-tree/Cargo.toml index b90685e796..d5191b96c5 100644 --- a/merging-interval-tree/Cargo.toml +++ b/merging-interval-tree/Cargo.toml @@ -9,5 +9,5 @@ description = "An efficient non-overlapping interval tree that merges overlappin [dependencies] [dev-dependencies] -test-strategy = "0.2" -proptest = "1.0" +test-strategy = { workspace = true } +proptest = { workspace = true } diff --git a/mysql-srv/Cargo.toml b/mysql-srv/Cargo.toml index ac71d9bb53..41cba83cc1 100644 --- a/mysql-srv/Cargo.toml +++ b/mysql-srv/Cargo.toml @@ -12,28 +12,28 @@ keywords = ["api-bindings", "database", "sql", "mock"] categories = ["api-bindings", "network-programming", "database-implementations"] [dependencies] -nom = "7.1" +nom = { workspace = true } mysql_async = { workspace = true } -mysql_common = { version = "0.32", features = ["chrono"] } -byteorder = "1" -chrono = "0.4" -time = "0.3" -getrandom = "0.2.2" -async-trait = "0.1" +mysql_common = { workspace = true, features = ["chrono"] } +byteorder = { workspace = true } +chrono = { workspace = true } +time = { workspace = true } +getrandom = { workspace = true } +async-trait = { workspace = true } tokio = { workspace = true, features = ["full"] } -thiserror = "1.0.26" -sha-1 = "0.10.0" +thiserror = { workspace = true } +sha-1 = { workspace = true } mysql-time = { path = "../mysql-time" } -tracing = "0.1.35" +tracing = { workspace = true } readyset-adapter-types = { path = "../readyset-adapter-types" } readyset-data = { path = "../readyset-data" } [dev-dependencies] tokio-postgres = { workspace = true } -mysql = "25" +mysql = { workspace = true } -slab = "0.4.2" -futures = "0.3" +slab = { workspace = true } +futures = { workspace = true } test-utils = { path = "../test-utils" } diff --git a/mysql-time/Cargo.toml b/mysql-time/Cargo.toml index f1f35afa5a..6b49d8f053 100644 --- a/mysql-time/Cargo.toml +++ b/mysql-time/Cargo.toml @@ -6,15 +6,15 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -nom = "7.1" -regex = "1.4.3" -serde = { version = "1.0.8", features = ["rc"] } +nom = { workspace = true } +regex = { workspace = true } +serde = { workspace = true, features = ["rc"] } readyset-util = { path = "../readyset-util" } -proptest = "1.0.0" -thiserror = "1.0.26" -chrono = "0.4" -mysql_common = "0.32" +proptest = { workspace = true } +thiserror = { workspace = true } +chrono = { workspace = true } +mysql_common = { workspace = true } [dev-dependencies] -test-strategy = "0.2.0" +test-strategy = { workspace = true } diff --git a/nom-sql-arbitrary/Cargo.toml b/nom-sql-arbitrary/Cargo.toml index 4ac020e953..e2683b1a34 100644 --- a/nom-sql-arbitrary/Cargo.toml +++ b/nom-sql-arbitrary/Cargo.toml @@ -12,5 +12,5 @@ description = "A library with proptest utility to generate AST structs." [dependencies] nom-sql = { path = "../nom-sql" } -proptest = "1.0.0" +proptest = { workspace = true } readyset-util = { path = "../readyset-util" } diff --git a/nom-sql/Cargo.toml b/nom-sql/Cargo.toml index 517cadce3e..8ca39f113d 100644 --- a/nom-sql/Cargo.toml +++ b/nom-sql/Cargo.toml @@ -12,38 +12,38 @@ description = "A SQL parser written using nom." [dependencies] clap = { workspace = true, features = ["derive"] } -serde = { version = "1.0", features = ["derive"] } -nom = "7.1" -itertools = "0.10" -derive_more = "0.99.13" -pratt = "0.3.0" -proptest = "1.0.0" -test-strategy = "0.2.0" +serde = { workspace = true, features = ["derive"] } +nom = { workspace = true } +itertools = { workspace = true } +derive_more = { workspace = true } +pratt = { workspace = true } +proptest = { workspace = true } +test-strategy = { workspace = true } readyset-util = { path = "../readyset-util" } -thiserror = "1.0.26" -hex = "0.4.3" -rust_decimal = { version = "1.26", features = ["db-tokio-postgres"] } +thiserror = { workspace = true } +hex = { workspace = true } +rust_decimal = { workspace = true, features = ["db-tokio-postgres"] } eui48 = { workspace = true } -uuid = { version = "0.8", features = ["v4"] } -serde_json = { version = "1", features = ["arbitrary_precision"] } -bit-vec = { version = "0.6", features = ["serde"] } -triomphe = "0.1" -lazy_static = "1.4" -nom_locate = "4.0.0" -fail = "0.5.0" -chrono = "0.4" +uuid = { workspace = true, features = ["v4"] } +serde_json = { workspace = true, features = ["arbitrary_precision"] } +bit-vec = { workspace = true, features = ["serde"] } +triomphe = { workspace = true } +lazy_static = { workspace = true } +nom_locate = { workspace = true } +fail = { workspace = true } +chrono = { workspace = true } concrete-iter = { path = "../concrete-iter" } failpoint-macros = { path = "../failpoint-macros" } [dev-dependencies] -assert_approx_eq = "1.1.0" -pretty_assertions = "1.4.0" -bincode = "1.3" +assert_approx_eq = { workspace = true } +pretty_assertions = { workspace = true } +bincode = { workspace = true } criterion = { workspace = true, features = ["html_reports"] } -pprof = { version = "0.13", features = ["flamegraph", "criterion"] } -sqlparser = "0.41.0" +pprof = { workspace = true, features = ["flamegraph", "criterion"] } +sqlparser = { workspace = true } [[bench]] name = "analysis" diff --git a/proptest-stateful/Cargo.toml b/proptest-stateful/Cargo.toml index 9a82c332a1..d1c1b3eecd 100644 --- a/proptest-stateful/Cargo.toml +++ b/proptest-stateful/Cargo.toml @@ -13,6 +13,10 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] +# NOTE: DO NOT REPLACE THESE WITH WORKSPACE DEPENDENCIES. This crate is +# released publicly on crates.io, so we need to include the actual package +# versions here to ensure that the crate is usable outside of the context of +# our repo. async-trait = "0.1" proptest = "1.0.0" rand = "0.8.5" diff --git a/psql-srv/Cargo.toml b/psql-srv/Cargo.toml index 5edbbec13e..93fee6ffbf 100644 --- a/psql-srv/Cargo.toml +++ b/psql-srv/Cargo.toml @@ -9,33 +9,33 @@ description = "Bindings for emulating a PostgreSQL server" readme = "README.md" [dependencies] -async-trait = "0.1" +async-trait = { workspace = true } base64 = "0.21" -bit-vec = { version = "0.6", features = ["serde"] } -bytes = "1.0.1" -chrono = "0.4.19" -cidr = "0.2.1" +bit-vec = { workspace = true, features = ["serde"] } +bytes = { workspace = true } +chrono = { workspace = true } +cidr = { workspace = true } eui48 = { workspace = true } -futures = "0.3" -hex = "0.4.3" -hmac = "0.12.1" -nom = "7.1" +futures = { workspace = true } +hex = { workspace = true } +hmac = { workspace = true } +nom = { workspace = true } postgres = { workspace = true } postgres-protocol = { workspace = true } postgres-types = { workspace = true, features = ["with-chrono-0_4", "with-cidr-0_2"] } -rand = "0.8.5" -rust_decimal = { version = "1.26" } -serde_json = { version = "1", features = ["arbitrary_precision"] } -sha2 = "0.10.6" -smallvec = "1.6" -stringprep = "0.1.2" -thiserror = "1.0.26" +rand = { workspace = true } +rust_decimal = { workspace = true } +serde_json = { workspace = true, features = ["arbitrary_precision"] } +sha2 = { workspace = true } +smallvec = { workspace = true } +stringprep = { workspace = true } +thiserror = { workspace = true } tokio = { workspace = true, features = ["full"] } -tokio-native-tls = "0.3.1" +tokio-native-tls = { workspace = true } tokio-postgres = { workspace = true, features = ["with-chrono-0_4", "with-eui48-1", "with-uuid-0_8", "with-serde_json-1", "with-bit-vec-0_6"] } -tokio-util = { version = "0.6.6", features = ["codec"] } -tracing = "0.1.29" -uuid = "0.8" +tokio-util = { workspace = true, features = ["codec"] } +tracing = { workspace = true } +uuid = { workspace = true } nom-sql = { path = "../nom-sql" } readyset-adapter-types = { path = "../readyset-adapter-types" } diff --git a/query-generator/Cargo.toml b/query-generator/Cargo.toml index 856f376d18..8ffc2d7953 100644 --- a/query-generator/Cargo.toml +++ b/query-generator/Cargo.toml @@ -6,30 +6,30 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -anyhow = "1.0.38" -chrono = "0.4.19" +anyhow = { workspace = true } +chrono = { workspace = true } clap = { workspace = true, features = ["derive","env"] } -derive_more = "0.99.11" -futures-util = "0.3.13" -itertools = "0.10" -lazy_static = "1.4.0" -rand = "0.8.3" -regex = "1.4.3" -serde = { version = "1.0.123", features = ["derive"] } -serde_json = "1.0.63" -strum = "0.23" -strum_macros = "0.23" -thiserror = "1.0.26" -proptest = "1.0.0" -test-strategy = "0.2.0" -rust_decimal = { version = "1.26" } +derive_more = { workspace = true } +futures-util = { workspace = true } +itertools = { workspace = true } +lazy_static = { workspace = true } +rand = { workspace = true } +regex = { workspace = true } +serde = { workspace = true, features = ["derive"] } +serde_json = { workspace = true } +strum = { workspace = true } +strum_macros = { workspace = true } +thiserror = { workspace = true } +proptest = { workspace = true } +test-strategy = { workspace = true } +rust_decimal = { workspace = true } eui48 = { workspace = true } -uuid = "0.8" -bit-vec = { version = "0.6", features = ["serde"] } -rand_regex = "0.15.1" -zipf = "7.0.0" -parking_lot = "0.11.2" -growable-bloom-filter = "2.0.1" +uuid = { workspace = true } +bit-vec = { workspace = true, features = ["serde"] } +rand_regex = { workspace = true } +zipf = { workspace = true } +parking_lot = { workspace = true } +growable-bloom-filter = { workspace = true } data-generator = { path = "../data-generator" } nom-sql = { path = "../nom-sql" } @@ -39,6 +39,6 @@ readyset-util = { path = "../readyset-util" } [dev-dependencies] mysql_async.workspace = true -serial_test = "0.5" +serial_test = { workspace = true } tokio = { workspace = true, features = ["full"] } tokio-postgres.workspace = true diff --git a/reader-map/Cargo.toml b/reader-map/Cargo.toml index 5ba582d47d..2bb2889cbe 100644 --- a/reader-map/Cargo.toml +++ b/reader-map/Cargo.toml @@ -6,19 +6,19 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -triomphe = "0.1" -smallvec = { version = "1.8", default-features = false, features = ["union"] } -rand = { version = "0.7", default-features = false, features = ["std", "alloc"] } -left-right = "0.11" -itertools = "0.10" +triomphe = { workspace = true } +smallvec = { workspace = true, features = ["union"] } +rand = { workspace = true } +left-right = { workspace = true } +itertools = { workspace = true } readyset-client = { path = "../readyset-client" } readyset-util = { path = "../readyset-util" } partial-map = { path = "../partial-map" } -thiserror = "1.0.31" -iter-enum = "1.1.1" +thiserror = { workspace = true } +iter-enum = { workspace = true } [dev-dependencies] -proptest = "1.0.0" -test-strategy = "0.2.0" +proptest = { workspace = true } +test-strategy = { workspace = true } diff --git a/reader-map/benchmark/Cargo.toml b/reader-map/benchmark/Cargo.toml index 5f4c6f9ed2..2412278728 100644 --- a/reader-map/benchmark/Cargo.toml +++ b/reader-map/benchmark/Cargo.toml @@ -10,11 +10,11 @@ publish = false [dependencies] reader_map = { path = "../" } -chashmap = "2.1.0" +chashmap = { workspace = true } clap = { workspace = true, features = ["derive", "env"] } -zipf = "6" -rand = "0.7" -parking_lot = "0.10.1" +zipf = { workspace = true } +rand = { workspace = true } +parking_lot = { workspace = true } [profile.release] lto = true diff --git a/readyset-adapter/Cargo.toml b/readyset-adapter/Cargo.toml index a8c4c724b1..bea69e2bbe 100644 --- a/readyset-adapter/Cargo.toml +++ b/readyset-adapter/Cargo.toml @@ -8,49 +8,49 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -ahash = "0.7" -anyhow = "1.0" +ahash = { workspace = true } +anyhow = { workspace = true } clap = { workspace = true, features = ["derive","env"] } -fail = "0.5.0" -futures-executor = "0.3.14" -futures-util = "0.3.14" -lazy_static = "1.0.0" +fail = { workspace = true } +futures-executor = { workspace = true } +futures-util = { workspace = true } +lazy_static = { workspace = true } nom-sql = { path = "../nom-sql" } -nom = "7.1" -regex = "1.0.0" +nom = { workspace = true } +regex = { workspace = true } tokio = { workspace = true, features = ["full"] } -chrono = "0.4" -tracing = { version = "0.1", features = ["release_max_level_debug"] } -tracing-futures = "0.2.5" -vec1 = "1.6.0" -itertools = "0.10" -derive_more = "0.99.11" -async-trait = "0.1" -thiserror = "1.0.26" +chrono = { workspace = true } +tracing = { workspace = true, features = ["release_max_level_debug"] } +tracing-futures = { workspace = true } +vec1 = { workspace = true } +itertools = { workspace = true } +derive_more = { workspace = true } +async-trait = { workspace = true } +thiserror = { workspace = true } readyset-util = { path = "../readyset-util" } metrics = { workspace = true } metrics-exporter-prometheus = { workspace = true } metrics-util = { workspace = true } -futures = "0.3" -serde = "1.0.130" -serde_json = "1.0.67" -rust_decimal = { version = "1.26" } -bit-vec = { version = "0.6", features = ["serde"] } -hyper = { version = "0.14.10", features = [ "stream", "server" ] } -tokio-stream = { version = "0.1.5", features = [ "net" ] } -tokio-tower = "0.5.1" -tower = { version = "0.4.6", features = ["util"] } -time = { version = "0.3", features = ["local-offset"] } -dashmap = "4.0.2" -mysql_common = "0.32" -bincode = "1.3.3" -parking_lot = "0.11.2" -sqlformat = "0.2.1" -indexmap = { version = "1", default-features = false } -quanta = { version = "0.11", default-features = false } -lru = "0.12.0" -crossbeam-skiplist = "0.1.1" -slab = "0.4" +futures = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +rust_decimal = { workspace = true } +bit-vec = { workspace = true, features = ["serde"] } +hyper = { workspace = true, features = ["stream", "server"] } +tokio-stream = { workspace = true, features = ["net"] } +tokio-tower = { workspace = true } +tower = { workspace = true, features = ["util"] } +time = { workspace = true, features = ["local-offset"] } +dashmap = { workspace = true } +mysql_common = { workspace = true } +bincode = { workspace = true } +parking_lot = { workspace = true } +sqlformat = { workspace = true } +indexmap = { workspace = true } +quanta = { workspace = true } +lru = { workspace = true } +crossbeam-skiplist = { workspace = true } +slab = { workspace = true } readyset-adapter-types = { path = "../readyset-adapter-types/" } readyset-alloc = { path = "../readyset-alloc/" } @@ -69,10 +69,10 @@ health-reporter = { path = "../health-reporter" } database-utils = { path = "../database-utils" } [dev-dependencies] -proptest = "1.0.0" -test-strategy = "0.2.0" +proptest = { workspace = true } +test-strategy = { workspace = true } criterion = { workspace = true } -rand = "0.8.5" +rand = { workspace = true } [lib] path = "src/lib.rs" diff --git a/readyset-alloc-metrics/Cargo.toml b/readyset-alloc-metrics/Cargo.toml index 463502457e..47a44289c8 100644 --- a/readyset-alloc-metrics/Cargo.toml +++ b/readyset-alloc-metrics/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" [dependencies] metrics = { workspace = true } tokio = { workspace = true, features = ["full"] } -tracing = { version = "0.1", features = ["release_max_level_debug"] } +tracing = { workspace = true, features = ["release_max_level_debug"] } # Local dependencies readyset-alloc = { path = "../readyset-alloc" } diff --git a/readyset-alloc/Cargo.toml b/readyset-alloc/Cargo.toml index 37e5fb35e2..f3568b79db 100644 --- a/readyset-alloc/Cargo.toml +++ b/readyset-alloc/Cargo.toml @@ -13,15 +13,15 @@ mem-profiling = ["tikv-jemallocator/profiling"] sys-malloc = [] [dependencies] -futures = { version = "0.3", features = ["executor", "thread-pool"]} -fxhash = "0.2.1" -lazy_static = "1.3" -libc = "0.2" -tikv-jemalloc-ctl = "0.5.0" -tikv-jemalloc-sys = { version = "0.5.0", features = ["stats"] } -tikv-jemallocator = { version = "0.5.0", features = ["unprefixed_malloc_on_supported_platforms", "stats"] } +futures = { workspace = true, features = ["executor", "thread-pool"] } +fxhash = { workspace = true } +lazy_static = { workspace = true } +libc = { workspace = true } +tikv-jemalloc-ctl = { workspace = true } +tikv-jemalloc-sys = { workspace = true, features = ["stats"] } +tikv-jemallocator = { workspace = true, features = ["unprefixed_malloc_on_supported_platforms", "stats"] } tokio = { workspace = true, features = ["full"] } [dev-dependencies] -tempfile = "3.0" +tempfile = { workspace = true } diff --git a/readyset-client-metrics/Cargo.toml b/readyset-client-metrics/Cargo.toml index 4e52f567e3..ad9b4b7e5a 100644 --- a/readyset-client-metrics/Cargo.toml +++ b/readyset-client-metrics/Cargo.toml @@ -8,8 +8,8 @@ edition = "2021" [dependencies] clap = { workspace = true, features = ["derive","env"] } metrics = { workspace = true } -serde = "1.0.130" -serde_json = "1.0.67" +serde = { workspace = true } +serde_json = { workspace = true } #local dependencies readyset-client = { path = "../readyset-client" } diff --git a/readyset-client-test-helpers/Cargo.toml b/readyset-client-test-helpers/Cargo.toml index 2578c685da..95a2c11844 100644 --- a/readyset-client-test-helpers/Cargo.toml +++ b/readyset-client-test-helpers/Cargo.toml @@ -6,12 +6,12 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -async-trait = "0.1" +async-trait = { workspace = true } tokio = { workspace = true, features = ["full"] } -chrono = "0.4" +chrono = { workspace = true } mysql_async = { workspace = true, optional = true } tokio-postgres = { workspace = true, features = ["with-chrono-0_4", "with-eui48-1", "with-uuid-0_8", "with-serde_json-1", "with-bit-vec-0_6"], optional = true } -tracing = "0.1.35" +tracing = { workspace = true } nom-sql = { path = "../nom-sql" } readyset-client = { path = "../readyset-client/" } diff --git a/readyset-client/Cargo.toml b/readyset-client/Cargo.toml index b3cb5a8d51..f25fdc9021 100644 --- a/readyset-client/Cargo.toml +++ b/readyset-client/Cargo.toml @@ -12,69 +12,69 @@ keywords = ["database", "dataflow", "backend", "storage", "sql"] categories = ["api-bindings", "database"] [dependencies] -anyhow = "1.0" -async-bincode = "0.6.1" +anyhow = { workspace = true } +async-bincode = { workspace = true } clap = { workspace = true, features = ["derive","env"] } -fail = "0.5.0" -thiserror = "1.0.26" -hyper = { version = "0.14.10", features = [ "stream", "client", "http2" ] } -nom = "7.1" -nom_locate = "4.0.0" -serde = { version = "1.0.8", features = ["rc", "derive"] } -serde_json = { version = "1.0.2", features = ["arbitrary_precision"] } -serde_with = "1.9.4" -serde_bytes = "0.11" -rmp-serde = "1.1.2" +fail = { workspace = true } +thiserror = { workspace = true } +hyper = { workspace = true, features = ["stream", "client", "http2"] } +nom = { workspace = true } +nom_locate = { workspace = true } +serde = { workspace = true, features = ["rc", "derive"] } +serde_json = { workspace = true, features = ["arbitrary_precision"] } +serde_with = { workspace = true } +serde_bytes = { workspace = true } +rmp-serde = { workspace = true } tokio = { workspace = true, features = ["full"] } -bincode = "1.3.3" -vec_map = { version = "0.8.0", features = ["eders"] } -petgraph = { version = "0.5", features = ["serde-1"] } -ahash = "0.7" -chrono = { version = "0.4.0", features = ["serde"] } -time = { version = "0.3", features = ["local-offset"] } -tower-service = "0.3.1" -tower-layer = "0.3.1" -tokio-tower = "0.5.1" -tower = { version = "0.4.6", features = ["limit", "balance", "buffer", "discover", "util", "timeout"] } -tracing = { version = "0.1", features = ["release_max_level_debug"] } -tracing-futures = "0.2.2" -slab = "0.4" -futures-util = "0.3.0" -futures = "0.3" -mysql_common = { version = "0.32", features = ["chrono"] } -vec1 = { version = "1.6.0", features = ["serde"] } -proptest = "1.0.0" -derive_more = "0.99.11" -backoff = { version = "0.4.0", features = ["tokio"] } -url = { version = "2.2", features = ["serde"] } +bincode = { workspace = true } +vec_map = { workspace = true, features = ["eders"] } +petgraph = { workspace = true, features = ["serde-1"] } +ahash = { workspace = true } +chrono = { workspace = true, features = ["serde"] } +time = { workspace = true, features = ["local-offset"] } +tower-service = { workspace = true } +tower-layer = { workspace = true } +tokio-tower = { workspace = true } +tower = { workspace = true, features = ["limit", "balance", "buffer", "discover", "util", "timeout"] } +tracing = { workspace = true, features = ["release_max_level_debug"] } +tracing-futures = { workspace = true } +slab = { workspace = true } +futures-util = { workspace = true } +futures = { workspace = true } +mysql_common = { workspace = true, features = ["chrono"] } +vec1 = { workspace = true, features = ["serde"] } +proptest = { workspace = true } +derive_more = { workspace = true } +backoff = { workspace = true, features = ["tokio"] } +url = { workspace = true, features = ["serde"] } mysql_async = { workspace = true } -rand = "0.8.4" -parking_lot = "0.11.2" -cloudflare-zlib = { version = "0.2.9", features = ["arm-always"] } -smallvec = "1.8" +rand = { workspace = true } +parking_lot = { workspace = true } +cloudflare-zlib = { workspace = true, features = ["arm-always"] } +smallvec = { workspace = true } rocksdb.workspace = true tokio-postgres = { workspace = true, features = ["with-chrono-0_4", "with-eui48-1", "with-uuid-0_8", "with-serde_json-1", "with-bit-vec-0_6"] } metrics = { workspace = true } metrics-util = { workspace = true } -itertools = "0.10" -bytes = "1.0.1" -rust_decimal = { version = "1.26", features = ["db-tokio-postgres", "serde-str"] } +itertools = { workspace = true } +bytes = { workspace = true } +rust_decimal = { workspace = true, features = ["db-tokio-postgres", "serde-str"] } eui48 = { workspace = true } -uuid = { version = "0.8", features = ["v4"] } -bit-vec = { version = "0.6", features = ["serde"] } -triomphe = "0.1" -streaming-iterator = "0.1" -test-strategy = "0.2.0" +uuid = { workspace = true, features = ["v4"] } +bit-vec = { workspace = true, features = ["serde"] } +triomphe = { workspace = true } +streaming-iterator = { workspace = true } +test-strategy = { workspace = true } # consensus/ -enum_dispatch = "0.3.7" -async-trait = "0.1" +enum_dispatch = { workspace = true } +async-trait = { workspace = true } consulrs = { workspace = true } base64 = "0.13" # metrics/ -reqwest = { version = "0.11.3", features = ["json"] } +reqwest = { workspace = true, features = ["json"] } # Local dependencies failpoint-macros = { path = "../failpoint-macros" } @@ -91,8 +91,8 @@ readyset-sql-passes = { path = "../readyset-sql-passes" } replication-offset = { path = "../replication-offset" } [dev-dependencies] -serial_test = "0.5.1" -tempfile = "3.4" +serial_test = { workspace = true } +tempfile = { workspace = true } [features] failure_injection = ["fail/failpoints"] diff --git a/readyset-clustertest/Cargo.toml b/readyset-clustertest/Cargo.toml index 86ef2d81ae..10c5c407c7 100644 --- a/readyset-clustertest/Cargo.toml +++ b/readyset-clustertest/Cargo.toml @@ -7,18 +7,18 @@ edition = "2021" [dependencies] tokio = { workspace = true, features = ["full"] } -futures = "0.3" -futures-util = "0.3" -anyhow = "1.0" -rand = "0.8.3" -url = "2.2.2" +futures = { workspace = true } +futures-util = { workspace = true } +anyhow = { workspace = true } +rand = { workspace = true } +url = { workspace = true } mysql_async = { workspace = true } tokio-postgres = { workspace = true } -envy = "0.4" -serde = { version = "1.0.8", features = ["derive"] } -hyper = "0.14.10" -bincode = "1.3.3" -tracing = { version = "0.1", features = ["release_max_level_debug"] } +envy = { workspace = true } +serde = { workspace = true, features = ["derive"] } +hyper = { workspace = true } +bincode = { workspace = true } +tracing = { workspace = true, features = ["release_max_level_debug"] } # local deps database-utils = { path = "../database-utils" } @@ -31,14 +31,14 @@ readyset-tracing = { path = "../readyset-tracing" } readyset-errors = { path = "../readyset-errors" } [dev-dependencies] -serial_test = "0.5.1" +serial_test = { workspace = true } criterion = { workspace = true, features=['real_blackbox', 'async_tokio']} -itertools = "0.10.4" +itertools = { workspace = true } readyset-client-metrics = { path = "../readyset-client-metrics" } test-utils = { path = "../test-utils" } readyset-clustertest-macros = { path = "./macros" } readyset-tracing = { path = "../readyset-tracing" } -rust_decimal = "1.26" +rust_decimal = { workspace = true } [[bench]] name = "clustering" diff --git a/readyset-clustertest/macros/Cargo.toml b/readyset-clustertest/macros/Cargo.toml index 46f4f18a0c..8ce40458e3 100644 --- a/readyset-clustertest/macros/Cargo.toml +++ b/readyset-clustertest/macros/Cargo.toml @@ -6,8 +6,8 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -syn = {version="1.0.57",features=["full","fold"]} -quote = "1.0.8" +syn = { workspace = true, features = ["full", "fold"] } +quote = { workspace = true } [lib] proc-macro = true diff --git a/readyset-common/Cargo.toml b/readyset-common/Cargo.toml index 98a9b30ba4..208167fa62 100644 --- a/readyset-common/Cargo.toml +++ b/readyset-common/Cargo.toml @@ -8,16 +8,16 @@ edition = "2021" description = "Artifacts commonly shared among other ReadySet crates" [dependencies] -chrono = { version = "0.4.0", features = ["serde"] } -serde = { version = "1.0.8", features = ["rc", "derive"] } -petgraph = { version = "0.5", features = ["serde-1"] } -vec1 = "1.6.0" -triomphe = "0.1" -proptest = "1.0" -test-strategy = "0.2.0" -rlimit = "0.10.1" -anyhow = "1.0" -tracing = "0.1" +chrono = { workspace = true, features = ["serde"] } +serde = { workspace = true, features = ["rc", "derive"] } +petgraph = { workspace = true, features = ["serde-1"] } +vec1 = { workspace = true } +triomphe = { workspace = true } +proptest = { workspace = true } +test-strategy = { workspace = true } +rlimit = { workspace = true } +anyhow = { workspace = true } +tracing = { workspace = true } # Local deps readyset-client = { path = "../readyset-client" } diff --git a/readyset-data/Cargo.toml b/readyset-data/Cargo.toml index c2115bdd18..3acd0f6c05 100644 --- a/readyset-data/Cargo.toml +++ b/readyset-data/Cargo.toml @@ -6,54 +6,54 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -anyhow = "1.0" -bit-vec = { version = "0.6", features = ["serde"] } -bytes = "1.0.1" -chrono = { version = "0.4.19", features = ["serde"] } +anyhow = { workspace = true } +bit-vec = { workspace = true, features = ["serde"] } +bytes = { workspace = true } +chrono = { workspace = true, features = ["serde"] } eui48 = { workspace = true } -itertools = "0.10" -lazy_static = "1.4" -mysql_common = { version = "0.32", features = ["chrono"] } -proptest = "1.0.0" -regex = "1.8" -rust_decimal = { version = "1.26", features = ["db-tokio-postgres", "serde-str"] } -serde = { version = "1.0.8", features = ["rc", "derive"] } -serde_bytes = "0.11" -serde_json = { version = "1.0.2", features = ["arbitrary_precision", "unbounded_depth"] } -serde_stacker = "0.1.7" -strum = "0.23" -strum_macros = "0.23" -test-strategy = "0.2.0" -time = { version = "0.3", features = ["local-offset"] } -triomphe = "0.1" -uuid = { version = "0.8", features = ["v4"] } -enum-kinds = "0.5.1" -ndarray = { version = "0.15.4", features = ["serde"] } -fallible-iterator = "0.2.0" # Only for internals of ToSql impls -nom = "7.1" -nom_locate = "4.0.0" +itertools = { workspace = true } +lazy_static = { workspace = true } +mysql_common = { workspace = true, features = ["chrono"] } +proptest = { workspace = true } +regex = { workspace = true } +rust_decimal = { workspace = true, features = ["db-tokio-postgres", "serde-str"] } +serde = { workspace = true, features = ["rc", "derive"] } +serde_bytes = { workspace = true } +serde_json = { workspace = true, features = ["arbitrary_precision", "unbounded_depth"] } +serde_stacker = { workspace = true } +strum = { workspace = true } +strum_macros = { workspace = true } +test-strategy = { workspace = true } +time = { workspace = true, features = ["local-offset"] } +triomphe = { workspace = true } +uuid = { workspace = true, features = ["v4"] } +enum-kinds = { workspace = true } +ndarray = { workspace = true, features = ["serde"] } +fallible-iterator = { workspace = true } # Only for internals of ToSql impls +nom = { workspace = true } +nom_locate = { workspace = true } postgres-protocol = { workspace = true } -cidr = "0.2.1" +cidr = { workspace = true } postgres-types = { workspace = true, features = ["with-cidr-0_2"] } -vec1 = "1.6.0" +vec1 = { workspace = true } # Local dependencies nom-sql = { path = "../nom-sql" } readyset-util = { path = "../readyset-util" } readyset-errors = { path = "../readyset-errors" } mysql-time = { path = "../mysql-time" } -smallvec = { version = "1.9.0", features = ["union", "const_generics", "serde"] } +smallvec = { workspace = true, features = ["union", "const_generics", "serde"] } [dependencies.tokio-postgres] workspace = true features = ["with-chrono-0_4", "with-eui48-1", "with-uuid-0_8", "with-serde_json-1", "with-bit-vec-0_6"] [dev-dependencies] -derive_more = "0.99.11" -bincode = "1.3.3" +derive_more = { workspace = true } +bincode = { workspace = true } criterion = { workspace = true, features=['real_blackbox', 'async_tokio']} tokio = { workspace = true, features = ["full"] } -serial_test = "0.5.1" +serial_test = { workspace = true } [[bench]] name = "serde" diff --git a/readyset-dataflow/Cargo.toml b/readyset-dataflow/Cargo.toml index cf09c6ec66..aeb81babe7 100644 --- a/readyset-dataflow/Cargo.toml +++ b/readyset-dataflow/Cargo.toml @@ -8,48 +8,48 @@ edition = "2021" description = "ReadySet dataflow crate" [dependencies] -anyhow = "1.0" -async-bincode = "0.6.1" -backoff = { version = "0.4.0", features = ["tokio"] } -bincode = "1.0.0" -bufstream = "0.1.3" -byteorder = "1.0.0" -hashbag = "0.1.2" -ahash = "0.7" -futures-util = "0.3.13" -lazy_static = "1.0.0" -itertools = "0.10" +anyhow = { workspace = true } +async-bincode = { workspace = true } +backoff = { workspace = true, features = ["tokio"] } +bincode = { workspace = true } +bufstream = { workspace = true } +byteorder = { workspace = true } +hashbag = { workspace = true } +ahash = { workspace = true } +futures-util = { workspace = true } +lazy_static = { workspace = true } +itertools = { workspace = true } metrics = { workspace = true } nom-sql = { path = "../nom-sql" } -pin-project = "1.0" -indexmap = "1.9.2" -rand = "0.7" -regex = "1" -serde_derive = "1.0.8" -serde_with = "1.9.4" -serde_json = "1.0.2" -socket2 = "0.4" -tracing = { version = "0.1", features = ["release_max_level_debug"] } +pin-project = { workspace = true } +indexmap = { workspace = true } +rand = { workspace = true } +regex = { workspace = true } +serde_derive = { workspace = true } +serde_with = { workspace = true } +serde_json = { workspace = true } +socket2 = { workspace = true } +tracing = { workspace = true, features = ["release_max_level_debug"] } tokio = { workspace = true, features = ["full"] } -tokio-stream = { version = "0.1.5", features = ["net"] } -vec_map = { version = "0.8.0", features = ["eders"] } -tempfile = "3.4" -derive_more = "0.99.11" -tuple = "0.5.1" -vec1 = "1.6.0" +tokio-stream = { workspace = true, features = ["net"] } +vec_map = { workspace = true, features = ["eders"] } +tempfile = { workspace = true } +derive_more = { workspace = true } +tuple = { workspace = true } +vec1 = { workspace = true } criterion = { workspace = true, features=['real_blackbox', 'async_tokio'], optional = true } -test-strategy = "0.2.0" -thiserror = "1.0.26" -proptest = "1.0.0" -fail = "0.5.0" -strum = "0.23" -strum_macros = "0.23" +test-strategy = { workspace = true } +thiserror = { workspace = true } +proptest = { workspace = true } +fail = { workspace = true } +strum = { workspace = true } +strum_macros = { workspace = true } clap = { workspace = true, features = ["derive"] } # need features -petgraph = { version = "0.5", features = ["serde-1"] } -serde = { version = "1.0.8", features = ["rc"] } -timekeeper = { version = "0.3.2", default-features = false } +petgraph = { workspace = true, features = ["serde-1"] } +serde = { workspace = true, features = ["rc"] } +timekeeper = { workspace = true } # local deps common = { path = "../readyset-common", package = "readyset-common" } diff --git a/readyset-errors/Cargo.toml b/readyset-errors/Cargo.toml index 39a34b030c..a6b10e371d 100644 --- a/readyset-errors/Cargo.toml +++ b/readyset-errors/Cargo.toml @@ -6,25 +6,25 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -anyhow = "1.0" +anyhow = { workspace = true } consulrs = { workspace = true } -futures = "0.3" -hyper = "0.14.10" -thiserror = "1.0.26" +futures = { workspace = true } +hyper = { workspace = true } +thiserror = { workspace = true } mysql_async = { workspace = true } tokio-postgres = { workspace = true, features = ["with-chrono-0_4", "with-eui48-1", "with-uuid-0_8", "with-serde_json-1", "with-bit-vec-0_6"] } -petgraph = { version = "0.5", features = ["serde-1"] } -rmp-serde = "1.1.2" -tokio-tower = "0.5.1" -url = { version = "2.2", features = ["serde"] } -serde_json = { version = "1.0.2", features = ["arbitrary_precision"] } -derive_more = "0.99.11" -bincode = "1.3.3" -serde = { version = "1.0.8", features = ["rc", "derive"] } +petgraph = { workspace = true, features = ["serde-1"] } +rmp-serde = { workspace = true } +tokio-tower = { workspace = true } +url = { workspace = true, features = ["serde"] } +serde_json = { workspace = true, features = ["arbitrary_precision"] } +derive_more = { workspace = true } +bincode = { workspace = true } +serde = { workspace = true, features = ["rc", "derive"] } nom-sql = { path = "../nom-sql" } -vec1 = { version = "1.6.0", features = ["serde"] } -tikv-jemalloc-ctl = "0.5.0" +vec1 = { workspace = true, features = ["serde"] } +tikv-jemalloc-ctl = { workspace = true } readyset-util = { path = "../readyset-util" } -deadpool-postgres = "0.10.3" +deadpool-postgres = { workspace = true } failpoint-macros = { path = "../failpoint-macros" } -tokio-native-tls = "0.3.1" +tokio-native-tls = { workspace = true } diff --git a/readyset-logictest/Cargo.toml b/readyset-logictest/Cargo.toml index c463859870..d94f69f092 100644 --- a/readyset-logictest/Cargo.toml +++ b/readyset-logictest/Cargo.toml @@ -6,35 +6,35 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -anyhow = "1.0.38" +anyhow = { workspace = true } clap = { workspace = true, features = ["derive","env"] } -console = "0.15.5" -derive_more = "0.99.11" -hex = "0.4.3" -md5 = "0.7.0" +console = { workspace = true } +derive_more = { workspace = true } +hex = { workspace = true } +md5 = { workspace = true } mysql_async = { workspace = true } -mysql_common = { version = "0.32", features = ["chrono"] } -tikv-jemallocator = "0.5" +mysql_common = { workspace = true, features = ["chrono"] } +tikv-jemallocator = { workspace = true } tokio-postgres = { workspace = true, features = ["with-chrono-0_4"] } postgres-native-tls = { workspace = true } -native-tls = "0.2.7" -nom = "7.1" -nom_locate = "4.0.0" +native-tls = { workspace = true } +nom = { workspace = true } +nom_locate = { workspace = true } tokio = { workspace = true, features = ["full"] } -itertools = "0.10.0" -chrono = "0.4.19" -pretty_assertions = "1.4.0" -walkdir = "2.3.2" -proptest = "1.0.0" -futures = "0.3" -bytes = "1.0.1" -enum-display-derive = "0.1.1" -lazy_static = "1.4.0" -humantime = "2.1" -rust_decimal = { version = "1.26", features = ["db-tokio-postgres"] } -indicatif = "0.17" -bit-vec = { version = "0.6", features = ["serde"] } -thiserror = "1.0.30" +itertools = { workspace = true } +chrono = { workspace = true } +pretty_assertions = { workspace = true } +walkdir = { workspace = true } +proptest = { workspace = true } +futures = { workspace = true } +bytes = { workspace = true } +enum-display-derive = { workspace = true } +lazy_static = { workspace = true } +humantime = { workspace = true } +rust_decimal = { workspace = true, features = ["db-tokio-postgres"] } +indicatif = { workspace = true } +bit-vec = { workspace = true, features = ["serde"] } +thiserror = { workspace = true } readyset-server = { path = "../readyset-server/" } readyset-adapter = { path = "../readyset-adapter/" } diff --git a/readyset-mir/Cargo.toml b/readyset-mir/Cargo.toml index 280dc832e8..d832185d04 100644 --- a/readyset-mir/Cargo.toml +++ b/readyset-mir/Cargo.toml @@ -7,16 +7,16 @@ edition = "2021" description = "ReadySet MIR crate" [dependencies] -regex = "1.5" -lazy_static = "1.4" -petgraph = { version = "0.5", features = ["serde-1"] } -itertools = "0.10" -tracing = { version = "0.1", features = ["release_max_level_debug"] } -serde = { version = "1.0.8", features = ["rc", "derive"] } -proptest = "1.0.0" -vec1 = "1.6" -fixedbitset = { version = "0.2.0", default-features = false } -derive_more = "0.99.17" +regex = { workspace = true } +lazy_static = { workspace = true } +petgraph = { workspace = true, features = ["serde-1"] } +itertools = { workspace = true } +tracing = { workspace = true, features = ["release_max_level_debug"] } +serde = { workspace = true, features = ["rc", "derive"] } +proptest = { workspace = true } +vec1 = { workspace = true } +fixedbitset = { workspace = true } +derive_more = { workspace = true } # local deps common = { path = "../readyset-common", package = "readyset-common" } diff --git a/readyset-mysql/Cargo.toml b/readyset-mysql/Cargo.toml index 2542610bac..3a837dc3c9 100644 --- a/readyset-mysql/Cargo.toml +++ b/readyset-mysql/Cargo.toml @@ -7,16 +7,16 @@ edition = "2021" [dependencies] clap = { workspace = true, features = ["derive","env"] } -async-trait = "0.1" -fail = "0.5.0" +async-trait = { workspace = true } +fail = { workspace = true } metrics = { workspace = true } mysql-srv = { path = "../mysql-srv" } mysql_async = { workspace = true } -lazy_static = "1.0" -streaming-iterator = "0.1" -futures-util = "0.3" -pin-project = "1.0" -bincode = "1.3.3" +lazy_static = { workspace = true } +streaming-iterator = { workspace = true } +futures-util = { workspace = true } +pin-project = { workspace = true } +bincode = { workspace = true } readyset-client = { path = "../readyset-client" } readyset-errors = { path = "../readyset-errors" } @@ -27,14 +27,14 @@ readyset-client-metrics = { path = "../readyset-client-metrics" } readyset-version = { path = "../readyset-version" } failpoint-macros = { path = "../failpoint-macros" } nom-sql = { path = "../nom-sql" } -tikv-jemallocator = "0.5" +tikv-jemallocator = { workspace = true } tokio = { workspace = true, features = ["full"] } -tracing = { version = "0.1", features = ["release_max_level_debug"] } -anyhow = "1.0.42" -derive_more = "0.99.16" -thiserror = "1.0.26" -mysql_common = "0.32" -itertools = "0.10" +tracing = { workspace = true, features = ["release_max_level_debug"] } +anyhow = { workspace = true } +derive_more = { workspace = true } +thiserror = { workspace = true } +mysql_common = { workspace = true } +itertools = { workspace = true } readyset-util = { path = "../readyset-util" } [dev-dependencies] @@ -43,17 +43,17 @@ readyset-client-metrics = { path = "../readyset-client-metrics" } readyset-telemetry-reporter = { path = "../readyset-telemetry-reporter", features = ["test-util"] } readyset-server = { path = "../readyset-server" } test-utils = { path = "../test-utils" } -chrono = "0.4.19" -futures = "0.3" -mysql = "25" -paste = "1.0.5" -proptest = "1.0.0" -serial_test = "0.5.1" +chrono = { workspace = true } +futures = { workspace = true } +mysql = { workspace = true } +paste = { workspace = true } +proptest = { workspace = true } +serial_test = { workspace = true } proptest-stateful = { path = "../proptest-stateful" } -test-strategy = "0.2.0" +test-strategy = { workspace = true } readyset-tracing = { path = "../readyset-tracing" } -reqwest = "0.11.3" -regex = "1.8.4" +reqwest = { workspace = true } +regex = { workspace = true } [features] vertical_tests = [] diff --git a/readyset-psql/Cargo.toml b/readyset-psql/Cargo.toml index d87ecaf43e..f678fe207f 100644 --- a/readyset-psql/Cargo.toml +++ b/readyset-psql/Cargo.toml @@ -8,8 +8,8 @@ edition = "2021" [dependencies] clap = { workspace = true, features = ["derive","env"] } -async-trait = "0.1" -lazy_static = "1.0" +async-trait = { workspace = true } +lazy_static = { workspace = true } readyset-client = { path = "../readyset-client/" } readyset-errors = { path = "../readyset-errors/" } readyset-data = { path = "../readyset-data/" } @@ -20,36 +20,36 @@ readyset-version = { path = "../readyset-version" } failpoint-macros = { path = "../failpoint-macros" } nom-sql = { path = "../nom-sql" } psql-srv = { path = "../psql-srv" } -anyhow = "1.0.42" -fail = "0.5.0" +anyhow = { workspace = true } +fail = { workspace = true } tokio = { workspace = true, features = ["full"] } tokio-postgres = { workspace = true, features = ["with-chrono-0_4", "with-eui48-1", "with-uuid-0_8", "with-serde_json-1", "with-bit-vec-0_6"] } postgres-types = { workspace = true, features = ["derive"] } postgres-native-tls = { workspace = true } -native-tls = "0.2.7" -futures = "0.3" -itertools = "0.10" -thiserror = "1.0.26" -tikv-jemallocator = "0.5" -tracing = { version = "0.1", features = ["release_max_level_debug"] } -tracing-futures = "0.2.5" -rust_decimal = { version = "1.26" } +native-tls = { workspace = true } +futures = { workspace = true } +itertools = { workspace = true } +thiserror = { workspace = true } +tikv-jemallocator = { workspace = true } +tracing = { workspace = true, features = ["release_max_level_debug"] } +tracing-futures = { workspace = true } +rust_decimal = { workspace = true } eui48 = { workspace = true } -uuid = "0.8" -serde_json = { version = "1", features = ["arbitrary_precision"] } -bit-vec = { version = "0.6", features = ["serde"] } -streaming-iterator = "0.1" -rand = "0.8" -cidr = "0.2.1" +uuid = { workspace = true } +serde_json = { workspace = true, features = ["arbitrary_precision"] } +bit-vec = { workspace = true, features = ["serde"] } +streaming-iterator = { workspace = true } +rand = { workspace = true } +cidr = { workspace = true } metrics = { workspace = true } -tempfile = "3.8.1" +tempfile = { workspace = true } [dev-dependencies] -chrono = "0.4" +chrono = { workspace = true } readyset-server = { path = "../readyset-server/" } -proptest = "1.0.0" -serial_test = "0.5.1" -test-strategy = "0.2.0" +proptest = { workspace = true } +serial_test = { workspace = true } +test-strategy = { workspace = true } readyset-util = { path = "../readyset-util" } readyset-client-test-helpers = { path = "../readyset-client-test-helpers", features = ["postgres"] } criterion = { workspace = true, features = ["async_tokio"] } diff --git a/readyset-repl/Cargo.toml b/readyset-repl/Cargo.toml index 4c74b80a27..c6c88639b9 100644 --- a/readyset-repl/Cargo.toml +++ b/readyset-repl/Cargo.toml @@ -6,16 +6,16 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -anyhow = "1.0" +anyhow = { workspace = true } clap = { workspace = true, features = ["derive", "wrap_help"] } -console = "0.15.5" -rustyline = "11.0" -rustyline-derive = "0.6.0" +console = { workspace = true } +rustyline = { workspace = true } +rustyline-derive = { workspace = true } tokio = { workspace = true, features = ["full"] } -prettytable = "0.10.0" +prettytable = { workspace = true } postgres-types = { workspace = true } -textwrap = "0.14" -nom = "7.1.1" +textwrap = { workspace = true } +nom = { workspace = true } database-utils = { path = "../database-utils" } readyset-data = { path = "../readyset-data" } diff --git a/readyset-server/Cargo.toml b/readyset-server/Cargo.toml index c12f62e4b7..32670f4f01 100644 --- a/readyset-server/Cargo.toml +++ b/readyset-server/Cargo.toml @@ -23,59 +23,59 @@ redact_sensitive = ["readyset-util/redact_sensitive"] [dependencies] clap = { workspace = true, features = ["derive","env"] } -anyhow = "1.0" -bimap = { version = "0.6.3", features = ["serde"] } -thiserror = "1.0.26" -ahash = "0.7" -futures = "0.3" -futures-core = "0.3.14" -futures-util = "0.3.14" -futures-sink = "0.3.14" -futures-executor = "0.3.14" -pin-project = "1.0" -hyper = { version = "0.14.10", features = [ "stream", "server" ] } -querystring = "1.1.0" -itertools = "0.10" +anyhow = { workspace = true } +bimap = { workspace = true, features = ["serde"] } +thiserror = { workspace = true } +ahash = { workspace = true } +futures = { workspace = true } +futures-core = { workspace = true } +futures-util = { workspace = true } +futures-sink = { workspace = true } +futures-executor = { workspace = true } +pin-project = { workspace = true } +hyper = { workspace = true, features = ["stream", "server"] } +querystring = { workspace = true } +itertools = { workspace = true } metrics = { workspace = true } metrics-util = { workspace = true } metrics-exporter-prometheus = { workspace = true } -nom = "7.1" -petgraph = { version = "0.5", features = ["serde-1"] } -rand = "0.7.0" -serde_json = "1.0.2" -serde_with = "1.9.4" -slab = "0.4" -bincode = "1.3.3" +nom = { workspace = true } +petgraph = { workspace = true, features = ["serde-1"] } +rand = { workspace = true } +serde_json = { workspace = true } +serde_with = { workspace = true } +slab = { workspace = true } +bincode = { workspace = true } tokio = { workspace = true, features = ["full"] } -async-bincode = "0.6.1" -tracing = { version = "0.1", features = ["release_max_level_debug"] } -vec1 = "1.6.0" -reqwest = "0.11.3" -url = { version = "2.2", features = ["serde"] } -tokio-stream = "0.1.5" -tokio-retry = "0.3" -lazy_static = "1.4.0" -regex = "1.5.4" -tracing-futures = "0.2.5" -parking_lot = "0.11.2" -scopeguard = "1.1.0" -fail = "0.5.0" -sha1 = "0.10" -derive_more = "0.99" -streaming-iterator = "0.1" -proptest = "1.0.0" -once_cell = "1.14" -enum-kinds = "0.5.1" -slotmap = "1.0.6" -tikv-jemalloc-ctl = "0.5.0" -rlimit = "0.10.1" +async-bincode = { workspace = true } +tracing = { workspace = true, features = ["release_max_level_debug"] } +vec1 = { workspace = true } +reqwest = { workspace = true } +url = { workspace = true, features = ["serde"] } +tokio-stream = { workspace = true } +tokio-retry = { workspace = true } +lazy_static = { workspace = true } +regex = { workspace = true } +tracing-futures = { workspace = true } +parking_lot = { workspace = true } +scopeguard = { workspace = true } +fail = { workspace = true } +sha1 = { workspace = true } +derive_more = { workspace = true } +streaming-iterator = { workspace = true } +proptest = { workspace = true } +once_cell = { workspace = true } +enum-kinds = { workspace = true } +slotmap = { workspace = true } +tikv-jemalloc-ctl = { workspace = true } +rlimit = { workspace = true } -timekeeper = { version = "0.3.2", default-features = false } -vec_map = { version = "0.8.0", features = ["eders"] } -serde = { version = "1.0.8", features = ["rc", "derive"] } -tokio-tower = "0.5.1" -tower = { version = "0.4.6", features = ["util"] } -strawpoll = "0.2.2" +timekeeper = { workspace = true } +vec_map = { workspace = true, features = ["eders"] } +serde = { workspace = true, features = ["rc", "derive"] } +tokio-tower = { workspace = true } +tower = { workspace = true, features = ["util"] } +strawpoll = { workspace = true } # local deps dataflow = { path = "../readyset-dataflow", package = "readyset-dataflow" } @@ -100,27 +100,27 @@ health-reporter = { path = "../health-reporter" } database-utils = { path = "../database-utils" } catalog-tables = { path = "../catalog-tables" } replication-offset = { path = "../replication-offset" } -num_cpus = "1.16.0" +num_cpus = { workspace = true } [dev-dependencies] dataflow = { path = "../readyset-dataflow", package = "readyset-dataflow", features = ["bench"] } test-utils = { path = "../test-utils" } # Exact version dep here is only to avoid duplicate versions of downstream # dependencies -backtrace = { version = "=0.3.65", features = ["serialize-serde"] } -toml = "0.5" -diff = "0.1.10" -tempfile = "3.4" -mysql = "25" -chrono = "0.4.19" -assert_approx_eq = "1.1.0" -assert_unordered = "0.3" +backtrace = { workspace = true, features = ["serialize-serde"] } +toml = { workspace = true } +diff = { workspace = true } +tempfile = { workspace = true } +mysql = { workspace = true } +chrono = { workspace = true } +assert_approx_eq = { workspace = true } +assert_unordered = { workspace = true } criterion = { workspace = true } -include_dir = "0.6.2" -rusty-fork = "0.3.0" -test-strategy = "0.2.0" -rust_decimal = "1.25" -triomphe = "0.1" +include_dir = { workspace = true } +rusty-fork = { workspace = true } +test-strategy = { workspace = true } +rust_decimal = { workspace = true } +triomphe = { workspace = true } [[bench]] name = "dataflow" diff --git a/readyset-server/src/controller/state.rs b/readyset-server/src/controller/state.rs index c336de50fd..4975d3d9e2 100644 --- a/readyset-server/src/controller/state.rs +++ b/readyset-server/src/controller/state.rs @@ -1494,7 +1494,7 @@ impl DfState { let idx = { let mut rng = rand::thread_rng(); - rng.gen_range(0, tags.len()) + rng.gen_range(0..tags.len()) }; let (ni, tag) = tags.get(idx).ok_or_else(|| internal_err!())?; diff --git a/readyset-sql-passes/Cargo.toml b/readyset-sql-passes/Cargo.toml index 151d72c648..1af197fb4a 100644 --- a/readyset-sql-passes/Cargo.toml +++ b/readyset-sql-passes/Cargo.toml @@ -6,10 +6,10 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -itertools = "0.10" -tracing = { version = "0.1" } -serde = "1.0.8" -vec1 = "1.6.0" +itertools = { workspace = true } +tracing = { workspace = true } +serde = { workspace = true } +vec1 = { workspace = true } # Local dependencies nom-sql = { path = "../nom-sql" } diff --git a/readyset-telemetry-reporter/Cargo.toml b/readyset-telemetry-reporter/Cargo.toml index fad3216d4f..c1661e3daa 100644 --- a/readyset-telemetry-reporter/Cargo.toml +++ b/readyset-telemetry-reporter/Cargo.toml @@ -5,23 +5,23 @@ edition = "2021" publish = false [dependencies] -async-trait = "0.1" -backoff = { version = "0.4.0", features = ["tokio"] } +async-trait = { workspace = true } +backoff = { workspace = true, features = ["tokio"] } base64 = "0.13" -derive_builder = "0.11.2" -hex = "0.4" -lazy_static = "1.4" -reqwest = { version = "0.11.7", features = ["json"] } -serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0" -serde_with_macros = "2.0.0" -thiserror = "1.0" +derive_builder = { workspace = true } +hex = { workspace = true } +lazy_static = { workspace = true } +reqwest = { workspace = true, features = ["json"] } +serde = { workspace = true, features = ["derive"] } +serde_json = { workspace = true } +serde_with_macros = { workspace = true } +thiserror = { workspace = true } tokio = { workspace = true, features = ["full"] } -tracing = { version = "0.1", features = ["release_max_level_debug"] } +tracing = { workspace = true, features = ["release_max_level_debug"] } readyset-tracing = { path = "../readyset-tracing" } readyset-util = { path = "../readyset-util" } -uuid = { version = "0.8", features = [ "v4" ] } -machine-uid = "0.2" +uuid = { workspace = true, features = ["v4"] } +machine-uid = { workspace = true } blake2= "0.10" readyset-version = { path = "../readyset-version" } diff --git a/readyset-tools/Cargo.toml b/readyset-tools/Cargo.toml index a8ea0aa2fb..463c7f0200 100644 --- a/readyset-tools/Cargo.toml +++ b/readyset-tools/Cargo.toml @@ -6,14 +6,14 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -anyhow = "1.0.38" +anyhow = { workspace = true } clap = { workspace = true, features = ["derive","env"] } -serde_json = "1.0.69" +serde_json = { workspace = true } readyset-client = { path = "../readyset-client" } tokio = { workspace = true, features = ["full"] } readyset-server = { path = "../readyset-server" } -hyper = { version = "0.14.10" } -bincode = "1.3.3" +hyper = { workspace = true } +bincode = { workspace = true } [[bin]] name = "view_checker" diff --git a/readyset-tracing/Cargo.toml b/readyset-tracing/Cargo.toml index 521eafd514..9f588d069d 100644 --- a/readyset-tracing/Cargo.toml +++ b/readyset-tracing/Cargo.toml @@ -7,22 +7,22 @@ edition = "2021" [dependencies] clap = { workspace = true, features = ["derive","env"] } -once_cell = "1.9.0" -parking_lot = "0.12.0" -rand = "0.8.5" -serde = { version = "1.0.136", features = ["derive"] } -thiserror = "1.0.30" +once_cell = { workspace = true } +parking_lot = { workspace = true } +rand = { workspace = true } +serde = { workspace = true, features = ["derive"] } +thiserror = { workspace = true } tokio = { workspace = true, features = ["full"] } -lazy_static = "1.0" +lazy_static = { workspace = true } -tracing = "0.1.40" -opentelemetry = { version = "0.21.0" } -opentelemetry-otlp = { version = "0.14.0" } -opentelemetry-semantic-conventions = "0.13" -tracing-opentelemetry = "0.22.0" -tracing-subscriber = { version = "0.3.9", features = ["env-filter", "json"] } -tracing-appender = "0.2.3" -opentelemetry_sdk = { version = "0.21.2", features = ["rt-tokio"] } +tracing = { workspace = true } +opentelemetry = { workspace = true } +opentelemetry-otlp = { workspace = true } +opentelemetry-semantic-conventions = { workspace = true } +tracing-opentelemetry = { workspace = true } +tracing-subscriber = { workspace = true, features = ["env-filter", "json"] } +tracing-appender = { workspace = true } +opentelemetry_sdk = { workspace = true, features = ["rt-tokio"] } [dev-dependencies] -tracing-attributes = "0.1.27" +tracing-attributes = { workspace = true } diff --git a/readyset-util/Cargo.toml b/readyset-util/Cargo.toml index 71f82988f8..b5e6148009 100644 --- a/readyset-util/Cargo.toml +++ b/readyset-util/Cargo.toml @@ -7,29 +7,29 @@ edition = "2021" description = "Extensions to the Rust standard library" [dependencies] -backoff = { version = "0.4.0", features = ["tokio"] } -bytes = "1.0" -proptest = "1.0.0" -chrono = { version = "0.4.0", features = ["serde"] } -chrono-tz = "0.8.6" +backoff = { workspace = true, features = ["tokio"] } +bytes = { workspace = true } +proptest = { workspace = true } +chrono = { workspace = true, features = ["serde"] } +chrono-tz = { workspace = true } tokio = { workspace = true, features = ["full"] } -futures = "0.3" -tracing = { version = "0.1", features = ["release_max_level_debug"] } -rust_decimal = { version = "1.26" } +futures = { workspace = true } +tracing = { workspace = true, features = ["release_max_level_debug"] } +rust_decimal = { workspace = true } eui48 = { workspace = true } -uuid = { version = "0.8", features = ["v4"] } -serde_json = "1" -bit-vec = { version = "0.6", features = ["serde"] } -serde = { version = "1.0", features = ["derive"] } -async-stream = "0.3.2" -cidr = "0.2.1" -thiserror = "1.0.26" +uuid = { workspace = true, features = ["v4"] } +serde_json = { workspace = true } +bit-vec = { workspace = true, features = ["serde"] } +serde = { workspace = true, features = ["derive"] } +async-stream = { workspace = true } +cidr = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] criterion = { workspace = true } -test-strategy = "0.2.0" -rand = "0.8.5" -pprof = { version = "0.13", features = ["flamegraph", "criterion"] } +test-strategy = { workspace = true } +rand = { workspace = true } +pprof = { workspace = true, features = ["flamegraph", "criterion"] } postgres = { workspace = true, features = ["with-chrono-0_4", "with-eui48-1", "with-uuid-0_8", "with-serde_json-1", "with-bit-vec-0_6"] } [features] diff --git a/readyset-version/Cargo.toml b/readyset-version/Cargo.toml index aef1e122f3..ad4cbd09e9 100644 --- a/readyset-version/Cargo.toml +++ b/readyset-version/Cargo.toml @@ -8,5 +8,5 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -const-str = "0.5" -serde = "1.0.130" +const-str = { workspace = true } +serde = { workspace = true } diff --git a/readyset/Cargo.toml b/readyset/Cargo.toml index 2dc5371c07..778247e2af 100644 --- a/readyset/Cargo.toml +++ b/readyset/Cargo.toml @@ -10,23 +10,23 @@ A real-time SQL caching engine for Postgres and MySQL.""" [dependencies] -anyhow = "1.0" -async-trait = "0.1" +anyhow = { workspace = true } +async-trait = { workspace = true } clap = { workspace = true, features = ["derive","env"] } -futures-util = "0.3.0" -fail = "0.5.0" +futures-util = { workspace = true } +fail = { workspace = true } failpoint-macros = { path = "../failpoint-macros" } metrics = { workspace = true } metrics-exporter-prometheus = { workspace = true } tokio = { workspace = true, features = ["full"] } -tokio-native-tls = "0.3.1" -tokio-stream = { version = "0.1.5", features = ["net"] } -tracing = { version = "0.1", features = ["release_max_level_debug"] } -tracing-subscriber = "0.3.9" -tracing-futures = "0.2.5" -reqwest = { version = "0.11", features = ["json"] } -chrono = "0.4" -crossbeam-skiplist = "0.1.1" +tokio-native-tls = { workspace = true } +tokio-stream = { workspace = true, features = ["net"] } +tracing = { workspace = true, features = ["release_max_level_debug"] } +tracing-subscriber = { workspace = true } +tracing-futures = { workspace = true } +reqwest = { workspace = true, features = ["json"] } +chrono = { workspace = true } +crossbeam-skiplist = { workspace = true } # Local dependencies health-reporter = { path = "../health-reporter" } @@ -52,12 +52,12 @@ readyset-telemetry-reporter = { path = "../readyset-telemetry-reporter" } readyset-tracing = { path = "../readyset-tracing" } readyset-version = { path = "../readyset-version" } replicators = { path = "../replicators" } -serde_json = "1.0.89" +serde_json = { workspace = true } [dev-dependencies] -serial_test = "0.5" -temp-dir = "0.1" +serial_test = { workspace = true } +temp-dir = { workspace = true } [features] failure_injection = ["fail/failpoints", "readyset-client/failure_injection", "readyset-server/failure_injection"] diff --git a/replication-offset/Cargo.toml b/replication-offset/Cargo.toml index 443a9791b9..fbe09a2a07 100644 --- a/replication-offset/Cargo.toml +++ b/replication-offset/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" [dependencies] nom-sql = { path = "../nom-sql" } readyset-errors = { path = "../readyset-errors" } -serde = { version = "1.0", features = ["derive"] } +serde = { workspace = true, features = ["derive"] } readyset-util = { path = "../readyset-util" } -bytes = "1.0" -serde_json = "1.0.89" +bytes = { workspace = true } +serde_json = { workspace = true } diff --git a/replicators/Cargo.toml b/replicators/Cargo.toml index f11c12bb84..a32e500444 100644 --- a/replicators/Cargo.toml +++ b/replicators/Cargo.toml @@ -6,27 +6,27 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -anyhow = "1.0" -async-trait = "0.1" +anyhow = { workspace = true } +async-trait = { workspace = true } clap = { workspace = true, features = ["derive","env"] } -native-tls = "0.2.7" +native-tls = { workspace = true } tokio = { workspace = true, features = ["full"] } -futures = { version = "0.3" } -fail = "0.5.0" -bytes = "1.0" -chrono = "0.4" -itertools = "0.10" +futures = { workspace = true } +fail = { workspace = true } +bytes = { workspace = true } +chrono = { workspace = true } +itertools = { workspace = true } metrics = { workspace = true } -tracing = { version = "0.1", features = ["release_max_level_debug"] } -tracing-futures = "0.2.5" -serde_json = { version = "1", features = ["arbitrary_precision"] } -hex = "0.4.3" -rust_decimal = { version = "1.26" } -bit-vec = { version = "0.6", features = ["serde"] } -serde = { version = "1.0", features = ["derive"] } -nom_locate = "4.0.0" -deadpool-postgres = "0.10.3" -mysql_common = "0.32" +tracing = { workspace = true, features = ["release_max_level_debug"] } +tracing-futures = { workspace = true } +serde_json = { workspace = true, features = ["arbitrary_precision"] } +hex = { workspace = true } +rust_decimal = { workspace = true } +bit-vec = { workspace = true, features = ["serde"] } +serde = { workspace = true, features = ["derive"] } +nom_locate = { workspace = true } +deadpool-postgres = { workspace = true } +mysql_common = { workspace = true } tokio-postgres = { workspace = true, features = ["with-chrono-0_4", "with-serde_json-1"] } postgres-types = { workspace = true, features = ["with-chrono-0_4", "with-serde_json-1"] } @@ -54,12 +54,12 @@ readyset-server = { path = "../readyset-server" } readyset-telemetry-reporter = { path = "../readyset-telemetry-reporter", features = ["test-util"] } readyset-client-test-helpers = { path = "../readyset-client-test-helpers", features = ["postgres"] } proptest-stateful = { path = "../proptest-stateful" } -serial_test = "0.5" -rand = "0.8.5" -proptest = "1.0.0" -test-strategy = "0.2.0" -bincode = "1.3.3" -reqwest = "0.11.3" +serial_test = { workspace = true } +rand = { workspace = true } +proptest = { workspace = true } +test-strategy = { workspace = true } +bincode = { workspace = true } +reqwest = { workspace = true } [features] ddl_vertical_tests = [] diff --git a/system-benchmarks/Cargo.toml b/system-benchmarks/Cargo.toml index 3d34083eab..d94f52d3ee 100644 --- a/system-benchmarks/Cargo.toml +++ b/system-benchmarks/Cargo.toml @@ -6,12 +6,12 @@ authors = ["ReadySet Technology, Inc. "] publish = false [dependencies] -anyhow = "1.0" -itertools = "0.10" +anyhow = { workspace = true } +itertools = { workspace = true } tokio = { workspace = true, features = ["full"] } -reqwest = { version = "0.11", features = [ "blocking" ] } -serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0" +reqwest = { workspace = true, features = [ "blocking" ] } +serde = { workspace = true, features = ["derive"] } +serde_json = { workspace = true } tokio-postgres = { workspace = true, features = ["with-chrono-0_4", "with-eui48-1", "with-uuid-0_8", "with-serde_json-1", "with-bit-vec-0_6"] } database-utils = { path = "../database-utils" } readyset-data = { path = "../readyset-data" } @@ -27,20 +27,20 @@ readyset-psql = { path = "../readyset-psql" } readyset = { path = "../readyset" } criterion = { workspace = true, features = ["async_tokio"] } -fork = "0.1" -futures = "0.3" -num_cpus = "1.13" -parking_lot = "0.12" -temp-dir = "0.1" -tikv-jemallocator = "0.5" +fork = { workspace = true } +futures = { workspace = true } +num_cpus = { workspace = true } +parking_lot = { workspace = true } +temp-dir = { workspace = true } +tikv-jemallocator = { workspace = true } -regex = "1.5" +regex = { workspace = true } -bincode = "1.3" +bincode = { workspace = true } nperf-core = { workspace = true } -structopt = "0.2" -libc = "0.2" +structopt = { workspace = true } +libc = { workspace = true } [[bin]] name = "regressions" diff --git a/test-utils/Cargo.toml b/test-utils/Cargo.toml index 316db174f7..ff3ef3461e 100644 --- a/test-utils/Cargo.toml +++ b/test-utils/Cargo.toml @@ -11,4 +11,4 @@ tokio = { workspace = true, features = ["full"] } # Avoid adding dependencies as this is included in tests. [dev-dependencies] -tokio-scoped = { version = "0.2.0" } +tokio-scoped = { workspace = true } diff --git a/test-utils/proc-macros/Cargo.toml b/test-utils/proc-macros/Cargo.toml index 32df64b2dc..0f2ab17466 100644 --- a/test-utils/proc-macros/Cargo.toml +++ b/test-utils/proc-macros/Cargo.toml @@ -9,5 +9,5 @@ edition = "2021" proc-macro = true [dependencies] -quote = "1.0" -syn = { version = "1", default_features = false, features = ["full", "parsing", "printing", "proc-macro", "extra-traits", "clone-impls"] } +quote = { workspace = true } +syn = { workspace = true, features = ["full", "parsing", "printing", "proc-macro", "extra-traits", "clone-impls"] } diff --git a/timestamp-service/Cargo.toml b/timestamp-service/Cargo.toml index 01f04efab2..3c97f5272c 100644 --- a/timestamp-service/Cargo.toml +++ b/timestamp-service/Cargo.toml @@ -6,6 +6,6 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -anyhow = "1.0" +anyhow = { workspace = true } # local deps readyset-client = { path = "../readyset-client" } diff --git a/tinylb/Cargo.toml b/tinylb/Cargo.toml index 7bdb9d2f64..c74840f6a4 100644 --- a/tinylb/Cargo.toml +++ b/tinylb/Cargo.toml @@ -6,6 +6,6 @@ authors = ["ReadySet Technology, Inc. "] edition = "2021" [dependencies] -anyhow = "1.0" +anyhow = { workspace = true } clap = { workspace = true, features = ["derive", "env"] } tokio = { workspace = true, features = ["full"] } diff --git a/tournament-kway/Cargo.toml b/tournament-kway/Cargo.toml index dcaaec919b..0be932cd50 100644 --- a/tournament-kway/Cargo.toml +++ b/tournament-kway/Cargo.toml @@ -9,8 +9,8 @@ keywords = ["sort", "tournament", "tree", "kway", "merge"] description = "Implementation of a k-way merge using a tournament tree" [dependencies] -streaming-iterator = "0.1" +streaming-iterator = { workspace = true } [dev-dependencies] -proptest = "1.0" -test-strategy = "0.2" +proptest = { workspace = true } +test-strategy = { workspace = true }