cargo update

compiler & tools dependencies:
     Locking 80 packages to latest compatible versions
    Removing android-tzdata v0.1.1
    Updating anstyle-svg v0.1.10 -> v0.1.11
    Updating anyhow v1.0.99 -> v1.0.100
    Updating bitflags v2.9.3 -> v2.9.4
    Updating camino v1.1.11 -> v1.2.0
    Updating cfg-if v1.0.1 -> v1.0.3
    Updating chrono v0.4.41 -> v0.4.42
    Updating clap v4.5.45 -> v4.5.48
    Updating clap_builder v4.5.44 -> v4.5.48
    Updating clap_derive v4.5.45 -> v4.5.47
    Updating ctrlc v3.4.7 -> v3.5.0
    Updating dbus v0.9.7 -> v0.9.9
      Adding dispatch v0.2.0
    Updating dyn-clone v1.0.19 -> v1.0.20
    Updating erased-serde v0.4.6 -> v0.4.8
    Updating errno v0.3.13 -> v0.3.14
    Updating filetime v0.2.25 -> v0.2.26
    Updating form_urlencoded v1.2.1 -> v1.2.2
    Updating gimli v0.32.0 -> v0.32.3
      Adding hashbrown v0.16.0
    Updating humantime v2.2.0 -> v2.3.0
    Updating iana-time-zone v0.1.63 -> v0.1.64
    Updating idna v1.0.3 -> v1.1.0
    Updating indexmap v2.10.0 -> v2.11.4
    Updating ipc-channel v0.20.1 -> v0.20.2
    Updating jobserver v0.1.33 -> v0.1.34
    Updating js-sys v0.3.77 -> v0.3.80
    Updating libdbus-sys v0.2.5 -> v0.2.6
    Updating libffi v4.1.1 -> v4.1.2
    Updating libffi-sys v3.3.2 -> v3.3.3
    Updating libredox v0.1.9 -> v0.1.10
    Updating linux-raw-sys v0.9.4 -> v0.11.0
    Updating log v0.4.27 -> v0.4.28
    Updating matchers v0.1.0 -> v0.2.0
    Updating normpath v1.3.0 -> v1.4.0
    Removing nu-ansi-term v0.46.0
    Removing overload v0.1.1
    Updating percent-encoding v2.3.1 -> v2.3.2
    Updating pest v2.8.1 -> v2.8.2
    Updating pest_derive v2.8.1 -> v2.8.2
    Updating pest_generator v2.8.1 -> v2.8.2
    Updating pest_meta v2.8.1 -> v2.8.2
    Updating potential_utf v0.1.2 -> v0.1.3
    Updating regex v1.11.1 -> v1.11.2
    Removing regex-automata v0.1.10
    Removing regex-automata v0.4.9
      Adding regex-automata v0.4.10
    Updating regex-lite v0.1.6 -> v0.1.7
    Removing regex-syntax v0.6.29
    Removing regex-syntax v0.8.5
      Adding regex-syntax v0.8.6
    Updating rustix v1.0.8 -> v1.1.2
    Updating schannel v0.1.27 -> v0.1.28
    Updating semver v1.0.26 -> v1.0.27
    Updating serde v1.0.219 -> v1.0.226
    Updating serde-untagged v0.1.8 -> v0.1.9
      Adding serde_core v1.0.226
    Updating serde_derive v1.0.219 -> v1.0.226
    Updating serde_json v1.0.142 -> v1.0.145
    Updating serde_path_to_error v0.1.17 -> v0.1.20
    Updating tempfile v3.20.0 -> v3.22.0
    Updating thiserror v2.0.15 -> v2.0.16
    Updating thiserror-impl v2.0.15 -> v2.0.16
    Updating tinyvec v1.9.0 -> v1.10.0
    Updating tracing-subscriber v0.3.18 -> v0.3.20
    Updating twox-hash v2.1.1 -> v2.1.2
    Updating unicode-ident v1.0.18 -> v1.0.19
    Updating url v2.5.4 -> v2.5.7
    Updating uuid v1.18.0 -> v1.18.1
    Updating wasi v0.14.2+wasi-0.2.4 -> v0.14.7+wasi-0.2.4
    Updating wasi-preview1-component-adapter-provider v36.0.1 -> v36.0.2
      Adding wasip2 v1.0.1+wasi-0.2.4
    Updating wasm-bindgen v0.2.100 -> v0.2.103
    Updating wasm-bindgen-backend v0.2.100 -> v0.2.103
    Updating wasm-bindgen-macro v0.2.100 -> v0.2.103
    Updating wasm-bindgen-macro-support v0.2.100 -> v0.2.103
    Updating wasm-bindgen-shared v0.2.100 -> v0.2.103
    Updating winapi-util v0.1.9 -> v0.1.11
    Removing windows v0.58.0
    Updating windows-core v0.58.0 -> v0.62.0
    Removing windows-implement v0.58.0
    Removing windows-interface v0.58.0
      Adding windows-link v0.2.0
    Updating windows-result v0.2.0 -> v0.4.0
    Updating windows-strings v0.1.0 -> v0.5.0
      Adding windows-sys v0.61.0
    Updating winnow v0.7.12 -> v0.7.13
      Adding wit-bindgen v0.46.0
    Removing wit-bindgen-rt v0.39.0
    Updating zerocopy v0.8.26 -> v0.8.27
    Updating zerocopy-derive v0.8.26 -> v0.8.27
