orion 0.17.13

Usable, easy and safe pure-Rust crypto
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 = "2021"
rust-version = "1.86"
name = "orion"
version = "0.17.13"
authors = ["brycx <brycx@protonmail.com>"]
build = false
exclude = [
    ".gitignore",
    ".travis.yml",
    "tests/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Usable, easy and safe pure-Rust crypto"
documentation = "https://docs.rs/orion"
readme = "README.md"
keywords = [
    "cryptography",
    "crypto",
    "aead",
    "pqc",
    "kem",
]
categories = [
    "cryptography",
    "no-std",
]
license = "MIT"
repository = "https://github.com/orion-rs/orion"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = []
default = [
    "safe_api",
    "zeroize",
]
experimental = []
safe_api = [
    "getrandom",
    "ct-codecs",
    "zeroize?/alloc",
]
serde = [
    "dep:serde",
    "alloc",
]
zeroize = ["dep:zeroize"]

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

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

[dependencies.ct-codecs]
version = "1.1.1"
optional = true

[dependencies.fiat-crypto]
version = "0.3.0"
default-features = false

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

[dependencies.serde]
version = "1.0.124"
features = ["alloc"]
optional = true
default-features = false

[dependencies.subtle]
version = "^2.2.2"
default-features = false

[dependencies.zeroize]
version = "1.1.0"
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.8.1"

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

[dev-dependencies.num-rational]
version = "0.4.2"
default-features = false

[dev-dependencies.quickcheck]
version = "1"

[dev-dependencies.quickcheck_macros]
version = "1"

[dev-dependencies.rand]
version = "0.10.0"
features = ["thread_rng"]

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

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

[profile.dev]
opt-level = 1