Skip to main content

High-performance streaming encryption library powered by Rust

Project description

streaming-crypto

CI Crates.io Docs.rs 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.0a16.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

streaming_crypto-0.1.0a16-cp312-cp312-manylinux_2_34_x86_64.whl (202.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

File details

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

File metadata

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

File hashes

Hashes for streaming_crypto-0.1.0a16.tar.gz
Algorithm Hash digest
SHA256 e50b03b979d40fdaf1c53cedf442f12d53494aec91ac10ef82cea93c6ad19f73
MD5 f7f011ee57a3fd8c81fa004b81cc01e5
BLAKE2b-256 b5482ef32a9ef1cdb33bb35b5056b7167f0ecb91382b70f1a00b477261aeb3b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streaming_crypto-0.1.0a16-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 9b95a481fc0de23a6b55a54f054aae778de54d2b3bb8fe0d76ce1f678d64dda1
MD5 82ba89764c6351d84011d87a326db162
BLAKE2b-256 9f5cdbf76722dff8939b34c159418f51d6b8fa4d4d821f94e0282dd7de1b59e7

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