Skip to content

Commit

Permalink
Merge #4437
Browse files Browse the repository at this point in the history
4437: Remove unused dependencies r=aoudiamoncef a=aoudiamoncef

* [x] document all added functions
* [ ] try in sandbox /simulation/labnet
  * [ ] if part of node-launch, checked using the `resync_check` flag
* [x] unit tests on the added/changed features
  * [x] make tests compile
  * [x] make tests pass 
* [x] add logs allowing easy debugging in case the changes caused problems
* [x] if the API has changed, update the API specification

Co-authored-by: Moncef AOUDIA <[email protected]>
  • Loading branch information
bors[bot] and aoudiamoncef authored Oct 2, 2023
2 parents fa9bd21 + c5338ef commit 1eea1f1
Show file tree
Hide file tree
Showing 9 changed files with 104 additions and 122 deletions.
204 changes: 96 additions & 108 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions massa-async-pool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,11 @@ nom = {workspace = true}
num = {workspace = true}
serde = {workspace = true, "features" = ["derive"]}
rand = {workspace = true}
parking_lot = {workspace = true, "features" = ["deadlock_detection"]}
massa_hash = {workspace = true}
massa_ledger_exports = {workspace = true}
massa_models = {workspace = true}
massa_serialization = {workspace = true}
massa_signature = {workspace = true}
massa_db_exports = {workspace = true}
massa_time = {workspace = true}
massa-proto-rs = {workspace = true, "features" = ["tonic"]}

[dev-dependencies]
Expand Down
1 change: 0 additions & 1 deletion massa-cipher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ thiserror = {workspace = true}
aes-gcm = {workspace = true}
pbkdf2 = {workspace = true}
rand = {workspace = true}
massa_serialization = {workspace = true}
7 changes: 4 additions & 3 deletions massa-consensus-exports/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,14 @@ edition = "2021"
testing = ["massa_models/testing", "massa_execution_exports/testing", "massa_pool_exports/testing", "massa_pos_exports/testing", "massa_protocol_exports/testing", "massa_storage/testing", "dep:mockall"]

[dependencies]
crossbeam-channel = {workspace = true} # BOM UPGRADE Revert to "0.5.6" if problem
displaydoc = {workspace = true}
nom = {workspace = true}
serde = {workspace = true, "features" = ["derive"]}
serde_json = {workspace = true} # BOM UPGRADE Revert to "1.0" if problem
thiserror = {workspace = true}
jsonrpsee = {workspace = true, "features" = ["server"]}
tokio = {workspace = true, "features" = ["sync"]}
mockall = {workspace = true, "optional" = true} # BOM UPGRADE Revert to {"version": "0.11.4", "optional": true} if problem
massa_channel = {workspace = true}
massa_hash = {workspace = true}
massa_execution_exports = {workspace = true}
massa_models = {workspace = true}
massa_pool_exports = {workspace = true}
Expand All @@ -28,3 +25,7 @@ massa_storage = {workspace = true}
massa_serialization = {workspace = true}
massa_time = {workspace = true}
massa_signature = {workspace = true}

[dev-dependencies]
massa_hash = {workspace = true}
massa_serialization = {workspace = true}
3 changes: 1 addition & 2 deletions massa-consensus-worker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
[features]
sandbox = []
bootstrap_server = []
testing = ["tokio", "crossbeam-channel", "massa_execution_exports/testing", "massa_pos_worker/testing", "massa_protocol_exports/testing", "massa_consensus_exports/testing", "massa_pos_exports/testing", "massa_pool_exports/testing"]
testing = ["tokio", "crossbeam-channel", "massa_execution_exports/testing", "massa_protocol_exports/testing", "massa_consensus_exports/testing", "massa_pos_exports/testing", "massa_pool_exports/testing"]

[dependencies]
num = {workspace = true, "features" = ["serde"]} # BOM UPGRADE Revert to {"version": "0.4", "features": ["serde"]} if problem
Expand All @@ -26,7 +26,6 @@ massa_hash = {workspace = true}
massa_logging = {workspace = true}
massa_execution_exports = {workspace = true}
massa_protocol_exports = {workspace = true, "optional" = true}
massa_pos_worker = {workspace = true, "optional" = true}
massa_pos_exports = {workspace = true, "optional" = true}
massa_pool_exports = {workspace = true, "optional" = true}
tokio = {workspace = true, "optional" = true} # BOM UPGRADE Revert to {"version": "1.0", "optional": true} if problem
Expand Down
1 change: 0 additions & 1 deletion massa-db-exports/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ thiserror = {workspace = true}
parking_lot = {workspace = true, "features" = ["deadlock_detection"]}
massa_hash = {workspace = true}
massa_models = {workspace = true}
massa_serialization = {workspace = true}
2 changes: 0 additions & 2 deletions massa-factory-worker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ tracing = {workspace = true}
massa_channel = {workspace = true}
massa_models = {workspace = true}
massa_factory_exports = {workspace = true}
massa_serialization = {workspace = true}
massa_signature = {workspace = true}
massa_storage = {workspace = true}
massa_time = {workspace = true}
massa_wallet = {workspace = true}
massa_hash = {workspace = true}
massa_pos_exports = {workspace = true}
massa_pool_exports = {workspace = true}
massa_versioning = {workspace = true}
Expand Down
4 changes: 3 additions & 1 deletion massa-ledger-exports/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ thiserror = {workspace = true}
nom = {workspace = true}
num_enum = {workspace = true} # BOM UPGRADE Revert to "0.5.10" if problem
massa-proto-rs = {workspace = true, "features" = ["tonic"]}
massa_hash = {workspace = true}
massa_models = {workspace = true}
massa_serialization = {workspace = true}
massa_db_exports = {workspace = true}

[dev-dependencies]
massa_hash = {workspace = true}
1 change: 0 additions & 1 deletion massa-metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ hyper = {workspace = true, "features" = ["server", "tcp", "http1"]} # BOM UPGR
tokio = {workspace = true, "features" = ["full"]} # BOM UPGRADE Revert to {"version": "1.28.0", "features": ["full"]} if problem
lazy_static = {workspace = true}
tracing = {workspace = true}
massa_channel = {workspace = true}

0 comments on commit 1eea1f1

Please sign in to comment.