You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo-binstall allows to install binaries with prebuilt binaries released in github/gitlab repo releases. There is already a nightly and stable release in the repo, but its not compatible with the format used by cargo-binstall. This can provide an alternate path to using foundryup if you didn't want to trust the foundryup script but trusted binstall.
From my limited research the release tars should be created per target(cast, forge, anvil, chisel) and the file name to be in certain format. This will also selective install of cast or forge instead of all of them. It is possible to add custom url formats, see here. I already tried to manually form a url with --pkg-url "{ repo }/releases/download/{ version }/foundry_{target-family}_{target-arch}_{archive-suffix}" but one of the main problems is it'd not allow stable or nightly to be passed as versions, needs semver crates like version.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Component
Other (please describe)
Describe the feature you would like
cargo-binstall
allows to install binaries with prebuilt binaries released in github/gitlab repo releases. There is already a nightly and stable release in the repo, but its not compatible with the format used bycargo-binstall
. This can provide an alternate path to usingfoundryup
if you didn't want to trust thefoundryup
script but trusted binstall.From my limited research the release tars should be created per target(cast, forge, anvil, chisel) and the file name to be in certain format. This will also selective install of
cast
orforge
instead of all of them. It is possible to add custom url formats, see here. I already tried to manually form a url with--pkg-url "{ repo }/releases/download/{ version }/foundry_{target-family}_{target-arch}_{archive-suffix}"
but one of the main problems is it'd not allowstable
ornightly
to be passed as versions, needs semver crates like version.Additional context
No response
The text was updated successfully, but these errors were encountered: