Skip to content

Commit

Permalink
Move all dependencies to workspace cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
BradenEverson committed Nov 4, 2024
1 parent d45d2d2 commit bfbb888
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 32 deletions.
27 changes: 27 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,33 @@ resolver = "2"
version = "0.1.0"
authors = ["BradenEverson"]

[workspace.dependencies]
clap = { version = "4.5.18", features = ["derive"] }
reqwest = { version = "0.12.8" }
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
slotmap = { version = "1.0.7", features = ["serde"] }
thiserror = "1.0.63"
tokio = { version = "1.40.0", features = ["full"] }
tokio-tungstenite = "0.24.0"
urlencoding = "2.1.3"
futures-util = { version = "0.3.30", features = ["tokio-io"] }
http-body-util = "0.1.2"
hyper = { version = "1.4.1", features = ["full"] }
hyper-tungstenite = "0.14.0"
hyper-util = { version = "0.1.6", features = ["full", "tokio"] }
uuid = { version = "1.11.0", features = ["v4"] }
bevy = "0.14.2"
bevy_rapier3d = "0.27.0"
futures = "0.3.30"
earthmover-achiever = { path = "./earthmover-achiever" }
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
rapier3d = "0.22.0"
indicatif = "0.17.8"
rand = "0.8.5"
rppal = { version = "0.19.0" }

[workspace.lints.rust]
missing_docs = "warn"
nonstandard-style = "warn"
Expand Down
24 changes: 12 additions & 12 deletions earthmover-achiever/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ version.workspace = true
authors.workspace = true

[dependencies]
clap = { version = "4.5.18", features = ["derive"] }
futures-util = "0.3.31"
reqwest = { version = "0.12.8" }
rppal = { version = "0.19.0", optional = true }
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
slotmap = { version = "1.0.7", features = ["serde"] }
thiserror = "1.0.63"
tokio = { version = "1.40.0", features = ["full"] }
tokio-tungstenite = "0.24.0"
urlencoding = "2.1.3"
uuid = { version = "1.10.0", features = ["v4"] }
clap = { workspace = true }
futures-util = { workspace = true }
reqwest = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
slotmap = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true }
tokio-tungstenite = { workspace = true }
urlencoding = { workspace = true }
uuid = { workspace = true }
rppal = { workspace = true, optional = true }

[features]
default = []
Expand Down
16 changes: 8 additions & 8 deletions earthmover-hivemind/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ version.workspace = true
authors.workspace = true

[dependencies]
futures-util = { version = "0.3.30", features = ["tokio-io"] }
http-body-util = "0.1.2"
hyper = { version = "1.4.1", features = ["full"] }
hyper-tungstenite = "0.14.0"
hyper-util = { version = "0.1.6", features = ["full", "tokio"] }
tokio = { version = "1.39.2", features = ["full"] }
uuid = { version = "1.11.0", features = ["v4"] }
earthmover-achiever = { path = "../earthmover-achiever" }
futures-util = { workspace = true }
http-body-util = { workspace = true }
hyper = { workspace = true }
hyper-tungstenite = { workspace = true }
hyper-util = { workspace = true }
tokio = { workspace = true }
uuid = { workspace = true }
earthmover-achiever = { workspace = true }

[lints.rust]
missing_docs = "warn"
Expand Down
20 changes: 10 additions & 10 deletions earthmover-simulation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ version.workspace = true
authors.workspace = true

[dependencies]
bevy = "0.14.2"
bevy_rapier3d = "0.27.0"
futures = "0.3.30"
earthmover-achiever = { path = "../earthmover-achiever" }
tokio = { version = "1.40.0", features = ["full"] }
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
rapier3d = "0.22.0"
indicatif = "0.17.8"
rand = "0.8.5"
bevy = { workspace = true }
bevy_rapier3d = { workspace = true }
futures = { workspace = true }
earthmover-achiever = { workspace = true }
tokio = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
rapier3d = { workspace = true }
indicatif = { workspace = true }
rand = { workspace = true }

[dev-dependencies]
rand = "0.8.5"
4 changes: 2 additions & 2 deletions rplidar-rppal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ keywords = ["uart", "rppal", "raspberry-pi", "lidar"]
categories = ["embedded", "hardware-support"]

[dependencies]
rppal = "0.19.0"
tokio = { version = "1.40.0", features = ["full"], optional = true}
rppal = { workspace = true }
tokio = { workspace = true, optional = true}

[features]
default = ["tokio"]
Expand Down

0 comments on commit bfbb888

Please sign in to comment.