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.0b4.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.0b4-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

streaming_crypto-0.1.0b4-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.0b4-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.0b4-cp312-cp312-macosx_11_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

streaming_crypto-0.1.0b4-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.0b4.tar.gz.

File metadata

  • Download URL: streaming_crypto-0.1.0b4.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.0b4.tar.gz
Algorithm Hash digest
SHA256 141c0302f0b91a9193f7e8827a144369539735d1c75d1f036c815ee891c92beb
MD5 59f5ff048cad2094b8812aff2d3621f9
BLAKE2b-256 81c3b70d1a3cdcf4eba2f04d32c764a586dfd95229e6697f8791bfd3f38eb1b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a29c5262eb9a2eb0783b8cdc71941ce721bc70a51b86b402b80ce0e0768248ad
MD5 4f76bbf43146551473e6fb1146191c1f
BLAKE2b-256 09cc7c281d568265f68a109677066fa2c9afdb523c4a4f8b8781933830ac28d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b4-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 efec176b60e40a9ac2a8c72c5aecc4b2576ab7cf5d8f1fb75976a8712910be71
MD5 58a4f45caa6c034dd9eee574e3ffb972
BLAKE2b-256 25cb1789977b77141ea43c7391b535f70120e59670a2b518d2a61bfaf52ffd1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b4-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3b3e141ff095096884519751e58d33007d0f3521e99f045bac5046987f745e4d
MD5 99bc2a34b20b06236bf7578a9518872b
BLAKE2b-256 13395f452c77ffb13f32599848527056156e15e68facc331206124bb2dd9c9f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 360daecfeaa2a3e953087397e214137c86a4fa8f94974c3385b786ccca2b2a58
MD5 88085d84ba4bffc0b265f48d354f7cc2
BLAKE2b-256 b73a50a112eb319b26a648bca1ce93aced022087b56f6100cbdd01bd7e4b1cd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b4-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 91d09384a59cd60763176a2226420b089dbac748478f57460d1c0f7e63463ffb
MD5 19ff5b14d1b1bf402b28010929c47d21
BLAKE2b-256 d931c8ce225b86a85473b31e708aff3e8d4913382291c3da86b3ecdf11b02c16

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