ntrulp 0.2.4

Pure implementation of high-security prime-degree large-Galois-group inert-modulus ideal-lattice-based cryptography.
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 = "ntrulp"
version = "0.2.4"
authors = ["Rinat hicc0rus@gmail.com"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure implementation of high-security prime-degree large-Galois-group inert-modulus ideal-lattice-based cryptography."
homepage = "https://github.com/openzebra/ntrulp"
documentation = "https://github.com/openzebra/ntrulp/blob/master/README.md"
readme = "README.md"
keywords = [
    "post-quantum",
    "ntru",
    "cryptography",
    "encryption",
    "key-exchange",
]
categories = [
    "cryptography",
    "no-std",
    "algorithms",
]
license-file = "LICENSE"
repository = "https://github.com/openzebra/ntrulp"

[features]
default = []
ntrup1013 = []
ntrup1277 = []
ntrup653 = []
ntrup761 = []
ntrup857 = []
ntrup953 = []
std = ["dep:num_cpus"]

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

[[example]]
name = "cipher"
path = "examples/cipher.rs"
required-features = ["std"]

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

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

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

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

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

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

[dependencies.num_cpus]
version = "1.17.0"
optional = true

[dependencies.rand]
version = "0.10.1"

[dependencies.rand_chacha]
version = "0.10.0"

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