1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-05-04 06:46:16 +02:00

add a README.md in c/blake3_c_rust_bindings

This commit is contained in:
Jack O'Connor 2020-01-16 18:29:20 -05:00
parent 84c26670bf
commit 28701d1585
3 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
# These are Rust bindings for the C implementation of BLAKE3. As there is a
# native (and faster) Rust implementation of BLAKE3 provided in this same repo,
# these bindings are not expected to be used in production. They're intended
# for testing and benchmarking.
[package]
name = "blake3_c_rust_bindings"
version = "0.0.0"

View File

@ -0,0 +1,4 @@
These are Rust bindings for the C implementation of BLAKE3. As there is
a native (and faster) Rust implementation of BLAKE3 provided in this
same repo, these bindings are not expected to be used in production.
They're intended for testing and benchmarking.

View File

@ -1,7 +1,7 @@
//! These are Rust bindings for the C implementation of BLAKE3. As there is a
//! native Rust implementation of BLAKE3 provided in this same repo, these
//! bindings are not expected to be used in production. They're intended for
//! testing and benchmarking.
//! native (and faster) Rust implementation of BLAKE3 provided in this same
//! repo, these bindings are not expected to be used in production. They're
//! intended for testing and benchmarking.
use std::ffi::{c_void, CString};
use std::mem::MaybeUninit;