Mirror of BoringSSL (grpc依赖) https://boringssl.googlesource.com/boringssl
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Benjamin Brittain 8d8d8f3ea7 Generates "low-level" bindings for Rust using bindgen 3 years ago
..
src Generates "low-level" bindings for Rust using bindgen 3 years ago
CMakeLists.txt Generates "low-level" bindings for Rust using bindgen 3 years ago
Cargo.toml Generates "low-level" bindings for Rust using bindgen 3 years ago
README.md Generates "low-level" bindings for Rust using bindgen 3 years ago
build.rs Generates "low-level" bindings for Rust using bindgen 3 years ago
rust_wrapper.c Generates "low-level" bindings for Rust using bindgen 3 years ago
rust_wrapper.h Generates "low-level" bindings for Rust using bindgen 3 years ago
wrapper.h Generates "low-level" bindings for Rust using bindgen 3 years ago

README.md

bssl-sys

A low-level binding crate for Rust that moves in lockstop with BoringSSL. BoringSSL explicitly does not have a stable ABI, bssl-sys is the solution for preventing subtle-memory corruption bugs due to version skew.

How it works

bssl-sys uses bindgen as part of the cmake build process to generate Rust compatibility shims for each supported target platform. It is important to generate it for each platform because bindgen uses LLVM information for alignment which varies depending on architecture. These files are then packaged into a Rust crate.