sntrup761 0.1.1

Rust implementation of the Streamline NTRU Prime algorithm
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"
name = "sntrup761"
version = "0.1.1"
authors = ["Michael Lodder <redmike7@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust implementation of the Streamline NTRU Prime algorithm"
documentation = "https://docs.rs/crate/sntrup761"
readme = "README.md"
keywords = [
    "cryptography",
    "hashing",
    "NTRU",
    "post-quantum",
]
categories = [
    "algorithms",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mikelodder7/sntrup761"

[features]
alloc = []
default = []
serde = ["dep:serdect"]
std = []

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

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

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

[dependencies.rand]
version = "0.10.0"

[dependencies.rand_chacha]
version = "0.10.0"

[dependencies.serdect]
version = "0.4"
optional = true

[dependencies.sha2]
version = "0.10.0"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2.0"

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

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

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

[dev-dependencies.postcard]
version = "1"
features = ["use-std"]

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

[lints.clippy]
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
checked_conversions = "warn"
mod_module_files = "warn"
panic = "warn"
panic_in_result_fn = "warn"
unwrap_used = "deny"

[lints.rust]
missing_debug_implementations = "deny"
missing_docs = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unsafe_code = "deny"
unstable_features = "deny"
unused_extern_crates = "deny"
unused_import_braces = "deny"
unused_lifetimes = "deny"
unused_parens = "deny"
unused_qualifications = "deny"