bearssl-rs/bearssl-sys
Aydin Mercan 96e7e0936e
clippy: explicitly allow unactionable lints
* `TlsProfile` is better off sticking to the style used in standards.

* `bearssl-sys` bindings can't be annotated with safety as they are
  autogenerated and have the same safety properties with the library
  itself.
2022-09-06 22:30:14 +03:00
..
bundled initial commit 2022-09-03 17:32:07 +03:00
src clippy: explicitly allow unactionable lints 2022-09-06 22:30:14 +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.