Skip to content

Commit

Permalink
chore(dependencies): Move dependencies that are only used in one crate (
Browse files Browse the repository at this point in the history
#1484)

* chore(dependencies): Move dependencies that are only used in one crate

* fix workflows

* move more dependencies

* Remove unused dependencies

* review and cleanup

* fix rust workflow and features

* try again

* remove one more

* Fix merge

* review

* update serde_reflection

* review

* fix merge and update deps

* clippy

* remove brotli

* Revert "clippy"

This reverts commit a3bb57c.

* dprint

* Fix some issues and unused deps

* fix features

---------

Co-authored-by: Thibault Martinez <[email protected]>
  • Loading branch information
DaughterOfMars and thibault-martinez authored Aug 21, 2024
1 parent 6976648 commit cab5d43
Show file tree
Hide file tree
Showing 99 changed files with 2,501 additions and 2,964 deletions.
1,975 changes: 991 additions & 984 deletions Cargo.lock

Large diffs are not rendered by default.

337 changes: 116 additions & 221 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -206,225 +206,130 @@ opt-level = 1

# Dependencies that should be kept in sync through the whole workspace
[workspace.dependencies]
anyhow = "1.0.71"
arc-swap = { version = "1.5.1", features = ["serde"] }
arrow = "52.1.0"
arrow-array = "52.1.0"
assert_cmd = "2.0.6"
async-graphql = "7.0.6"
async-graphql-axum = "7.0.6"
async-graphql-value = "7.0.6"
async-recursion = "1.0.4"
async-trait = "0.1.61"
atomic_float = "0.1"
aws-config = { version = "1.5.3", features = ["behavior-version-latest"] }
aws-runtime = "1.3.1"
aws-sdk-dynamodb = "1.36.0"
aws-sdk-ec2 = "1.54.0"
aws-sdk-kms = "1.35.0"
aws-sdk-s3 = "1.40.0"
aws-smithy-http = "0.60.8"
aws-smithy-runtime-api = "1.7.0"
axum = { version = "0.7.5", default-features = false, features = ["tokio", "http1", "http2", "json", "matched-path", "original-uri", "form", "query", "ws"] }
axum-extra = "0.9.3"
axum-server = { version = "0.6.0", default-features = false }
backoff = { version = "0.4.0", features = ["tokio"] }
base64 = "0.22.1"
base64-url = "3.0.0"
bcs = "0.1.4"
better_any = { version = "0.2.0", features = ["derive"] }
bimap = "0.6.2"
bincode = "1.3.3"
bip32 = "0.5.1"
byteorder = "1.4.3"
bytes = { version = "1.5.0", features = ["serde"] }
cached = { version = "0.51.4", features = ["async"] }
camino = "1.1.1"
cfg-if = "1.0.0"
chrono = { version = "0.4.26", features = ["clock", "serde"] }
clap = { version = "4.4", features = ["derive", "wrap_help"] }
collectable = "0.0.2"
color-eyre = "0.6.2"
colored = "2.0.0"
comfy-table = "6.1.3"
console-subscriber = "0.3.0"
const-str = "0.5.3"
criterion = { version = "0.5.0", features = ["async", "async_tokio", "html_reports"] }
crossterm = "0.25.0"
csv = "1.2.1"
dashmap = "5.5.3"
# datatest-stable = "0.1.2"
anyhow = "1.0"
arc-swap = { version = "1.5", features = ["serde"] }
assert_cmd = "2.0"
async-graphql = "7.0"
async-recursion = "1.0"
async-trait = "0.1"
aws-config = { version = "1.5", features = ["behavior-version-latest"] }
axum = { version = "0.7", default-features = false, features = ["tokio", "http1", "http2", "json", "matched-path", "original-uri", "form", "query", "ws"] }
axum-extra = "0.9"
backoff = { version = "0.4", features = ["tokio"] }
base64 = "0.22"
base64-url = "3.0"
bcs = "0.1"
better_any = { version = "0.2", features = ["derive"] }
bincode = "1.3"
bip32 = "0.5"
byteorder = "1.4"
bytes = { version = "1.5", features = ["serde"] }
cached = { version = "0.53", features = ["async"] }
camino = "1.1"
cfg-if = "1.0"
chrono = { version = "0.4", features = ["clock", "serde"] }
clap = { version = "4.5", features = ["derive", "wrap_help"] }
colored = "2.0"
comfy-table = "7.1"
const-str = "0.5"
criterion = { version = "0.5", features = ["async", "async_tokio", "html_reports"] }
crossterm = "0.28"
csv = "1.2"
dashmap = "6.0"
datatest-stable = { git = "https://github.com/nextest-rs/datatest-stable.git", rev = "72db7f6d1bbe36a5407e96b9488a581f763e106f" }
derivative = "2.2.0"
derive-syn-parse = "0.1.5"
derive_builder = "0.20.0"
derive_more = "0.99.18"
diesel = { version = "2.2.1", features = ["chrono", "postgres", "r2d2", "serde_json", "64-column-tables", "i-implement-a-third-party-backend-and-opt-into-breaking-changes", "postgres_backend"] }
diesel-derive-enum = { version = "2.1.0", features = ["postgres"] }
diesel_migrations = "2.2.0"
dirs = "5.0.1"
duration-str = "0.11.2"
ed25519 = { version = "1.5.0", features = ["pkcs8", "alloc", "zeroize"] }
ed25519-consensus = { version = "2.0.1", features = ["serde"] }
either = "1.8.0"
derivative = "2.2"
diesel = { version = "2.2", features = ["chrono", "postgres", "r2d2", "serde_json", "64-column-tables", "i-implement-a-third-party-backend-and-opt-into-breaking-changes", "postgres_backend"] }
dirs = "5.0"
ed25519-consensus = { version = "2.0", features = ["serde"] }
either = "1.8"
enum_dispatch = "^0.3"
expect-test = "1.4.0"
eyre = "0.6.8"
fdlimit = "0.2.1"
flate2 = "1.0.28"
fs_extra = "1.3.0"
futures = "0.3.28"
futures-core = "0.3.21"
git-version = "0.3.5"
glob = "0.3.1"
governor = "0.6.0"
hashbrown = "0.14.5"
hdrhistogram = "7.5.1"
hex = "0.4.3"
hex-literal = "0.4.1"
highlight = "0.0.3"
http = "1.1.0"
http-body = "1.0.0"
http-body-util = "0.1.2"
humantime = "2.1.0"
hyper = { version = "1.3.1", features = ["http2"] }
hyper-rustls = { version = "0.27.2", features = ["webpki-roots", "http2"] }
hyper-util = { version = "0.1.6", default-features = false }
im = "15"
impl-trait-for-tuples = "0.2.0"
indexmap = { version = "2.1.0", features = ["serde"] }
indicatif = "0.17.2"
inquire = "0.6.0"
insta = { version = "1.21.1", features = ["redactions", "yaml", "json"] }
integer-encoding = "3.0.1"
ipnetwork = "0.20.0"
itertools = "0.13.0"
jemalloc-ctl = "0.5.4"
json_to_table = "0.6"
jsonrpsee = { version = "0.24.0", features = ["server", "macros", "client", "ws-client", "http-client"] }
leb128 = "0.2.5"
linked-hash-map = "0.5.6"
lru = "0.10"
markdown-gen = "1.2.1"
match_opt = "0.1.2"
miette = { version = "7", features = ["fancy"] }
mime = "0.3"
mockall = "0.11.4"
moka = { version = "0.12", default-features = false, features = ["sync", "atomic64"] }
more-asserts = "0.3.1"
expect-test = "1.4"
eyre = "0.6"
fdlimit = "0.3"
flate2 = "1.0"
fs_extra = "1.3"
futures = "0.3"
git-version = "0.3"
governor = "0.6"
hdrhistogram = "7.5"
hex = "0.4"
http = "1.1"
http-body-util = "0.1"
humantime = "2.1"
hyper = { version = "1.3", features = ["http2"] }
hyper-util = { version = "0.1", default-features = false }
im = "15.1"
indexmap = { version = "2.1", features = ["serde"] }
indicatif = "0.17"
insta = { version = "1.21", features = ["redactions", "yaml", "json"] }
integer-encoding = "4.0"
itertools = "0.13"
json_to_table = "0.6" # Version 0.8 is incompatable with tabled
jsonrpsee = { version = "0.24", features = ["server", "macros", "client", "ws-client", "http-client"] }
leb128 = "0.2"
lru = "0.12"
mockall = "0.13"
more-asserts = "0.3"
msim = { git = "https://github.com/MystenLabs/mysten-sim.git", rev = "6f88ec84644cb1a6809c010f1f534d0d09e0cd89", package = "msim" }
msim-macros = { git = "https://github.com/MystenLabs/mysten-sim.git", rev = "6f88ec84644cb1a6809c010f1f534d0d09e0cd89", package = "msim-macros" }
multiaddr = "0.17.0"
nexlint = { git = "https://github.com/nextest-rs/nexlint.git", rev = "94da5c787636dad779c340affa65219134d127f5" }
nexlint-lints = { git = "https://github.com/nextest-rs/nexlint.git", rev = "94da5c787636dad779c340affa65219134d127f5" }
notify = "6.1.1"
ntest = "0.9.0"
num-bigint = "0.4.4"
num_cpus = "1.15.0"
num_enum = "0.7.2"
object_store = { version = "0.10.1", features = ["aws", "gcp", "azure", "http"] }
once_cell = "1.18.0"
ouroboros = "0.17"
parking_lot = "0.12.3"
parquet = "52.1.0"
petgraph = "0.5.1"
pkcs8 = { version = "0.9.0", features = ["std"] }
pprof = { version = "0.13.0", features = ["cpp", "frame-pointer"] }
pretty_assertions = "1.3.0"
prettytable-rs = "0.10.0"
proc-macro2 = "1.0.47"
prometheus = "0.13.4"
prometheus-http-query = { version = "0.8.3", default-features = false, features = ["rustls-tls"] }
prometheus-parse = "0.2.5"
proptest = "1.1.0"
proptest-derive = "0.3.0"
prost = "0.13.1"
prost-build = "0.13.1"
protobuf = { version = "2.28", features = ["with-bytes"] }
protobuf-src = "1.1.0"
quinn-proto = "^0.10.5"
quote = "1.0.23"
rand = "0.8.5"
rand_regex = "0.15.1"
rayon = "1.5.3"
rcgen = "0.9.2"
regex = "1.7.1"
reqwest = { version = "0.12.5", default-features = false, features = ["blocking", "json", "rustls-tls"] }
roaring = "0.10.1"
rocksdb = { version = "0.21.0", features = ["snappy", "lz4", "zstd", "zlib", "multi-threaded-cf"], default-features = false }
ron = "0.8.0"
rstest = "0.16.0"
russh = "0.38.0"
russh-keys = "0.38.0"
rustls = { version = "0.23.10", features = ["ring"] }
rustls-pemfile = "2.1.2"
rustversion = "1.0.9"
rustyline = "9.1.2"
rustyline-derive = "0.7.0"
schemars = { version = "0.8.10", features = ["either"] }
notify = "6.1"
num-bigint = "0.4"
num_cpus = "1.15"
num_enum = "0.7"
object_store = { version = "0.10", features = ["aws", "gcp", "azure", "http"] }
once_cell = "1.18"
parking_lot = "0.12"
pretty_assertions = "1.3"
proc-macro2 = "1.0"
prometheus = "0.13"
proptest = "1.1"
proptest-derive = "0.5"
prost = "0.13"
quinn-proto = "0.10" # Version 0.11 is incompatable with prometheus
quote = "1.0"
rand = "0.8"
regex = "1.7"
reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "rustls-tls"] }
roaring = "0.10"
rocksdb = { version = "0.22", features = ["snappy", "lz4", "zstd", "zlib", "multi-threaded-cf"], default-features = false }
rstest = "0.22"
schemars = { version = "0.8", features = ["either"] }
scopeguard = "1.1"
serde = { version = "1.0.144", features = ["derive", "rc"] }
serde-name = "0.2.1"
serde-reflection = "0.4.0"
serde_json = { version = "1.0.95", features = ["preserve_order", "arbitrary_precision"] }
serde_repr = "0.1"
serde_test = "1.0.147"
serde_with = { version = "2.3.3", features = ["hex"] }
serde_yaml = "0.9.34"
serial_test = "2.0.0"
shell-words = "1.1.0"
shellexpand = "3.1.0"
shlex = "1.3.0"
signature = "2.2.0"
similar = "2.4.0"
slip10_ed25519 = "0.1.3"
smallvec = "1.10.0"
snap = "1.1.0"
static_assertions = "1.1.0"
strum = { version = "0.26.3", features = ["derive"] }
syn = { version = "1.0.104", features = ["full", "derive", "extra-traits"] }
synstructure = "0.12"
sysinfo = "0.27.5"
tabled = "0.12"
tap = "1.0.1"
tar = "0.4.40"
tempfile = "3.3.0"
test-fuzz = "3.0.4"
thiserror = "1.0.40"
tiny-bip39 = "1.0.0"
tokio = "=1.38.0"
tokio-retry = "0.3"
tokio-rustls = "0.26.0"
tokio-stream = { version = "0.1.14", features = ["sync", "net"] }
tokio-util = "0.7.10"
toml = { version = "0.8.14", features = ["preserve_order"] }
toml_edit = "0.22.15"
tonic = { version = "0.12.0", features = ["transport", "tls"] }
tonic-build = { version = "0.12.0", features = ["prost", "transport"] }
tonic-health = "0.12.0"
tower = { version = "0.4.13", features = ["full", "util", "timeout", "load-shed", "limit"] }
tower-http = { version = "0.5.2", features = ["cors", "full", "trace", "set-header", "propagate-header"] }
tower-layer = "0.3.2"
tracing = "0.1.40"
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.18", default-features = false, features = ["std", "smallvec", "fmt", "ansi", "time", "json", "registry", "env-filter"] }
ttl_cache = "0.5.1"
twox-hash = "1.6.3"
uint = "0.9.4"
unescape = "0.1.0"
ureq = "2.9.1"
url = "2.3.1"
uuid = { version = "1.1.2", features = ["v4", "fast-rng"] }
versions = "6.3.0"
webpki = { version = "0.102.4", package = "rustls-webpki", features = ["alloc", "std"] }
x509-parser = "0.14.0"
zeroize = "1.6.0"
zstd = "0.13.1"
serde = { version = "1.0", features = ["derive", "rc"] }
serde-reflection = "0.4"
serde_json = { version = "1.0", features = ["preserve_order", "arbitrary_precision"] }
serde_with = { version = "2.3", features = ["hex"] } # Version 3 is incompatable with fastcrypto
serde_yaml = "0.9"
shellexpand = "3.1"
signature = "2.2"
similar = "2.4"
smallvec = "1.10"
snap = "1.1"
static_assertions = "1.1"
strum = { version = "0.26", features = ["derive"] }
syn = { version = "1.0", features = ["full", "derive", "extra-traits"] }
tabled = "0.12" # Version 0.16 is incompatable with ratatui
tap = "1.0"
tempfile = "3.12"
test-fuzz = "5.2"
thiserror = "1.0"
tokio = "1.36"
tokio-stream = { version = "0.1", features = ["sync", "net"] }
tokio-util = "0.7"
toml = { version = "0.8", features = ["preserve_order"] }
tonic = { version = "0.12", features = ["transport", "tls"] }
tonic-build = { version = "0.12", features = ["prost", "transport"] }
tonic-health = "0.12"
tower = { version = "0.4", features = ["full", "util", "timeout", "load-shed", "limit"] }
tower-http = { version = "0.5", features = ["cors", "full", "trace", "set-header", "propagate-header"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", default-features = false, features = ["std", "smallvec", "fmt", "ansi", "time", "json", "registry", "env-filter"] }
unescape = "0.1"
url = "2.3"
uuid = { version = "1.1", features = ["v4", "fast-rng"] }

# Move dependencies
move-abstract-stack = { path = "external-crates/move/crates/move-abstract-stack" }
move-binary-format = { path = "external-crates/move/crates/move-binary-format" }
move-bytecode-source-map = { path = "external-crates/move/crates/move-bytecode-source-map" }
move-bytecode-utils = { path = "external-crates/move/crates/move-bytecode-utils" }
move-cli = { path = "external-crates/move/crates/move-cli" }
move-command-line-common = { path = "external-crates/move/crates/move-command-line-common" }
Expand All @@ -433,14 +338,10 @@ move-core-types = { path = "external-crates/move/crates/move-core-types" }
move-disassembler = { path = "external-crates/move/crates/move-disassembler" }
move-ir-types = { path = "external-crates/move/crates/move-ir-types" }
move-package = { path = "external-crates/move/crates/move-package" }
move-prover = { path = "external-crates/move/crates/move-prover" }
move-stackless-bytecode = { path = "external-crates/move/crates/move-stackless-bytecode" }
move-symbol-pool = { path = "external-crates/move/crates/move-symbol-pool" }
move-transactional-test-runner = { path = "external-crates/move/crates/move-transactional-test-runner" }
move-unit-test = { path = "external-crates/move/crates/move-unit-test" }
move-vm-config = { path = "external-crates/move/crates/move-vm-config" }
move-vm-profiler = { path = "external-crates/move/crates/move-vm-profiler" }
move-vm-test-utils = { path = "external-crates/move/crates/move-vm-test-utils/", features = ["tiered-gas"] }
move-vm-types = { path = "external-crates/move/crates/move-vm-types" }

fastcrypto = { git = "https://github.com/MystenLabs/fastcrypto", rev = "fastcrypto-zkp-v0.1.3", package = "fastcrypto" }
Expand Down Expand Up @@ -547,9 +448,3 @@ narwhal-types = { path = "narwhal/types" }
narwhal-worker = { path = "narwhal/worker" }

iota-execution = { path = "iota-execution" }
# iota-move-natives = { path = "iota-execution/latest/iota-move-natives", package = "iota-move-natives-latest" }
# iota-adapter = { path = "iota-execution/latest/iota-adapter", package = "iota-adapter-latest" }
# iota-verifier = { path = "iota-execution/latest/iota-verifier", package = "iota-verifier-latest" }
# move-stdlib = { path = "external-crates/move/move-stdlib" }
# move-vm-runtime = { path = "external-crates/move/move-vm/runtime" }
# move-bytecode-verifier = { path = "external-crates/move/move-bytecode-verifier" }
Loading

0 comments on commit cab5d43

Please sign in to comment.