cryprot-core 0.3.1

Core primitives for cryptographic protocol implementations.
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 = "cryprot-core"
version = "0.3.1"
authors = ["Robin Hundt"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core primitives for cryptographic protocol implementations."
readme = "README.md"
keywords = [
    "cryptography",
    "mpc",
]
license = "MIT"
repository = "https://github.com/robinhundt/CryProt"
resolver = "2"

[features]
__testing = ["dep:tracing-subscriber"]
num-traits = ["dep:num-traits"]
tokio-rayon = [
    "dep:rayon",
    "dep:tokio",
]

[lib]
name = "cryprot_core"
path = "src/lib.rs"
bench = false

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

[dependencies.aes]
version = "=0.9.0-rc.4"

[dependencies.blake3]
version = "1.5.5"
features = [
    "serde",
    "traits-preview",
]

[dependencies.bytemuck]
version = "1.25.0"
features = [
    "must_cast",
    "derive",
]

[dependencies.cpufeatures]
version = "0.3.0"

[dependencies.hybrid-array]
version = "0.4.7"
features = ["bytemuck"]

[dependencies.num-traits]
version = "0.2.19"
optional = true

[dependencies.rand]
version = "0.10.0"

[dependencies.rand_core]
version = "0.10.0"

[dependencies.rand_core_0_6]
version = "0.6"
package = "rand_core"

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

[dependencies.seq-macro]
version = "=0.3.6"

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

[dependencies.subtle]
version = "2.6.1"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.37.0"
features = ["sync"]
optional = true

[dependencies.tracing]
version = "0.1.40"

[dependencies.tracing-subscriber]
version = "0.3.18"
features = ["env-filter"]
optional = true

[dependencies.wide]
version = "1.1.1"
features = ["serde"]

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

[dev-dependencies.proptest]
version = "1.10.0"

[build-dependencies.rustc_version]
version = "0.4.1"

[target."cfg(unix)".dependencies.libc]
version = "0.2.181"

[lints.clippy]
unwrap_used = "warn"