Skip to content

Commit

Permalink
chore fix cargo dependencies (#11972)
Browse files Browse the repository at this point in the history
Fix the crates publishing process.
tested with:
```
cargo ws exec -- cargo check --all-features                 
cargo ws exec -- cargo check --no-default-features
cargo ws exec -- cargo check      # This is the one that we needs to be pass. Others are nice to have for now.
```
  • Loading branch information
VanBarbascu authored Aug 20, 2024
1 parent 6be176a commit 88075ce
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chain/chain-primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ near-primitives.workspace = true
near-crypto.workspace = true

[features]
new_epoch_sync = []
new_epoch_sync = ["near-primitives/new_epoch_sync"]
2 changes: 1 addition & 1 deletion core/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ nightly_protocol = [
statelessnet_protocol = ["near-primitives-core/statelessnet_protocol"]

new_epoch_sync = []
default = ["near-primitives/rand"]
default = ["rand", "clock"]
calimero_zero_storage = []

protocol_schema = [
Expand Down
1 change: 1 addition & 0 deletions nearcore/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pub use crate::config::NightshadeRuntimeExt;
pub use crate::config::{init_configs, load_config, load_test_config, NearConfig};
#[cfg(feature = "json_rpc")]
use crate::entity_debug::EntityDebugHandlerImpl;
use crate::metrics::spawn_trie_metrics_loop;

Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm-runner/fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ wasmprinter.workspace = true
near-parameters.workspace = true
near-primitives.workspace = true
near-test-contracts.workspace = true
near-vm-runner.workspace = true
near-vm-runner = { workspace = true, features = ["prepare"] }

[[bin]]
name = "runner"
Expand Down
2 changes: 1 addition & 1 deletion tools/storage-usage-delta-calculator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ workspace = true
[dependencies]
anyhow.workspace = true
serde_json.workspace = true
tokio.workspace = true
tokio = { workspace = true, features = ["full"] }
tracing.workspace = true

near-chain-configs.workspace = true
Expand Down

0 comments on commit 88075ce

Please sign in to comment.