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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

File metadata

  • Download URL: streaming_crypto-0.1.0b6.tar.gz
  • Upload date:
  • Size: 3.5 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.0b6.tar.gz
Algorithm Hash digest
SHA256 e2acb8f0f8ee94107ea096a97c4b17f463bf2f67582b60d65679c065ad6ce118
MD5 9c0b170d74917494ff62d67106e5490e
BLAKE2b-256 24aefcb337757d2de19653d1f2b1643eeadd40d0750533a7027d49e8a6318f2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 78e6f2be18e88cd702203a5db850c56d5e95babb8fb1ddb2b78b5c2e40c1c076
MD5 59ea37796b49dd0949eeef5fb8ef6843
BLAKE2b-256 1e6bd182c8c4602f3d2fad29e1ec087c254d8ea633f7b74ab4bc0a043fdbd4dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b6-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2776937b762338aedf6b4cbd69c06cb7ce4c038e758c21bf9ffa3d6ea409c91c
MD5 90ab3832566f80e9cafc56d118f717fa
BLAKE2b-256 78a3c93cb364a7163e606d51808040ca5e656cfc663d58a91ed56ab517f705c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b6-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2b952c38f858d01b89aabf21925fa9401a5f20a1aa876bb477aff0076f472f85
MD5 af92d8d1435d0fac1357d526b3d19c53
BLAKE2b-256 6d7fd70ecbfe3b4416d8c85b33861db7e9b6e845945cbcc3142b923af4c8ce61

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 49935f508cd880d7c9d5dcafe8b5db5cc9ce468ac9af49a983dcac7f44629d28
MD5 4a10b0967fe92e64e033a76108f815a4
BLAKE2b-256 92009aa72d56ab90df818ab68ee096277016394c099f8f7620b41eb61d26dfcc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streaming_crypto-0.1.0b6-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 d2215862525de6a3f9b877b95f4a73f15596461ba06a9561c1764b6dfb3ac2c9
MD5 b2744c4cbb3053984f0fe685df71804b
BLAKE2b-256 d44c76cc7ad03cedb4ec690b26c32eaa115bfc6e4f7567a53a0ea56f81386200

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