b-wing 0.1.1

High-assurance hybrid post-quantum cryptography library. Implements NIST Level 5 PQ security with redundant classical+PQ KEM (KWing) and Signatures (SWing).
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.87"
name = "b-wing"
version = "0.1.1"
authors = ["Hacer"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-assurance hybrid post-quantum cryptography library. Implements NIST Level 5 PQ security with redundant classical+PQ KEM (KWing) and Signatures (SWing)."
documentation = "https://docs.rs/b-wing"
readme = "README.md"
keywords = [
    "cryptography",
    "post-quantum",
    "kem",
    "signature",
]
categories = ["cryptography"]
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/hacer-bark/b-wing"

[features]
default = [
    "kem",
    "sign",
]
kem = [
    "dep:hkdf",
    "dep:x25519-dalek",
    "dep:ml-kem",
    "dep:frodo-kem",
    "dep:rand_chacha",
    "dep:rand_core",
]
sign = [
    "dep:ed25519-dalek",
    "dep:ml-dsa",
    "dep:slh-dsa",
    "dep:rand_chacha",
    "dep:rand_core",
]

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

[[bench]]
name = "k_wing_bench"
path = "benches/k_wing_bench.rs"
harness = false
required-features = ["kem"]

[[bench]]
name = "s_wing_bench"
path = "benches/s_wing_bench.rs"
harness = false
required-features = ["sign"]

[dependencies.ed25519-dalek]
version = "2"
optional = true

[dependencies.frodo-kem]
version = "0.1"
features = ["frodo1344shake"]
optional = true

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

[dependencies.ml-dsa]
version = "=0.1.0-rc.9"
features = ["zeroize"]
optional = true

[dependencies.ml-kem]
version = "0.3"
features = [
    "zeroize",
    "hazmat",
]
optional = true

[dependencies.rand_chacha]
version = "0.10"
optional = true

[dependencies.rand_core]
version = "0.10"
optional = true

[dependencies.sha3]
version = "0.11"

[dependencies.slh-dsa]
version = "=0.2.0-rc.5"
features = ["zeroize"]
optional = true

[dependencies.x25519-dalek]
version = "2"
features = ["static_secrets"]
optional = true

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

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

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