Email me

Crate features / rustls

Feature flags · rustls 0.23.46 · from crates.io 2026-10-24

rustls features: what each one does, and the line to copy

Short answerrustls 0.23.46 has 12 features. By default it turns on aws_lc_rs, logging, prefer-post-quantum, std, tls12; add default-features = false to start from nothing. It needs Rust 1.71 or newer.

Pick features

0.23.46latest version
12features
5optional dependencies
1.71MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
aws-lc-rsaws_lc_rs
aws_lc_rsyesdep:aws-lc-rs, webpki/aws-lc-rs, aws-lc-rs/aws-lc-sys, aws-lc-rs/prebuilt-nasm
brotlidep:brotli, dep:brotli-decompressor, std
custom-providernothing else (a switch the code checks)
fipsaws_lc_rs, aws-lc-rs?/fips, webpki/aws-lc-rs-fips
loggingyeslog
prefer-post-quantumyesaws_lc_rs
read_bufrustversion, std
ringdep:ring, webpki/ring
stdyeswebpki/std, pki-types/std, once_cell/std
tls12yesnothing else (a switch the code checks)
zlibdep:zlib-rs

dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).

MSRV history

The minimum Rust version rustls declares (rust-version), and the release that changed it:

  • 0.21.2 (2023-06-14): Rust 1.60
  • 0.21.8 (2023-10-24): Rust 1.61
  • 0.21.12 (2024-04-26): Rust 1.63
  • 0.23.18 (2024-11-22): Rust 1.71
  • 0.23.19 (2024-11-27): Rust 1.63
  • 0.23.20 (2024-12-11): Rust 1.71
  • 0.24.0-dev.0 (2026-01-28): Rust 1.83
  • 0.23.37 (2026-02-24): Rust 1.71
  • 0.24.0-dev.1 (2026-07-23): Rust 1.85
  • 0.23.43 (2026-07-29): Rust 1.71
  • 0.24.0-dev.2 (2026-10-14): Rust 1.85
  • 0.23.46 (2026-10-14): Rust 1.71

Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p rustls --precise <version>, or use resolver 3, which picks compatible versions for you.

More on rustls

Real downloads, dependents and alternatives: rustls crate data (2.8M real downloads a day, 5,286 dependents).

Security record: rustls advisories.

docs.rs feature list · crates.io · license Apache-2.0 OR ISC OR MIT · edition 2021

Up next

Before you depend on itrustls crate dataReal downloads, dependents, alternatives.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