Thanks to visit codestin.com
Credit goes to lib.rs

42 stable releases (4 major)

new 5.0.0-alpha.2 Jan 21, 2026
4.21.1 Jan 23, 2026
4.19.0 Sep 5, 2025
4.17.0 May 28, 2025
1.0.2 Nov 12, 2020

#379 in Cryptography

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

140,174 downloads per month
Used in 81 crates (10 directly)

MIT license

21MB
620K SLoC

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

boring

crates.io

BoringSSL bindings for the Rust programming language and TLS adapters for tokio and hyper built on top of it.

Documentation

Upgrading from boring v4

  • First update to boring 4.20 and ensure it builds without any deprecation warnings.
  • pq-experimental Cargo feature is no longer needed. Post-quantum crypto is enabled by default.
  • fips-precompiled Cargo feature has been merged into fips. Set BORING_BSSL_FIPS_PATH env var to use a precompiled library.
  • fips-compat Cargo feature has been renamed to legacy-compat-deprecated (4cb7e260a85b7)
  • SslCurve and SslCurveNid have been removed. Use set_curves_list().
  • Ssl::new_from_ref -> Ssl::new().
  • X509Builder::append_extension2 -> X509Builder::append_extension.
  • X509Store is now cheaply cloneable, but immutable. SslContextBuilder.cert_store_mut() can't be used after .set_cert_store(). Use .set_cert_store_builder() if you need .cert_store_mut().
  • hyper 0.x support has been removed. Use hyper 1.x.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed under the terms of both the Apache License, Version 2.0 and the MIT license without any additional terms or conditions.

Accolades

The project is based on a fork of rust-openssl.

Dependencies