Skip to main content

High-performance streaming encryption library powered by Rust

Project description

Streaming Crypto

CI core CI ffi CI pyo3 Docs.rs Crates.io PyPI License: MIT

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

  1. 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.

  2. Action: We forced PyO3 to use Python 3.12 or current version of pyenv explicitly:

    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
    
  3. Result: Cargo rebuilds PyO3 and all dependent crates from scratch. Now cargo run --bin check_python correctly detects Python 3.12.12 and does not crash on missing libpython3.13.dylib.

  4. cargo test will work now

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streaming_crypto-0.1.0b1.tar.gz (188.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

streaming_crypto-0.1.0b1-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

streaming_crypto-0.1.0b1-cp312-cp312-manylinux_2_34_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

streaming_crypto-0.1.0b1-cp312-cp312-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file streaming_crypto-0.1.0b1.tar.gz.

File metadata

  • Download URL: streaming_crypto-0.1.0b1.tar.gz
  • Upload date:
  • Size: 188.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.12.6

File hashes

Hashes for streaming_crypto-0.1.0b1.tar.gz
Algorithm Hash digest
SHA256 aea128ead91dba1db1212f12fdf34ecf332c23a7992e4d1846209aa1d7c720eb
MD5 18a95dc23fc10c4b12ebe0e25055badc
BLAKE2b-256 a4b05b4becb085c6f4f2719ca74222ff4e3fa00d10e323b69dd946c399889511

See more details on using hashes here.

File details

Details for the file streaming_crypto-0.1.0b1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8f2da33b4ec5a5d66739e554b4381666be356713e87267fd50452583bc466539
MD5 fdaa07c63f820e0aad4b32cb4613fd8d
BLAKE2b-256 5b2c613e92301cbf72003fc88b46093691855e54cde03ac19da35865bd0bbae8

See more details on using hashes here.

File details

Details for the file streaming_crypto-0.1.0b1-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 a85fdab6f2b86dbc6564703fd263fa8c40166f84b97e9440f876a6fa8a08e76a
MD5 24924fc68830cc524fd8ce39e7e0fd08
BLAKE2b-256 a10717cd033108d22ff10b3a7ea2454d3f0cebe01d627b6e6d3d2e0792cbdf9f

See more details on using hashes here.

File details

Details for the file streaming_crypto-0.1.0b1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 91eedf71ba407a31db3006222c8f4ad37133583dec3fed572549f74104a0bbfd
MD5 57ea6703f5e7fffd36328df5336c8ba3
BLAKE2b-256 3d33150fb8369398882548a908a4005135948bf3720e28addca4d41629db1476

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page