Skip to content

Commit

Permalink
Avoid duplicate crates
Browse files Browse the repository at this point in the history
  • Loading branch information
rex4539 committed Mar 2, 2025
1 parent b848b2d commit 52121c3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ yansi = "0.5.1"
zstd = "0.13.1"

stdx = { package = "near-stdx", path = "utils/stdx" }
rustc_version = "0.4"

[patch.crates-io]
protobuf = { git = "https://github.com/near/rust-protobuf.git", branch = "3.0.2-patch" }
Expand Down
7 changes: 1 addition & 6 deletions core/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,7 @@ protocol_schema = ["near-schema-checker-lib/protocol_schema"]

[dev-dependencies]
chrono = { workspace = true, features = ["clock"] }
near-primitives = { path = ".", features = [
"clock",
"solomon",
"rand",
"test_utils",
] }
near-primitives = { workspace = true, features = ["clock", "solomon", "rand", "test_utils"] }
assert_matches.workspace = true
bencher.workspace = true
bolero.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion neard/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ near-dump-test-contract.workspace = true

[build-dependencies]
anyhow.workspace = true
rustc_version = "0.4"
rustc_version = { workspace = true }

[features]
default = ["json_rpc", "rosetta_rpc"]
Expand Down
2 changes: 1 addition & 1 deletion tools/state-parts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ workspace = true
anyhow.workspace = true
chrono.workspace = true
clap.workspace = true
sha2 = "0.10.6"
sha2 = { workspace = true }
time.workspace = true
tokio.workspace = true
tracing.workspace = true
Expand Down

0 comments on commit 52121c3

Please sign in to comment.