
Routine update of dependencies. It's been a long while since the last full update. Tempfile is updated since it is generating a deprecation due to a method rename. I presume the help output change is due to an update in clap. Handlebars is not updated due to https://github.com/sunng87/handlebars-rust/issues/711 Updating ahash v0.8.11 -> v0.8.12 Updating anyhow v1.0.96 -> v1.0.98 Updating base64ct v1.6.0 -> v1.7.3 Updating bitflags v2.8.0 -> v2.9.1 Updating blake3 v1.6.1 -> v1.8.2 Updating bstr v1.11.3 -> v1.12.0 Updating bytes v1.10.0 -> v1.10.1 Updating cargo_metadata v0.19.1 -> v0.19.2 Updating cc v1.2.16 -> v1.2.23 Updating clap v4.5.31 -> v4.5.38 Updating clap_builder v4.5.31 -> v4.5.38 Updating clap_complete v4.5.46 -> v4.5.50 Updating ct-codecs v1.1.3 -> v1.1.5 Updating darling v0.20.10 -> v0.20.11 Updating darling_core v0.20.10 -> v0.20.11 Updating darling_macro v0.20.10 -> v0.20.11 Updating der v0.7.9 -> v0.7.10 Updating deranged v0.3.11 -> v0.4.0 Updating dyn-clone v1.0.18 -> v1.0.19 Updating either v1.13.0 -> v1.15.0 Updating equivalent v1.0.1 -> v1.0.2 Updating erased-serde v0.4.5 -> v0.4.6 Updating errno v0.3.10 -> v0.3.12 Updating escargot v0.5.13 -> v0.5.14 Adding faster-hex v0.10.0 Updating ff v0.13.0 -> v0.13.1 Updating foldhash v0.1.4 -> v0.1.5 Removing getrandom v0.2.15 Removing getrandom v0.3.1 Adding getrandom v0.2.16 Adding getrandom v0.3.3 Updating git2 v0.20.0 -> v0.20.2 Removing gix-features v0.41.0 Adding gix-features v0.41.1 Adding gix-features v0.42.1 Adding gix-fs v0.15.0 Adding gix-hash v0.18.0 Updating gix-hashtable v0.8.0 -> v0.8.1 Updating gix-lock v17.0.0 -> v17.1.0 Updating gix-path v0.10.15 -> v0.10.18 Updating gix-tempfile v17.0.0 -> v17.1.0 Adding gix-utils v0.3.0 Adding gix-validate v0.10.0 Updating globset v0.4.15 -> v0.4.16 Updating half v2.4.1 -> v2.6.0 Adding hash32 v0.3.1 Updating hashbrown v0.15.2 -> v0.15.3 Adding heapless v0.8.0 Updating hermit-abi v0.4.0 -> v0.5.1 Updating icu_collections v1.5.0 -> v2.0.0 Adding icu_locale_core v2.0.0 Removing icu_locid v1.5.0 Removing icu_locid_transform v1.5.0 Removing icu_locid_transform_data v1.5.0 Updating icu_normalizer v1.5.0 -> v2.0.0 Updating icu_normalizer_data v1.5.0 -> v2.0.0 Updating icu_properties v1.5.1 -> v2.0.0 Updating icu_properties_data v1.5.0 -> v2.0.0 Updating icu_provider v1.5.0 -> v2.0.0 Removing icu_provider_macros v1.5.0 Updating idna_adapter v1.2.0 -> v1.2.1 Updating indexmap v2.7.1 -> v2.9.0 Updating is-terminal v0.4.15 -> v0.4.16 Updating itoa v1.0.14 -> v1.0.15 Updating jiff v0.2.3 -> v0.2.13 Updating jiff-static v0.2.3 -> v0.2.13 Updating jiff-tzdb v0.1.2 -> v0.1.4 Updating jiff-tzdb-platform v0.1.2 -> v0.1.3 Updating jobserver v0.1.32 -> v0.1.33 Updating libc v0.2.170 -> v0.2.172 Updating libgit2-sys v0.18.0+1.9.0 -> v0.18.1+1.9.0 Updating libloading v0.8.6 -> v0.8.7 Updating libz-sys v1.1.21 -> v1.1.22 Adding linux-raw-sys v0.9.4 Updating litemap v0.7.4 -> v0.8.0 Updating log v0.4.25 -> v0.4.27 Updating miniz_oxide v0.8.5 -> v0.8.8 Updating once_cell v1.20.3 -> v1.21.3 Updating oorandom v11.1.4 -> v11.1.5 Updating openssl-src v300.4.2+3.4.1 -> v300.5.0+3.5.0 Updating openssl-sys v0.9.107 -> v0.9.108 Updating orion v0.17.8 -> v0.17.10 Updating os_info v3.10.0 -> v3.11.0 Updating pasetors v0.7.2 -> v0.7.4 Updating pest v2.7.15 -> v2.8.0 Updating pest_derive v2.7.15 -> v2.8.0 Updating pest_generator v2.7.15 -> v2.8.0 Updating pest_meta v2.7.15 -> v2.8.0 Updating pkg-config v0.3.31 -> v0.3.32 Updating portable-atomic v1.10.0 -> v1.11.0 Adding potential_utf v0.1.2 Updating ppv-lite86 v0.2.20 -> v0.2.21 Updating proc-macro2 v1.0.93 -> v1.0.95 Updating prodash v29.0.1 -> v29.0.2 Updating quote v1.0.38 -> v1.0.40 Adding r-efi v5.2.0 Updating rand v0.9.0 -> v0.9.1 Updating rand_core v0.9.0 -> v0.9.3 Updating redox_syscall v0.5.8 -> v0.5.12 Updating ref-cast v1.0.23 -> v1.0.24 Updating ref-cast-impl v1.0.23 -> v1.0.24 Adding rustix v1.0.7 Updating rustversion v1.0.19 -> v1.0.20 Updating ryu v1.0.19 -> v1.0.20 Updating semver v1.0.25 -> v1.0.26 Updating serde v1.0.218 -> v1.0.219 Updating serde-untagged v0.1.6 -> v0.1.7 Updating serde_derive v1.0.218 -> v1.0.219 Updating serde_ignored v0.1.10 -> v0.1.12 Updating serde_json v1.0.139 -> v1.0.140 Updating sha2 v0.10.8 -> v0.10.9 Updating smallvec v1.13.2 -> v1.15.0 Updating socket2 v0.5.8 -> v0.5.9 Updating syn v2.0.98 -> v2.0.101 Updating synstructure v0.13.1 -> v0.13.2 Updating tempfile v3.17.1 -> v3.20.0 Updating terminal_size v0.4.1 -> v0.4.2 Updating thiserror v2.0.11 -> v2.0.12 Updating thiserror-impl v2.0.11 -> v2.0.12 Updating time v0.3.37 -> v0.3.41 Updating time-core v0.1.2 -> v0.1.4 Updating time-macros v0.2.19 -> v0.2.22 Updating tinystr v0.7.6 -> v0.8.1 Updating tinyvec v1.8.1 -> v1.9.0 Updating toml v0.8.20 -> v0.8.22 Updating toml_datetime v0.6.8 -> v0.6.9 Updating toml_edit v0.22.24 -> v0.22.26 Adding toml_write v0.1.1 Updating typeid v1.0.2 -> v1.0.3 Updating typenum v1.17.0 -> v1.18.0 Updating unicode-ident v1.0.17 -> v1.0.18 Removing utf16_iter v1.0.5 Updating wasi v0.13.3+wasi-0.2.2 -> v0.14.2+wasi-0.2.4 Adding windows-targets v0.53.0 Adding windows_aarch64_gnullvm v0.53.0 Adding windows_aarch64_msvc v0.53.0 Adding windows_i686_gnu v0.53.0 Adding windows_i686_gnullvm v0.53.0 Adding windows_i686_msvc v0.53.0 Adding windows_x86_64_gnu v0.53.0 Adding windows_x86_64_gnullvm v0.53.0 Adding windows_x86_64_msvc v0.53.0 Updating winnow v0.7.1 -> v0.7.10 Updating wit-bindgen-rt v0.33.0 -> v0.39.0 Removing write16 v1.0.0 Updating writeable v0.5.5 -> v0.6.1 Updating yoke v0.7.5 -> v0.8.0 Updating yoke-derive v0.7.5 -> v0.8.0 Removing zerocopy v0.7.35 Removing zerocopy v0.8.17 Adding zerocopy v0.8.25 Removing zerocopy-derive v0.7.35 Removing zerocopy-derive v0.8.17 Adding zerocopy-derive v0.8.25 Updating zerofrom v0.1.5 -> v0.1.6 Updating zerofrom-derive v0.1.5 -> v0.1.6 Adding zerotrie v0.2.2 Updating zerovec v0.10.4 -> v0.11.2 Updating zerovec-derive v0.10.3 -> v0.11.1 <!-- Thanks for submitting a pull request 🎉! Here are some tips for you: * If this is your first contribution, read "Cargo Contribution Guide" first: https://doc.crates.io/contrib/ * Run `cargo fmt --all` to format your code changes. * Small commits and pull requests are always preferable and easy to review. * If your idea is large and needs feedback from the community, read how: https://doc.crates.io/contrib/process/#working-on-large-features * Cargo takes care of compatibility. Read our design principles: https://doc.crates.io/contrib/design.html * When changing help text of cargo commands, follow the steps to generate docs: https://github.com/rust-lang/cargo/tree/master/src/doc#building-the-man-pages * If your PR is not finished, set it as "draft" PR or add "WIP" in its title. * It's ok to use the CI resources to test your PR, but please don't abuse them. ### What does this PR try to resolve? Explain the motivation behind this change. A clear overview along with an in-depth explanation are helpful. You can use `Fixes #<issue number>` to associate this PR to an existing issue. ### How should we test and review this PR? Demonstrate how you test this change and guide reviewers through your PR. With a smooth review process, a pull request usually gets reviewed quicker. If you don't know how to write and run your tests, please read the guide: https://doc.crates.io/contrib/tests ### Additional information Other information you want to mention in this PR, such as prior arts, future extensions, an unresolved problem, or a TODO list. -->
Cargo
Cargo downloads your Rust project’s dependencies and compiles your project.
To start using Cargo, learn more at The Cargo Book.
To start developing Cargo itself, read the Cargo Contributor Guide.
The Cargo binary distributed through with Rust is maintained by the Cargo team for use by the wider ecosystem. For all other uses of this crate (as a binary or library) this is maintained by the Cargo team, primarily for use by Cargo and not intended for external use (except as a transitive dependency). This crate may make major changes to its APIs.
Code Status
Code documentation: https://doc.rust-lang.org/nightly/nightly-rustc/cargo/
Compiling from Source
Requirements
Cargo requires the following tools and packages to build:
cargo
andrustc
- A C compiler for your platform
git
(to clone this repository)
Other requirements:
The following are optional based on your platform and needs.
-
pkg-config
— This is used to help locate system packages, such aslibssl
headers/libraries. This may not be required in all cases, such as using vendored OpenSSL, or on Windows. -
OpenSSL — Only needed on Unix-like systems and only if the
vendored-openssl
Cargo feature is not used.This requires the development headers, which can be obtained from the
libssl-dev
package on Ubuntu oropenssl-devel
with apk or yum or theopenssl
package from Homebrew on macOS.If using the
vendored-openssl
Cargo feature, then a static copy of OpenSSL will be built from source instead of using the system OpenSSL. This may require additional tools such asperl
andmake
.On macOS, common installation directories from Homebrew, MacPorts, or pkgsrc will be checked. Otherwise it will fall back to
pkg-config
.On Windows, the system-provided Schannel will be used instead.
LibreSSL is also supported.
Optional system libraries:
The build will automatically use vendored versions of the following libraries. However, if they are provided by the system and can be found with pkg-config
, then the system libraries will be used instead:
libcurl
— Used for network transfers.libgit2
— Used for fetching git dependencies.libssh2
— Used for SSH access to git repositories.libz
(AKA zlib) — Used by the above C libraries for data compression. (Rust code useszlib-rs
instead.)
It is recommended to use the vendored versions as they are the versions that are tested to work with Cargo.
Compiling
First, you'll want to check out this repository
git clone https://github.com/rust-lang/cargo.git
cd cargo
With cargo
already installed, you can simply run:
cargo build --release
Adding new subcommands to Cargo
Cargo is designed to be extensible with new subcommands without having to modify Cargo itself. See the Wiki page for more details and a list of known community-developed subcommands.
Releases
Cargo releases coincide with Rust releases. High level release notes are available as part of Rust's release notes. Detailed release notes are available in the changelog.
Reporting issues
Found a bug? We'd love to know about it!
Please report all issues on the GitHub issue tracker.
Contributing
See the Cargo Contributor Guide for a complete introduction to contributing to Cargo.
License
Cargo is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.
Third party software
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (https://www.openssl.org/).
In binary form, this product includes software that is licensed under the terms of the GNU General Public License, version 2, with a linking exception, which can be obtained from the upstream repository.
See LICENSE-THIRD-PARTY for details.