[package]
edition = "2021"
rust-version = "1.85"
name = "nettle"
version = "7.5.0"
authors = [
"Kai Michaelis <kai@sequoia-pgp.org>",
"Justus Winter <justus@sequoia-pgp.org>",
"Neal H. Walfield <neal@sequoia-pgp.org>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for the Nettle cryptographic library"
documentation = "https://docs.rs/nettle"
readme = "README.md"
keywords = [
"nettle",
"cryptography",
]
categories = ["cryptography"]
license = "LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only"
repository = "https://gitlab.com/sequoia-pgp/nettle-rs"
resolver = "3"
[lib]
name = "nettle"
path = "src/lib.rs"
[[example]]
name = "hash-benchmark"
path = "examples/hash-benchmark.rs"
[[example]]
name = "polymorphic"
path = "examples/polymorphic.rs"
[[example]]
name = "supported-algorithms"
path = "examples/supported-algorithms.rs"
[dependencies.getrandom]
version = ">=0.3, <0.5"
[dependencies.libc]
version = "0.2.33"
[dependencies.nettle-sys]
version = "2.2"
[dependencies.thiserror]
version = ">=1, <3"
[dependencies.typenum]
version = "1"
[lints.clippy.complexity]
level = "allow"
priority = -1
[lints.clippy.style]
level = "allow"
priority = -1