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

CLI: use async-hwi from workspace #88

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

pythcoiner
Copy link
Contributor

we actually use async-hwi from crates.io as dependency for the cli, this pr switch to the local workspace instead

cli/Cargo.toml Outdated
@@ -16,5 +16,5 @@ path = "src/bin/hwi.rs"
clap = { version = "4.4.7", features = ["derive"] }
bitcoin = "0.31"
hex = "0.4"
async-hwi = { version = "0.0.17" }
async-hwi = { path = "../" }
Copy link
Member

Choose a reason for hiding this comment

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

Using path makes the crate unplishable on crates.io but I learned that we can have both:
https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#multiple-locations

It is possible to specify both a registry version and a git or path location. The git or path dependency will be used locally (in which case the version is checked against the local copy), and when published to a registry like crates.io, it will use the registry version

Can you change it to have both ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@pythcoiner
Copy link
Contributor Author

sure!

@nondiremanuel nondiremanuel added the Nice to have If it's not completed in time for the current version, it can be postponed label Jun 24, 2024
@edouardparis edouardparis merged commit e57feb6 into wizardsardine:master Jun 24, 2024
7 checks passed
@edouardparis
Copy link
Member

Thanks !

@nondiremanuel nondiremanuel added this to the v6 - async-hwi milestone Jun 25, 2024
@pythcoiner pythcoiner deleted the cli_workspace branch October 30, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Nice to have If it's not completed in time for the current version, it can be postponed
Projects
Archived in project
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants