-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup some misc Cargo.toml funk across the project #379
base: main
Are you sure you want to change the base?
Conversation
@@ -24,7 +24,6 @@ edition = "2021" | |||
license = "AGPL-3.0" | |||
repository = "https://github.com/viamrobotics/micro-rdk" | |||
version = "0.4.0-rc2" | |||
# TODO(RSDK-8992): Upgrade rust to latest esp-rs version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot to remove this TODO when I did the ticket, here and elsewhere.
axum = "0.7.9" | ||
axum-extra = "0.9.6" | ||
base64 = "0.22.1" | ||
bincode = "2.0.0-rc.3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These were explicitly in a lower level Cargo.toml
but belonged up here.
dialoguer = "0.11.0" | ||
dns-message-parser = { version = "0.7", default-features = false} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here to EOF is just sorting nits.
@@ -9,11 +9,11 @@ version.workspace = true | |||
rust-version.workspace = true | |||
|
|||
[dependencies] | |||
axum = {version = "0.7.9", features = ["http2"]} | |||
axum-extra = "0.9.6" | |||
axum = { workspace = true, features = ["http2"]} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what prompted this change.
tower.workspace = true | ||
tracing-subscriber.workspace = true | ||
tracing.workspace = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorting
@@ -27,7 +27,6 @@ embedded-svc.workspace = true | |||
futures-lite.workspace = true | |||
micro-rdk = { workspace = true, features = ["esp32", "data", "data-upload-hook-unstable"], default-features = true } | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra blank line, here and next hunk.
env_logger.workspace = true | ||
rustls = { workspace = true, features = ["dangerous_configuration"] } | ||
test-log.workspace = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorting
|
||
[target.'cfg(not(target_os = "espidf"))'.dependencies] | ||
async-std-openssl = { workspace = true, optional = true } | ||
bincode.workspace = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version form moved up to workspace Cargo.toml
embedded-hal = { version = "~0.2", features = ["unproven"]} | ||
embedded-svc = "0.27" | ||
futures-lite = "2" | ||
log = "0.4" | ||
|
||
[build-dependencies] | ||
cargo_metadata = "0.18" | ||
cargo_metadata = "0.19" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorting, and some version drift against the ones that are in the worskpace Cargo.toml
was removed.
Noticed some explicit dependencies in non-root Cargo.toml, so fixed that and hunted down some other small inconsistencies and stale TODOs. No urgency on this, not trying to make 0.4.0 with it, but I would like to get it landed after 0.4.0 as it'll go stale quickly.