| Crates.io | boringssl-src |
| lib.rs | boringssl-src |
| version | 0.6.0+e46383f |
| created_at | 2020-10-23 20:27:40.070581+00 |
| updated_at | 2023-07-02 09:28:16.648583+00 |
| description | A crate for building boringssl. |
| homepage | |
| repository | https://github.com/BusyJay/boringssl-src-rs |
| max_upload_size | |
| id | 304824 |
| size | 26,336,363 |
A crate for building boringssl.
This crate is intended to integrate with other build script to build boringssl.
[build-dependencies]
boringssl-src = "0.6"
let artifact = boringssl_src::Build::new().build();
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).
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.