Adds support for linking against boringssl

The boringssl-sys crate is specific to the revision of boringssl you are
using, so you will need to generate it from a boringssl build tree and
point the openssl crate at it via cargo source replacement, or place the
build tree next to rust-openssl while building.

Co-authored-by: Matthew Maurer <mmaurer@google.com>
Co-authored-by: Benjamin Brittain <ben@brittain.org>

Bug: 177080016
Test: `cargo build` with both no set features and `boringssl` feature
Change-Id: Iaa15f108867f0d0f73d3db835f30a24a2617e351
44 files changed
tree: 23bfcf69d87887d293a1bc2c791851213b656cb3
  1. openssl/
  2. openssl-macros/
  3. Cargo.toml
  4. LICENSE
  5. METADATA
  6. MODULE_LICENSE_APACHE2
  7. OWNERS
  8. README.md
  9. THIRD_PARTY
README.md

rust-openssl

crates.io

OpenSSL bindings for the Rust programming language.

Documentation.

Release Support

The current supported release of openssl is 0.10 and openssl-sys is 0.9.

New major versions will be published at most once per year. After a new release, the previous major version will be partially supported with bug fixes for 3 months, after which support will be dropped entirely.

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.