-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Make the crate generated by forge bind
depend on alloy
through crates.io instead of git
#10197
Comments
@Soubhik-10 this is also similar |
Will try this too |
Hmm.. this PR #9861 modified the behavior of What version of Foundry are you using @guidanoli? |
I'm using the latest stable release. |
@guidanoli would you mind trying this out on the latest nightly? |
Can confirm this works on the latest nightly, but when will this feature be available on a stable release? |
We are working towards a 1.1 release that we will hopefully be able to release a pre-release of early next month. For now marking this as resolved - thanks! |
Component
Forge
Describe the feature you would like
Currently, when you run
forge bind
, it generates a crate (underout/bindings
by default).Below is the generated
Cargo.toml
file:This creates has some problem for projects that try to publish it to crates.io:
forge bind
to define crate description and license #6844.alloy
through git, and not crates.io.This issue is about the second item.
One solution is to edit this
Cargo.toml
withtomlq
, but ideally we would likeforge
to generate the crate in a format that can already be published to crates.io without any extra intervention.Below is the desired diff:
Do note that we specified the version of alloy.
If not specified, Forge could specify one by default.
Additional context
No response
The text was updated successfully, but these errors were encountered: