[package]
edition = "2024"
rust-version = "1.96"
name = "libvctrl_sha512"
version = "3.0.1"
authors = ["mroczect <mroczect@proton.me"]
build = false
include = [
"src/**/*",
"Cargo.toml",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-dependency SHA512, HMAC-SHA512, HKDF-SHA512, and optional SHA384"
homepage = "https://github.com/mroczect/libvctrl"
documentation = "https://docs.rs/libvctrl_sha512"
readme = "README.md"
keywords = [
"cryptography",
"sha512",
"hmac",
"hkdf",
"no-std",
]
categories = [
"cryptography",
"algorithms",
"no-std",
]
license = "ISC"
repository = "https://github.com/mroczect/libvctrl"
resolver = "2"
[features]
default = ["sha384"]
opt_size = []
sha384 = []
[lib]
name = "libvctrl_sha512"
path = "src/lib.rs"
[dependencies]
[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false
[lints.clippy]
alloc_instead_of_core = "allow"
doc_lazy_continuation = "allow"
doc_markdown = "allow"
expect_used = "warn"
indexing_slicing = "warn"
map_err_ignore = "warn"
match_same_arms = "allow"
needless_return = "allow"
panic = "warn"
std_instead_of_alloc = "allow"
std_instead_of_core = "allow"
todo = "warn"
unimplemented = "warn"
uninlined_format_args = "allow"
unreachable = "warn"
unwrap_used = "warn"
wildcard_enum_match_arm = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "allow"
priority = -1
[lints.clippy.nursery]
level = "allow"
priority = -1
[lints.clippy.pedantic]
level = "allow"
priority = -1
[lints.rust]
dead_code = "warn"
elided_lifetimes_in_paths = "warn"
explicit_outlives_requirements = "warn"
macro_use_extern_crate = "forbid"
missing_docs = "warn"
non_ascii_idents = "warn"
noop_method_call = "warn"
redundant_lifetimes = "warn"
single_use_lifetimes = "warn"
trivial_bounds = "warn"
unit_bindings = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_crate_dependencies = "warn"
unused_imports = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
unused_variables = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.rust_2021_compatibility]
level = "warn"
priority = -1
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1