Email me

Crate features / tokio-rustls

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

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

Short answertokio-rustls 0.26.6 has 9 features. By default it turns on logging, tls12, aws_lc_rs; add default-features = false to start from nothing. It needs Rust 1.71 or newer.

Pick features

0.26.6latest version
9features
0optional dependencies
1.71MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
aws-lc-rsaws_lc_rs
aws_lc_rsyesrustls/aws_lc_rs
brotlirustls/brotli
early-datanothing else (a switch the code checks)
fipsrustls/fips
loggingyesrustls/logging
ringrustls/ring
tls12yesrustls/tls12
zlibrustls/zlib

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 tokio-rustls declares (rust-version), and the release that changed it:

  • 0.24.0 (2023-03-31): Rust 1.56
  • 0.25.0-alpha.1 (2023-09-23): Rust 1.63
  • 0.26.1 (2024-12-05): Rust 1.70
  • 0.26.2 (2025-03-01): Rust 1.71

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

More on tokio-rustls

Real downloads, dependents and alternatives: tokio-rustls crate data (2.3M real downloads a day, 2,458 dependents).

Security record: tokio-rustls advisories.

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

Up next

Before you depend on ittokio-rustls 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