[package]
edition = "2021"
rust-version = "1.89.0"
name = "yip-crypto"
version = "0.1.0"
authors = ["FEMBOY CYBER NETWORKS LLC <security@femboy.is>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Post-quantum hybrid Noise-IKpsk2 + ML-KEM-512 cryptographic handshake and AEAD session ciphers for yip"
homepage = "https://github.com/femboyisp/yip"
documentation = "https://docs.rs/yip-mesh"
readme = false
keywords = [
"vpn",
"mesh",
"fec",
"cryptography",
"peer-to-peer",
]
categories = [
"network-programming",
"cryptography",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/femboyisp/yip"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "yip_crypto"
path = "src/lib.rs"
[[test]]
name = "adaptive_replay_test"
path = "tests/adaptive_replay_test.rs"
[dependencies.ml-kem]
version = "0.3"
features = [
"zeroize",
"getrandom",
]
[dependencies.ring]
version = "0.17"
[dependencies.snow]
version = "0.10.0"
features = ["risky-raw-split"]
[dependencies.thiserror]
version = "2.0.9"
[dependencies.zeroize]
version = "1.8"
[lints.clippy]
allow_attributes = "warn"
as_ptr_cast_mut = "warn"
as_underscore = "warn"
borrow_as_ptr = "warn"
implicit_clone = "warn"
undocumented_unsafe_blocks = "warn"
unicode_not_nfc = "warn"
unused_async = "deny"
wildcard_dependencies = "deny"
[lints.rust]
absolute_paths_not_starting_with_crate = "deny"
explicit_outlives_requirements = "warn"
macro_use_extern_crate = "deny"
missing_abi = "deny"
non_ascii_idents = "forbid"
single_use_lifetimes = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1