3 releases (breaking)

0.3.0+688fc5c May 21, 2021
0.2.0 Jan 21, 2021
0.1.0 Oct 23, 2020
Download history 1652/week @ 2021-02-26 1218/week @ 2021-03-05 1603/week @ 2021-03-12 1184/week @ 2021-03-19 1357/week @ 2021-03-26 1382/week @ 2021-04-02 1515/week @ 2021-04-09 1493/week @ 2021-04-16 1481/week @ 2021-04-23 1300/week @ 2021-04-30 1734/week @ 2021-05-07 2052/week @ 2021-05-14 2228/week @ 2021-05-21 1711/week @ 2021-05-28 1946/week @ 2021-06-04 1453/week @ 2021-06-11

6,336 downloads per month
Used in 16 crates (via grpcio-sys)

MIT/Apache

16MB
501K SLoC

GNU Style Assembly 194K SLoC // 0.0% comments C 76K SLoC // 0.2% comments C++ 64K SLoC // 0.1% comments Assembly 62K SLoC // 0.0% comments Perl 56K SLoC // 0.1% comments Go 48K SLoC // 0.1% comments Python 1K SLoC // 0.3% comments Rust 138 SLoC // 0.0% comments Shell 134 SLoC // 0.3% comments Prolog 42 SLoC

boringssl-src

A crate for building boringssl.

This crate is intended to integrate with other build script to build boringssl.

  1. To use the crate, just include it as build-dependency:
[build-dependencies]
boringssl-src = "0.2"
  1. And then build it in build script:
let artifact = boringssl_src::Build::new().build();
  1. If you just need to link it to your library, then let it setup directly:
artifacts.print_cargo_metadata();

If you want to make it available to existing build system, take CMake as an example, you can setup by using OPENSSL_ROOT_PATH:

let config = cmake::Config::new("native project");
config.define("OPENSSL_ROOT_DIR", format!("{}", boringssl_artifact.root_dir().display()));

Then cmake should be able to find the library by find_package(OpenSSL).

How and When is boringssl updated?

It's updated periodically. It for now serves as a build dependency for tikv/grpc-rs, so whenever grpc updates boringssl, this crate also updates the native dependency.

Dependencies