rgp 0.4.1

Enabling E2EE for a range of applications.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "rgp"
version = "0.4.1"
authors = ["sean watters <sean@ordinarylabs.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Enabling E2EE for a range of applications."
homepage = "https://github.com/ordinarylabs/rgp"
readme = "README.md"
keywords = [
    "e2ee",
    "encryption",
    "crypto",
    "security",
]
categories = ["cryptography"]
license = "MIT"
repository = "https://github.com/ordinarylabs/rgp"

[features]
default = ["multi-thread"]
multi-thread = ["dep:rayon"]

[lib]
name = "rgp"
path = "src/lib.rs"

[[example]]
name = "dh"
path = "examples/dh.rs"

[[example]]
name = "dh-hmac"
path = "examples/dh-hmac.rs"

[[example]]
name = "hmac"
path = "examples/hmac.rs"

[[example]]
name = "kem"
path = "examples/kem.rs"

[[example]]
name = "kem-dh"
path = "examples/kem-dh.rs"

[[example]]
name = "session"
path = "examples/session.rs"

[[example]]
name = "session-keygen"
path = "examples/session-keygen.rs"

[[bench]]
name = "crypto"
path = "benches/crypto.rs"
harness = false

[dependencies.blake2]
version = "0.10.6"

[dependencies.chacha20]
version = "0.9.1"

[dependencies.chacha20poly1305]
version = "0.10.1"

[dependencies.classic-mceliece-rust]
version = "3.1.0"
features = ["mceliece348864f"]
default-features = false

[dependencies.ed25519-dalek]
version = "2.2.0"
features = ["rand_core"]

[dependencies.rayon]
version = "1.8.1"
optional = true

[dependencies.x25519-dalek]
version = "2.0.1"
features = ["static_secrets"]

[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]