streaming-crypto
A Rust cryptographic library with optional FFI and Python bindings.
Features
- Rust API (default): Pure Rust functions.
- FFI API: C ABI functions for integration with C/C++ and other languages.
- PyO3 API: Python bindings, installable via
pip.
Usage
Rust API
FFI API
Python API
Documentation
✅ Badge Breakdown
- CI badge → shows GitHub Actions build/test status.
- Crates.io badge → shows latest published version on crates.io.
- Docs.rs badge → links to auto‑generated Rust documentation.
- PyPI badge → shows latest published version on PyPI.
- License badge → signals open‑source license clearly.
Set environment python for test
-
Before: PyO3 was trying to link against Python 3.13 because either a cached build or environment variable made it think our Python was 3.13.
-
Action: We forced PyO3 to use Python 3.12 or current version of
pyenvexplicitly: -
Result: Cargo rebuilds PyO3 and all dependent crates from scratch. Now
cargo run --bin check_pythoncorrectly detects Python 3.12.12 and does not crash on missing libpython3.13.dylib. -
cargo test will work now