|author||Joshua Liebow-Feeser <email@example.com>||Fri Mar 27 20:06:20 2020 +0000|
|committer||Joshua Liebow-Feeser <firstname.lastname@example.org>||Fri Mar 27 20:06:20 2020 +0000|
Pin to a particular version of bindgen Changes to bindgen sometimes change the semantics of the generated bindings (for example, by changing the Rust types that are generated for particular C types). This change modifies `bindgen.sh` to "pin" to a particular version of bindgen so that developers do not accidentally use an older version of bindgen. Developers may still use a more recent version of bindgen when one is available by editing `bindgen.sh` to pin that more recent version. Change-Id: Ibbd4878ca192e15ca0346cde23486d2d7311512f Reviewed-on: https://fuchsia-review.googlesource.com/c/mundane/+/375795 Reviewed-by: Drew Fisher <email@example.com>
Mundane is a Rust cryptography library backed by BoringSSL that is difficult to misuse, ergonomic, and performant (in that order).
Rust 1.36 or newer is required.
Mundane vendors a copy of the BoringSSL source, so BoringSSL does not need to be installed locally in order to build. However, the BoringSSL build system has the following dependencies:
MOVBE. If using GNU binutils, you must have 2.22 or later.
In order to avoid errors at link time due to conflicting symbols, we build BoringSSL with a custom prefix for all of its symbols which is based on the name and version of this crate. That way, even if multiple different versions of Mundane are present in the same dependency graph, none of the symbols from one version‘s BoringSSL will conflict with the symbols from another version’s BoringSSL.
Mundane supports being built on and for Linux and Mac. Windows support is under development. Cross-compilation is not supported.
Everything outside of the
boringssl/boringssl directory is licensed under an MIT license which can be found in the
LICENSE file. Everything in the
boringssl/boringssl directory is licensed with a license that can be found in the
Disclaimer: Mundane is not an officially supported Google product.