Skip to content

fix: replace structopt to clap #24

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

Merged
merged 2 commits into from
May 20, 2025
Merged

Conversation

enumerate1
Copy link
Contributor

@enumerate1 enumerate1 commented May 19, 2025

Description

A clear description of what the pull request does.

Related Issue

Fixes #25

spot/Cargo.toml Outdated
@@ -25,7 +25,7 @@ bigdecimal = {version = ">= 0.1.13, < 0.5.0", features = ["serde"]}
anyhow = "1.0"
database = { path = "./database" }
tracing-subscriber = "0.3"
structopt = { version = "0.3", default-features = false }
clap = { version = "4.5", features = ["derive", "env"] }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @enumerate1 try using clap versioning at workspace level, we don't want to maintain crate version in multiple places. This might lead to missing crate upgrades somewhere.

@@ -28,7 +28,7 @@ anyhow = "1.0.98"
# Async
tokio = { version = "1.45.0", features = ["full"] }
futures = "0.3.31"
structopt = { version = "0.3", default-features = false }
clap = { version = "4.5", features = ["derive", "env"] }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same above

@thaodt
Copy link
Contributor

thaodt commented May 19, 2025

formatting pipeline is failing too, please make sure you run rustfmt before pushing, see here.

@thaodt thaodt self-requested a review May 20, 2025 11:48
@thaodt thaodt merged commit b10b33b into main May 20, 2025
3 of 5 checks passed
@thaodt thaodt deleted the fix/check-advisories-structopt branch May 20, 2025 11:49
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.

Replace structopt crate completely with clap crate
2 participants