origin-crypto-sdk 0.4.0

Standalone cryptographic SDK with classical (Ed25519) and post-quantum (Falcon, SLH-DSA, ML-DSA, NTRU Prime, Curve41417) primitives. Hybrid signing by default.
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.85"
name = "origin-crypto-sdk"
version = "0.4.0"
authors = ["Origin Contributors"]
build = false
exclude = [
    "benches/",
    "docs/",
    ".cogent-audit/",
    ".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Standalone cryptographic SDK with classical (Ed25519) and post-quantum (Falcon, SLH-DSA, ML-DSA, NTRU Prime, Curve41417) primitives. Hybrid signing by default."
homepage = "https://github.com/KidIkaros/OriginSDK"
readme = "README.md"
keywords = [
    "cryptography",
    "post-quantum",
    "encryption",
    "signatures",
    "aead",
]
categories = ["cryptography"]
license = "Apache-2.0"
repository = "https://github.com/KidIkaros/OriginSDK"

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

[features]
default = ["parallel"]
ml-dsa = ["dep:ml-dsa"]
parallel = ["dep:rayon"]
pqc-simd = []
slh-dsa = ["dep:slh-dsa"]
test-utils = []

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

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

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

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

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

[[test]]
name = "hybrid_golden_vectors"
path = "tests/hybrid_golden_vectors.rs"

[[test]]
name = "hybrid_rigorous"
path = "tests/hybrid_rigorous.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "proptest_crypto"
path = "tests/proptest_crypto.rs"

[dependencies.argon2]
version = "=0.5.3"
features = ["password-hash"]

[dependencies.blake3]
version = "1.8"

[dependencies.chacha20-blake3]
version = "0.9.11"

[dependencies.chacha20poly1305]
version = "=0.10.1"
features = ["getrandom"]

[dependencies.cipher]
version = "0.4"
features = ["block-padding"]

[dependencies.digest]
version = "0.11"

[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]

[dependencies.ed448]
version = "0.5"

[dependencies.ed448-goldilocks]
version = "0.14.0-pre.13"
features = [
    "std",
    "signing",
    "pkcs8",
    "getrandom",
]

[dependencies.elliptic-curve]
version = "0.13"

[dependencies.falcon-rust]
version = "=0.1.2"

[dependencies.flate2]
version = "1.0"

[dependencies.getrandom]
version = "0.2"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.ml-dsa]
version = "0.1.0"
optional = true

[dependencies.rand]
version = "=0.8.5"

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

[dependencies.serpent]
version = "0.5"

[dependencies.sha1]
version = "0.10"

[dependencies.sha2]
version = "=0.10.8"

[dependencies.sha3]
version = "0.11"

[dependencies.signature]
version = "2"

[dependencies.skein]
version = "0.2"

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

[dependencies.subtle]
version = "2.6.1"

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

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

[dev-dependencies.tempfile]
version = "3.10"

[lints.clippy]
expect_used = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "warn"
similar_names = "allow"
unwrap_used = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "warn"
priority = 1

[lints.clippy.suspicious]
level = "warn"
priority = 1

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "warn"