Ed Page 39399182ab
Update all dependencies (#15166)
It's been a long while since dependencies were updated, so let's go
ahead and update those. Updates are:

    Updating allocator-api2 v0.2.18 -> v0.2.21
    Updating anstream v0.6.15 -> v0.6.18
    Updating anstyle v1.0.8 -> v1.0.10
    Updating anstyle-lossy v1.1.2 -> v1.1.3
    Updating anstyle-parse v0.2.5 -> v0.2.6
    Updating anstyle-query v1.1.1 -> v1.1.2
    Updating anstyle-svg v0.1.4 -> v0.1.7
    Updating anstyle-wincon v3.0.4 -> v3.0.7
    Updating anyhow v1.0.86 -> v1.0.95
    Updating arrayref v0.3.7 -> v0.3.9
    Updating arrayvec v0.7.4 -> v0.7.6
    Updating autocfg v1.3.0 -> v1.4.0
    Updating bit-set v0.5.3 -> v0.8.0
    Updating bit-vec v0.6.3 -> v0.8.0
    Removing bitflags v1.3.2
    Removing bitflags v2.6.0
      Adding bitflags v2.8.0
    Updating blake3 v1.5.2 -> v1.5.5
    Updating bstr v1.9.1 -> v1.11.3
    Updating bumpalo v3.16.0 -> v3.17.0
      Adding byteorder v1.5.0
    Updating bytes v1.6.0 -> v1.10.0
    Updating camino v1.1.6 -> v1.1.9
    Updating cargo-platform v0.1.8 -> v0.1.9
    Updating cargo_metadata v0.19.0 -> v0.19.1
    Updating cc v1.1.22 -> v1.2.13
    Updating clap v4.5.20 -> v4.5.28
    Updating clap_builder v4.5.20 -> v4.5.27
    Updating clap_lex v0.7.2 -> v0.7.4
    Updating clru v0.6.1 -> v0.6.2
    Updating color-print v0.3.6 -> v0.3.7
    Updating color-print-proc-macro v0.3.6 -> v0.3.7
    Updating colorchoice v1.0.2 -> v1.0.3
    Updating constant_time_eq v0.3.0 -> v0.3.1
    Updating cpufeatures v0.2.12 -> v0.2.17
    Updating crc32fast v1.4.0 -> v1.4.2
    Updating crossbeam-channel v0.5.12 -> v0.5.14
    Updating crossbeam-deque v0.8.5 -> v0.8.6
    Updating crossbeam-utils v0.8.19 -> v0.8.21
    Updating crunchy v0.2.2 -> v0.2.3
    Updating ct-codecs v1.1.1 -> v1.1.3
    Updating curl v0.4.46 -> v0.4.47
      Adding darling v0.20.10
      Adding darling_core v0.20.10
      Adding darling_macro v0.20.10
      Adding derive_builder v0.20.2
      Adding derive_builder_core v0.20.2
      Adding derive_builder_macro v0.20.2
      Adding displaydoc v0.2.5
    Updating dunce v1.0.4 -> v1.0.5
    Updating dyn-clone v1.0.17 -> v1.0.18
    Updating either v1.10.0 -> v1.13.0
    Updating encoding_rs v0.8.33 -> v0.8.35
    Updating errno v0.3.9 -> v0.3.10
    Updating fastrand v2.1.0 -> v2.3.0
    Updating fiat-crypto v0.2.7 -> v0.2.9
    Updating filetime v0.2.23 -> v0.2.25
    Updating flate2 v1.0.34 -> v1.0.35
    Updating glob v0.3.1 -> v0.3.2
    Updating globset v0.4.14 -> v0.4.15
    Updating half v2.4.0 -> v2.4.1
    Updating handlebars v6.2.0 -> v6.3.1
    Updating hermit-abi v0.3.9 -> v0.4.0
    Updating home v0.5.9 -> v0.5.11
    Updating http-auth v0.1.9 -> v0.1.10
      Adding icu_collections v1.5.0
      Adding icu_locid v1.5.0
      Adding icu_locid_transform v1.5.0
      Adding icu_locid_transform_data v1.5.0
      Adding icu_normalizer v1.5.0
      Adding icu_normalizer_data v1.5.0
      Adding icu_properties v1.5.1
      Adding icu_properties_data v1.5.0
      Adding icu_provider v1.5.0
      Adding icu_provider_macros v1.5.0
      Adding ident_case v1.0.1
    Updating idna v0.5.0 -> v1.0.3
      Adding idna_adapter v1.2.0
    Updating ignore v0.4.22 -> v0.4.23
    Updating indexmap v2.3.0 -> v2.7.1
    Updating is-terminal v0.4.12 -> v0.4.15
    Updating is_executable v1.0.3 -> v1.0.4
    Updating itoa v1.0.11 -> v1.0.14
    Updating jiff v0.1.13 -> v0.1.29
    Updating jiff-tzdb v0.1.1 -> v0.1.2
    Updating jiff-tzdb-platform v0.1.1 -> v0.1.2
    Updating js-sys v0.3.69 -> v0.3.77
    Updating kstring v2.0.0 -> v2.0.2
    Updating libc v0.2.158 -> v0.2.169
    Updating libloading v0.8.5 -> v0.8.6
    Removing libm v0.2.8
    Updating libnghttp2-sys v0.1.10+1.61.0 -> v0.1.11+1.64.0
      Adding libredox v0.1.3
    Updating libssh2-sys v0.3.0 -> v0.3.1
    Updating libz-sys v1.1.20 -> v1.1.21
    Updating linux-raw-sys v0.4.14 -> v0.4.15
      Adding litemap v0.7.4
    Updating lock_api v0.4.11 -> v0.4.12
    Updating log v0.4.22 -> v0.4.25
    Updating memmap2 v0.9.4 -> v0.9.5
    Updating miniz_oxide v0.8.0 -> v0.8.3
    Updating normpath v1.2.0 -> v1.3.0
    Updating once_cell v1.19.0 -> v1.20.3
    Updating oorandom v11.1.3 -> v11.1.4
    Updating opener v0.7.1 -> v0.7.2
    Updating openssl-probe v0.1.5 -> v0.1.6
    Updating openssl-src v111.28.2+1.1.1w -> v300.4.1+3.4.0
    Updating openssl-sys v0.9.92 -> v0.9.105
    Updating orion v0.17.6 -> v0.17.8
    Updating os_info v3.8.2 -> v3.10.0
    Updating p384 v0.13.0 -> v0.13.1
    Updating parking_lot v0.12.1 -> v0.12.3
    Updating parking_lot_core v0.9.9 -> v0.9.10
    Updating pasetors v0.7.0 -> v0.7.2
    Updating pathdiff v0.2.1 -> v0.2.3
    Updating pest v2.7.9 -> v2.7.15
    Updating pest_derive v2.7.9 -> v2.7.15
    Updating pest_generator v2.7.9 -> v2.7.15
    Updating pest_meta v2.7.9 -> v2.7.15
    Updating pin-project-lite v0.2.14 -> v0.2.16
    Updating pkg-config v0.3.30 -> v0.3.31
    Updating plotters v0.3.5 -> v0.3.7
    Updating plotters-backend v0.3.5 -> v0.3.7
    Updating plotters-svg v0.3.5 -> v0.3.7
      Adding portable-atomic v1.10.0
      Adding portable-atomic-util v0.2.4
    Updating ppv-lite86 v0.2.17 -> v0.2.20
    Updating proc-macro2 v1.0.92 -> v1.0.93
    Updating proptest v1.5.0 -> v1.6.0
    Updating pulldown-cmark v0.12.1 -> v0.12.2
    Updating quote v1.0.36 -> v1.0.38
    Updating redox_syscall v0.4.1 -> v0.5.8
    Updating regex v1.10.5 -> v1.11.1
    Updating regex-automata v0.4.7 -> v0.4.9
    Updating regex-syntax v0.8.4 -> v0.8.5
    Updating rustc-hash v2.0.0 -> v2.1.1
    Updating rustix v0.38.37 -> v0.38.44
      Adding rustversion v1.0.19
    Updating ryu v1.0.18 -> v1.0.19
    Updating schannel v0.1.23 -> v0.1.27
    Updating security-framework v3.0.0 -> v3.2.0
    Updating security-framework-sys v2.12.0 -> v2.14.0
    Updating semver v1.0.23 -> v1.0.25
    Updating serde v1.0.204 -> v1.0.217
    Updating serde_derive v1.0.204 -> v1.0.217
    Updating serde_json v1.0.135 -> v1.0.138
    Updating serde_spanned v0.6.7 -> v0.6.8
    Updating sha1_smol v1.0.0 -> v1.0.1
    Updating similar v2.6.0 -> v2.7.0
    Updating snapbox v0.6.20 -> v0.6.21
    Updating socket2 v0.5.6 -> v0.5.8
      Adding stable_deref_trait v1.2.0
    Updating subtle v2.5.0 -> v2.6.1
    Updating supports-hyperlinks v3.0.0 -> v3.1.0
    Updating syn v2.0.90 -> v2.0.98
      Adding synstructure v0.13.1
    Updating tar v0.4.42 -> v0.4.43
    Updating tempfile v3.10.1 -> v3.16.0
    Updating terminal_size v0.4.0 -> v0.4.1
    Removing thiserror v1.0.63
    Removing thiserror v2.0.3
      Adding thiserror v1.0.69
      Adding thiserror v2.0.11
    Removing thiserror-impl v1.0.63
    Removing thiserror-impl v2.0.3
      Adding thiserror-impl v1.0.69
      Adding thiserror-impl v2.0.11
    Updating time v0.3.36 -> v0.3.37
    Updating time-macros v0.2.18 -> v0.2.19
      Adding tinystr v0.7.6
    Updating tinyvec v1.8.0 -> v1.8.1
    Updating toml v0.8.19 -> v0.8.20
    Updating toml_edit v0.22.20 -> v0.22.23
    Updating tracing v0.1.40 -> v0.1.41
    Updating tracing-attributes v0.1.27 -> v0.1.28
    Updating tracing-core v0.1.32 -> v0.1.33
    Updating tracing-subscriber v0.3.18 -> v0.3.19
    Updating typeid v1.0.0 -> v1.0.2
    Updating ucd-trie v0.1.6 -> v0.1.7
    Updating unicase v2.7.0 -> v2.8.1
    Removing unicode-bidi v0.3.15
    Updating unicode-ident v1.0.13 -> v1.0.16
    Updating unicode-normalization v0.1.23 -> v0.1.24
    Removing unicode-width v0.1.13
    Updating unicode-xid v0.2.4 -> v0.2.6
    Updating url v2.5.2 -> v2.5.4
      Adding utf16_iter v1.0.5
      Adding utf8_iter v1.0.4
    Updating valuable v0.1.0 -> v0.1.1
    Updating version_check v0.9.4 -> v0.9.5
    Updating wait-timeout v0.2.0 -> v0.2.1
    Updating wasm-bindgen v0.2.92 -> v0.2.100
    Updating wasm-bindgen-backend v0.2.92 -> v0.2.100
    Updating wasm-bindgen-macro v0.2.92 -> v0.2.100
    Updating wasm-bindgen-macro-support v0.2.92 -> v0.2.100
    Updating wasm-bindgen-shared v0.2.92 -> v0.2.100
    Updating web-sys v0.3.69 -> v0.3.77
    Updating winapi-util v0.1.8 -> v0.1.9
    Removing winnow v0.6.18
      Adding winnow v0.6.26
      Adding winnow v0.7.1
      Adding write16 v1.0.0
      Adding writeable v0.5.5
      Adding yoke v0.7.5
      Adding yoke-derive v0.7.5
    Updating zerocopy v0.8.14 -> v0.8.17
    Updating zerocopy-derive v0.8.14 -> v0.8.17
      Adding zerofrom v0.1.5
      Adding zerofrom-derive v0.1.5
    Updating zeroize v1.7.0 -> v1.8.1
      Adding zerovec v0.10.4
      Adding zerovec-derive v0.10.3
2025-02-10 20:56:38 +00:00
2025-01-28 18:52:33 -08:00
2025-02-03 15:07:36 -06:00
2024-11-20 11:58:39 -05:00
2025-01-09 15:18:56 -06:00
2024-04-29 07:39:04 +10:00
2025-02-09 15:50:36 -08:00
2025-02-09 15:50:36 -08:00
2025-02-04 06:11:14 -08:00
2023-01-25 10:18:15 +00:00
2025-02-09 15:50:36 -08:00
2019-01-30 15:34:37 -05:00
2019-01-30 15:34:37 -05:00
2025-01-29 13:28:57 -08:00
2024-12-24 21:57:47 -05:00

Cargo

Cargo downloads your Rust projects 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

CI

Code documentation: https://doc.rust-lang.org/nightly/nightly-rustc/cargo/

Compiling from Source

Requirements

Cargo requires the following tools and packages to build:

Other requirements:

The following are optional based on your platform and needs.

  • pkg-config — This is used to help locate system packages, such as libssl 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 or openssl-devel with apk or yum or the openssl 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 as perl and make.

    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 for data compression.

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.

Description
The Rust package manager
Readme 96 MiB
Languages
Rust 95.4%
Roff 4.2%
JavaScript 0.2%
Shell 0.1%