Rust 1.100.0

Hacker News by 5 min read 10x views
Rust 1.100.0

Share Post

Language

Compiler

Platform Support

Refer to Rust's platform assistance page for additional data on Rust's tiered phase support.

Libraries

Stabilized APIs

Cargo

  • Introduced Cargo's own linting system: several Cargo warnings are now emitted as lints that users can authority in the [lints.cargo] table. This includes a new built-in unused dependency inspect via the cargo::unused_dependencies lint. docs #17298
  • Introduced minimum publish age configurations, additionally known as dependency cooldowns. When the applicable config is set, the resolver ignores versions published additional lately than that, unless they are already in Cargo.lock. (RFC 3923) docs #17335
  • cargo-install: now uses the existing lockfile in the .crate tarball by default. --locked in cargo instal becomes a no-op. #17388
  • Cargo now uses a new directory layout for intermediate build artifacts. Tools that inspect the build directory may need to use Cargo’s JSON messages to find build artifacts alternatively of relying on the build directory layout. The layout is not a stable interface and is topic to change. (build cache doc) #17354

Rustdoc

Compatibility Notes

Other

Other Article Hacker News
↑
Close Right Ads
Close Left Ads