note: pass `--verbose` to see 33 unchanged dependencies behind latest

library dependencies:
     Locking 16 packages to latest compatible versions
    Updating addr2line v0.25.0 -> v0.25.1
    Updating cfg-if v1.0.1 -> v1.0.3
    Updating dlmalloc v0.2.10 -> v0.2.11
    Updating gimli v0.32.0 -> v0.32.3
      Adding windows-link v0.1.3
    Updating windows-sys v0.59.0 -> v0.60.2
    Updating windows-targets v0.52.6 -> v0.53.3
    Updating windows_aarch64_gnullvm v0.52.6 -> v0.53.0
    Updating windows_aarch64_msvc v0.52.6 -> v0.53.0
    Updating windows_i686_gnu v0.52.6 -> v0.53.0
    Updating windows_i686_gnullvm v0.52.6 -> v0.53.0
    Updating windows_i686_msvc v0.52.6 -> v0.53.0
    Updating windows_x86_64_gnu v0.52.6 -> v0.53.0
    Updating windows_x86_64_gnullvm v0.52.6 -> v0.53.0
    Updating windows_x86_64_msvc v0.52.6 -> v0.53.0
    Updating wit-bindgen v0.45.0 -> v0.45.1
note: pass `--verbose` to see 4 unchanged dependencies behind latest

rustbook dependencies:
     Locking 57 packages to latest compatible versions
    Removing android-tzdata v0.1.1
    Updating anyhow v1.0.99 -> v1.0.100
    Updating bitflags v2.9.2 -> v2.9.4
    Updating cc v1.2.33 -> v1.2.38
    Updating cfg-if v1.0.1 -> v1.0.3
    Updating chrono v0.4.41 -> v0.4.42
    Updating clap v4.5.45 -> v4.5.48
    Updating clap_builder v4.5.44 -> v4.5.48
    Updating clap_complete v4.5.57 -> v4.5.58
    Updating clap_derive v4.5.45 -> v4.5.47
    Updating errno v0.3.13 -> v0.3.14
      Adding find-msvc-tools v0.1.2
    Updating form_urlencoded v1.2.1 -> v1.2.2
    Updating getopts v0.2.23 -> v0.2.24
    Updating hashbrown v0.15.5 -> v0.16.0
    Updating iana-time-zone v0.1.63 -> v0.1.64
    Updating idna v1.0.3 -> v1.1.0
    Updating indexmap v2.10.0 -> v2.11.4
    Updating js-sys v0.3.77 -> v0.3.80
    Updating linux-raw-sys v0.9.4 -> v0.11.0
    Updating log v0.4.27 -> v0.4.28
    Updating normpath v1.3.0 -> v1.4.0
    Updating opener v0.8.2 -> v0.8.3
    Updating percent-encoding v2.3.1 -> v2.3.2
    Updating pest v2.8.1 -> v2.8.2
    Updating pest_derive v2.8.1 -> v2.8.2
    Updating pest_generator v2.8.1 -> v2.8.2
    Updating pest_meta v2.8.1 -> v2.8.2
    Updating potential_utf v0.1.2 -> v0.1.3
    Updating regex v1.11.1 -> v1.11.2
    Updating regex-automata v0.4.9 -> v0.4.10
    Updating regex-syntax v0.8.5 -> v0.8.6
    Updating rustix v1.0.8 -> v1.1.2
    Updating semver v1.0.26 -> v1.0.27
    Updating serde v1.0.219 -> v1.0.226
      Adding serde_core v1.0.226
    Updating serde_derive v1.0.219 -> v1.0.226
    Updating serde_json v1.0.142 -> v1.0.145
    Updating tempfile v3.20.0 -> v3.22.0
    Updating thiserror v2.0.15 -> v2.0.16
    Updating thiserror-impl v2.0.15 -> v2.0.16
    Updating unicode-ident v1.0.18 -> v1.0.19
    Updating url v2.5.4 -> v2.5.7
    Updating wasi v0.14.2+wasi-0.2.4 -> v0.14.7+wasi-0.2.4
      Adding wasip2 v1.0.1+wasi-0.2.4
    Updating wasm-bindgen v0.2.100 -> v0.2.103
    Updating wasm-bindgen-backend v0.2.100 -> v0.2.103
    Updating wasm-bindgen-macro v0.2.100 -> v0.2.103
    Updating wasm-bindgen-macro-support v0.2.100 -> v0.2.103
    Updating wasm-bindgen-shared v0.2.100 -> v0.2.103
    Updating winapi-util v0.1.9 -> v0.1.11
    Updating windows-core v0.61.2 -> v0.62.0
      Adding windows-link v0.2.0
    Updating windows-result v0.3.4 -> v0.4.0
    Updating windows-strings v0.4.2 -> v0.5.0
    Updating windows-sys v0.59.0 -> v0.61.0
    Updating winnow v0.7.12 -> v0.7.13
      Adding wit-bindgen v0.46.0
    Removing wit-bindgen-rt v0.39.0
note: pass `--verbose` to see 1 unchanged dependencies behind latest
3 files changed
tree: 737a20b1fbbd715f668a13a32a901a031a39efe8
  1. .github/
  2. compiler/
  3. library/
  4. LICENSES/
  5. src/
  6. tests/
  7. .clang-format
  8. .editorconfig
  9. .git-blame-ignore-revs
  10. .gitattributes
  11. .gitignore
  12. .gitmodules
  13. .ignore
  14. .mailmap
  15. bootstrap.example.toml
  16. Cargo.lock
  17. Cargo.toml
  18. CODE_OF_CONDUCT.md
  19. configure
  20. CONTRIBUTING.md
  21. COPYRIGHT
  22. INSTALL.md
  23. LICENSE-APACHE
  24. license-metadata.json
  25. LICENSE-MIT
  26. package-lock.json
  27. package.json
  28. README.md
  29. RELEASES.md
  30. REUSE.toml
  31. rust-bors.toml
  32. rustfmt.toml
  33. triagebot.toml
  34. typos.toml
  35. x
  36. x.ps1
  37. x.py
README.md

Website | Getting started | Learn | Documentation | Contributing

This is the main source code repository for Rust. It contains the compiler, standard library, and documentation.

Why Rust?

  • Performance: Fast and memory-efficient, suitable for critical services, embedded devices, and easily integrated with other languages.

  • Reliability: Our rich type system and ownership model ensure memory and thread safety, reducing bugs at compile-time.

  • Productivity: Comprehensive documentation, a compiler committed to providing great diagnostics, and advanced tooling including package manager and build tool (Cargo), auto-formatter (rustfmt), linter (Clippy) and editor support (rust-analyzer).

Quick Start

Read “Installation” from The Book.

Installing from Source

If you really want to install from source (though this is not recommended), see INSTALL.md.

Getting Help

See https://www.rust-lang.org/community for a list of chat platforms and forums.

Contributing

See CONTRIBUTING.md.

License

Rust is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.

Trademark

The Rust Foundation owns and protects the Rust and Cargo trademarks and logos (the “Rust Trademarks”).

If you want to use these names or brands, please read the Rust language trademark policy.

Third-party logos may be subject to third-party copyrights and trademarks. See Licenses for details.