-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
release: cargo-binstall v0.13.0 #366
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NobodyXu
approved these changes
Sep 10, 2022
@NobodyXu have I forgotten anything for the release notes? |
|
Thank you! how's this now? |
LGTM |
NobodyXu
approved these changes
Sep 10, 2022
Emmm, Package and Release failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a release PR for cargo-binstall version 0.13.0 (performing a minor bump).
Use squash merge.
Upon merging, this will automatically create the tag
v0.13.0
, build the CLI, and create a GitHub release.You will still need to manually publish the cargo crate:
To trigger builds initially, close and then immediately re-open this PR once.
Edit release notes into the section below:
Release notes
Binstall is a tool to fetch and install Rust-based executables as binaries. It aims to be a drop-in replacement for
cargo install
in most cases. Install it today withcargo install cargo-binstall
, from the binaries below, or if you already have it, upgrade withcargo binstall cargo-binstall
.In this release:
Binstall now aggressively scans the remote for a download URL if not given exact details in the metadata:
v
(Consider extending pkg-url to relax version component requirements #328)PkgFmt::pkg_fmt
anOption
? #295, Auto detectpkg_fmt
#310)This means that many more packages will install out of the box without needing configuration.
Binstall now also tries to guess the download URL for other repositories than GitHub: GitLab, BitBucket, and SourceForge. (Support other git hosting services #296, Test default
pkg-url
for GitLab and BitBucket #322, Trim trailing slash from repo #360)Downloads can now only be done over HTTPS, with TLS 1.2 or over. This also deprecates the
--secure
option, which enabled this; for compatibility it is still accepted but will do nothing. (Only https for requests #124, Deprecate --secure, enforce HTTPS #343)The source has been broken up into several crates. There are the single-purpose libraries
detect-targets
,detect-wasi
,fs-lock
,normalize-path
(all licensed as Apache/MIT); and the "binstall library/toolkit",binstalk
(GPL). The main interface remains the tool itself,cargo-binstall
. (Split crates and clean up structure of codebase #294, Refactor: Extract new cratedetect-targets
and improve code quality #307, Adapt release workflow for workspace #331, Rename flock to fs-lock #338, Rename lib to binstall-lib #341, Name of lib #359, Rename lib to binstalk #361)Other changes:
BinFile::install_bin
#301)trust-dns
to lib & bin #318, Ignoretrust_dns
log output #323)trust-dns
to lib & bin #318)cargo install cargo-binstall
no longer tries to use the high performance zlib-ng, which was causing compile issues on Windows. Instead the pure Rust miniz-oxide implementation is used. Pre-built binaries still use zlib-ng, so do acargo binstall cargo-binstall
immediately after installing from source to get it. (Disable zlib-ng for the default cargo-install build #354)jobserver
(asjobslot
),tar
(asbinstall-tar
).tar
#177, Bug: Extracting tar failed due to GNU Sparse File extension not properly supported alexcrichton/tar-rs#295, Do not use gnu sparse extension please! cargo-quickinstall#87, Improve err msg when source is missing inBinFile::install_bin
#301, Fixtar
by temporarily using a fork #358)GhCrateMeta::find
: useFuturesUnordered
#321, UseBTreeMap
in fieldPkgMeta::overrides
#324, Optimizedrivers::crates_io::Vfs
: UseBTreeMap
#325)crates_io_api::AsyncClient
#349)