Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

acmorrow
Copy link
Member

@acmorrow acmorrow commented Jan 9, 2025

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.

@acmorrow acmorrow requested a review from a team as a code owner January 9, 2025 22:36
@@ -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
Copy link
Member Author

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.

Comment on lines +49 to +52
axum = "0.7.9"
axum-extra = "0.9.6"
base64 = "0.22.1"
bincode = "2.0.0-rc.3"
Copy link
Member Author

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}
Copy link
Member Author

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"]}
Copy link
Member Author

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.

Comment on lines +17 to +19
tower.workspace = true
tracing-subscriber.workspace = true
tracing.workspace = true
Copy link
Member Author

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 }


Copy link
Member Author

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
Copy link
Member Author

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
Copy link
Member Author

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

Comment on lines +28 to +34
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"
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant