High-performance streaming encryption library powered by Rust
Project description
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
cargo add streaming-crypto
FFI API
cargo build --features ffi-api
Python API
pip install streaming-crypto
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:export PYTHON_SYS_EXECUTABLE="$(pyenv which python3)" export PYO3_PYTHON="$(pyenv which python3)" export PYO3_NO_PYTHON_LINK=1 cargo clean cargo test -p streaming-crypto --no-default-features --features pyo3-api
-
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streaming_crypto-0.1.0a18.tar.gz.
File metadata
- Download URL: streaming_crypto-0.1.0a18.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1150431835b08e6ed671e1ceb29b424f880f3ab14646f22fb8f1f7a91f844f63
|
|
| MD5 |
0f85f507e9474bc9be549df8ce6d3a2a
|
|
| BLAKE2b-256 |
81762dbb64041b9518437d8dcf0c3dcb158a0a35df0e281c8e8444209e112a38
|
File details
Details for the file streaming_crypto-0.1.0a18-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: streaming_crypto-0.1.0a18-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 202.1 kB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
420fc3c84f3f038e05578c622a3f9a868a5a1afb3709b5362da71c9a63871282
|
|
| MD5 |
c366c807cc0aef7a59cb6fbd1f967eba
|
|
| BLAKE2b-256 |
eea8fbf31d48a2a25eeaca06439467917a8146ef1de7e852b505cf5de4c5a323
|