#experimental #rustls #fork #unsafe #lite-version

rustls-lite

Experimental unsafe non-affiliated rustls lite fork. Don't use please.

1 unstable release

0.1.0-dev.0 Sep 20, 2025

#2073 in Cryptography

Apache-2.0 OR ISC OR MIT

1MB
23K SLoC

Experimental rustls-lite

This is an experimental fork seeing how to create more lite version of rustls.

Please do not use this and use the rustls itself.

This fork is not safe and not intended to be used in production in it's current state.

Why?

This project is not affliated or endorsed by the rustls maintainers / contributors in any way.

This work the work of one person from the internet experimenting differential approaches to provide more lite version.

This project may or may not go anywhere and is purely a hobby endavour.

Goals

  • #![no_std] First-class
  • Free of/ Opt-in alloc, Arc, Vec*, Arc
  • Free of dyn
  • Free of Send+Sync
  • All providers are through enum-dispatched CryptoProvider

Non-Goals

  • FIPS

Historical

All the previous commits were incorporated from the main project but this project past commit #bbedda are changes on to experiment how to make it lighter.

For the git history reasons the commits up to rebase point were kept but should not be reflected as contributions to the experimental fork.

Dependencies

~6–16MB
~251K SLoC