sew-e2ee 0.11.6

The client library for end-to-end encrypted Sew calls: MLS (openmls) per call, per-sender frame keys, the 64-slot ring and the two-phase switch, recovery, the recorder key handoff, and the key-provider bridge contract. Sans-IO; builds for Linux, macOS, Windows and wasm32.
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"
rust-version = "1.95"
name = "sew-e2ee"
version = "0.11.6"
build = false
include = [
    "src/**",
    "LICENSE-MIT",
    "LICENSE-APACHE",
    "NOTICE",
    "README.md",
    "CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The client library for end-to-end encrypted Sew calls: MLS (openmls) per call, per-sender frame keys, the 64-slot ring and the two-phase switch, recovery, the recorder key handoff, and the key-provider bridge contract. Sans-IO; builds for Linux, macOS, Windows and wasm32."
homepage = "https://github.com/Alakazam-211/sew-crates/tree/main/sew-e2ee"
documentation = "https://docs.rs/sew-e2ee"
readme = "README.md"
keywords = [
    "e2ee",
    "mls",
    "openmls",
    "voice",
    "encryption",
]
categories = ["cryptography"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Alakazam-211/sew-crates"

[features]
default = []
testing = []

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

[dependencies.aes-gcm]
version = "0.10"
features = [
    "aes",
    "alloc",
]
default-features = false

[dependencies.ed25519-dalek]
version = "2"
features = [
    "std",
    "rand_core",
    "zeroize",
]
default-features = false

[dependencies.openmls]
version = "=0.9.0"
default-features = false

[dependencies.openmls_memory_storage]
version = "=0.6.0"

[dependencies.openmls_traits]
version = "=0.6.0"

[dependencies.p256]
version = "0.14"
features = [
    "ecdsa",
    "arithmetic",
    "pem",
    "alloc",
]
default-features = false

[dependencies.rand]
version = "0.8"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sew-mls-crypto]
version = "0.11.6"

[dependencies.sew-proto]
version = "0.11.6"

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.tls_codec]
version = "0.5"
features = ["std"]
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.zeroize]
version = "1"
features = ["derive"]

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom_02]
version = "0.2"
features = ["js"]
package = "getrandom"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3.106"

[target.'cfg(target_arch = "wasm32")'.dependencies.openmls]
version = "=0.9.0"
features = ["js"]
default-features = false

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_qualifications = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]