bearssl-rs/bearssl-sys
Aydin Mercan 2f977dc7dd
bearssl, bearssl-sys: `lib.rs` QoL improvements
* Include the crate's `README.md` as the main doc
* Add common lint denies
* Unify multiple allows into one
2022-09-17 15:47:19 +03:00
..
bundled initial commit 2022-09-03 17:32:07 +03:00
src bearssl, bearssl-sys: `lib.rs` QoL improvements 2022-09-17 15:47:19 +03:00
CREDITS.md initial commit 2022-09-03 17:32:07 +03:00
Cargo.toml readme, cargo: document and categorize more 2022-09-03 17:54:21 +03:00
LICENSE initial commit 2022-09-03 17:32:07 +03:00
README.md initial commit 2022-09-03 17:32:07 +03:00
build.rs initial commit 2022-09-03 17:32:07 +03:00
wrapper.h initial commit 2022-09-03 17:32:07 +03:00

README.md

bearssl-sys

Rust bindings for BearSSL.

Version

Currently BearSSL 0.6 and latest Rust stable is supported.

Features

  • bundled: Build and link statically BearSSL. Needs a working C compiler and autoenables some sensible flags for the build target.
  • dont-assume-size_t-equals-uintptr_t: Use libc's size_t instead of usize. Should only needed when sizeof(uintptr_t) != sizeof(size_t).

Misc.

Once core::ffi types are stable, the bindings can and should be dependency-free for platforms where dont-assume-size_t-equals-uintptr_t isn't required.

License

This repository is licensed under the BSD-3-Clause. Please refer to LICENSE and CREDITS.md for more details.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be licensed as above, without any additional terms or conditions.