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.0b5.tar.gz (3.4 MB 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.0b5-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

streaming_crypto-0.1.0b5-cp312-cp312-musllinux_1_2_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

streaming_crypto-0.1.0b5-cp312-cp312-manylinux_2_28_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

streaming_crypto-0.1.0b5-cp312-cp312-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

streaming_crypto-0.1.0b5-cp312-cp312-macosx_10_13_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

File details

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

File metadata

  • Download URL: streaming_crypto-0.1.0b5.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for streaming_crypto-0.1.0b5.tar.gz
Algorithm Hash digest
SHA256 3ab3b2e8dde4a89f4946de4501c99889ef8760b2bea274d1ecf0f3c95e7c4dbd
MD5 2a39e9eada6f1348e16627a6e72cd7f6
BLAKE2b-256 996138a18bc175a358eeb73d8380d52cd2670077a748cb825dcecf3e3526b461

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ae0d23b59540c8ebde65ad9087b3d9f3daf750d689160e20c6be9e3f78cb1f85
MD5 b01a932a6279c86a26db551f1708b944
BLAKE2b-256 d3f15d4f34b2e296a55772e950abbee15e64d0aaa293f020f453a2595cc1fb0e

See more details on using hashes here.

File details

Details for the file streaming_crypto-0.1.0b5-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b5-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 22d4a5345b8fdaff26b81e1da59cc19a9a2ce6e6393dc32d5583dda84973a267
MD5 eda1593922e990f78ee7f1de112d53ed
BLAKE2b-256 34c6f81865f370fd23105c2faa238ef44c95473f64c6c319f569f637d81411f1

See more details on using hashes here.

File details

Details for the file streaming_crypto-0.1.0b5-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b5-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 03dd26734c0dd2fc74f2fcfd9a5fe0b76760b7b7a6f45a7aecfe0c870d73f5f9
MD5 54a9606cbcb51b51cde01ad8ad3568d9
BLAKE2b-256 015468ad610e5320584fda521faf66d9dc9f70caa3d3f05323b57224ec2eec07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 74b0f6d2bfa295f2acd28d44b0ddf1bddc883ed4b01e436e1a645466fca69055
MD5 2658dfb4f832fd30f1d839f7b1edd76b
BLAKE2b-256 ea287fa5bb0dfd64dcf275b12de13ab6a3ef05436e48d42c9741e60e7a18d702

See more details on using hashes here.

File details

Details for the file streaming_crypto-0.1.0b5-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b5-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 f51fd6516bb032742a9c8d771d34e6af7a735529585596246ecb5eb7c0bf5e29
MD5 f92e47d284c0b6183f3402788e5d6a0a
BLAKE2b-256 cbf7e032ee5469c5e8f56ef39f753070547977ef5c1d9464ef1bcf12412a134d

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