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

Uploaded CPython 3.12Windows x86-64

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

File metadata

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

File hashes

Hashes for streaming_crypto-0.1.0b3.tar.gz
Algorithm Hash digest
SHA256 6f98ac83357c417009ebfe8a818b31bc25ec6b4548ebebce475737c2446a1c34
MD5 cca33e6325db8fc8d79e593f0e0296ec
BLAKE2b-256 1875d3152ec73f9709e36dd99d36c493d3f3f475a3b8692039c3786b90edd048

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1783c441e64b0f4f1720a0d1e844ec7f9c3d1b4266aaf951b8ab81e04083b6ce
MD5 4d67d452528765c297f940b882aaa135
BLAKE2b-256 5110628926f9062f8190cee97fe9ad079b21aa51cefb0dca1e264f0c1971ea2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b3-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 0ade241bf5717971cd34cd369f6968abfb6c14abe363bee9bb7419548874a916
MD5 31b8db93004a35209affc6ca8e363fe0
BLAKE2b-256 7033b8ccc2954fa05eef8b93308dfaabad35025031546c193ba178c886bc63aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e88c5b6ffc97e7be173650081511af42202d945707b5e2922d1dba0258c43adb
MD5 88b50d0884c87552b611e8d82c4e8893
BLAKE2b-256 fe548d6dd642cf1ac365cb0a3c8072ddb35278804a1b90991be1e1958a901abc

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