sframe 1.2.0

pure rust implementation of SFrame (RFC 9605)
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 = "sframe"
version = "1.2.0"
authors = [
    "Tobias Waurick <tobtherock@proton.me>",
    "Hendrik Sollich <hendrik.sollich@goto.com>",
    "Richard Haehne <richard.haehne@goto.com>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "pure rust implementation of SFrame (RFC 9605)"
documentation = "https://docs.rs/sframe/"
readme = "README.md"
keywords = [
    "rfc9605",
    "encryption",
    "sframe",
    "secure-frame",
    "wasm",
]
categories = [
    "cryptography",
    "wasm",
    "web-programming",
    "network-programming",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/TobTheRock/sframe-rs"

[features]
default = ["ring"]
rust-crypto = [
    "aes-gcm",
    "hkdf",
    "sha2",
    "cipher",
    "ctr",
    "getrandom",
]

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

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

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

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

[[example]]
name = "sender_receiver"
path = "examples/sender_receiver/main.rs"

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

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

[[bench]]
name = "header_parsing"
path = "benches/header_parsing.rs"

[dependencies.aes-gcm]
version = "0.10.3"
optional = true

[dependencies.bitfield]
version = "0.19"

[dependencies.cfg-if]
version = "1.0"

[dependencies.cipher]
version = "0.4"
optional = true

[dependencies.ctr]
version = "0.9.2"
optional = true

[dependencies.getrandom]
version = "0.2"
optional = true

[dependencies.hkdf]
version = "0.13"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.openssl]
version = "0.10"
features = ["vendored"]
optional = true

[dependencies.ring]
version = "0.17"
optional = true

[dependencies.sha2]
version = "0.11.0"
optional = true

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.bbqueue]
version = "0.7"

[dev-dependencies.cgisf_lib]
version = "0.2"

[dev-dependencies.clap]
version = "4.5"
features = ["derive"]

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

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.lazy_static]
version = "1.5"

[dev-dependencies.phf]
version = "0.13"
features = ["macros"]

[dev-dependencies.pretty_assertions]
version = "1.3"

[dev-dependencies.rand]
version = "0.10"

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.simple_logger]
version = "5.0"

[dev-dependencies.test-case]
version = "3.1"

[build-dependencies.cfg_aliases]
version = "0.2"

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

[target.'cfg(target_arch = "wasm32")'.dependencies.ring]
version = "0.17"
features = ["wasm32_unknown_unknown_js"]
optional = true