# 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 = "2021"
name = "sframe"
version = "0.2.2"
authors = [
    "Tobias Waurick <tobias.waurick@goto.com>",
    "Hendrik Sollich <hendrik.sollich@goto.com>",
    "Richard Haehne <richard.haehne@goto.com>",
]
description = "pure rust implementation of SFrame draft-ietf-sframe-enc-01"
documentation = "https://docs.rs/sframe/"
readme = "README.md"
keywords = [
    "encryption",
    "sframe",
    "secure-frame",
    "webrtc",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/goto-opensource/sframe-rs"

[[bench]]
name = "bench_main"
harness = false

[dependencies.bitfield]
version = "0.14"

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

[dependencies.log]
version = "0.4"

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

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

[dependencies.thiserror]
version = "1.0"

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

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

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

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

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

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

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

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

[dev-dependencies.strum_macros]
version = "0.24"

[features]
default = ["ring"]
openssl = ["dep:openssl"]
ring = ["dep:ring"]

[target."cfg(target_arch = \"wasm32\")".dependencies.ring]
version = "0.16"
features = ["wasm32_c"]
optional = true
