[package] name = "ldwm" version = "0.3.0" authors = ["Alexander Rao "] description = "An LDWM signature parsing and verifying library" repository = "https://github.com/alexhrao/ldwm" documentation = "https://docs.rs/ldwm/latest/ldwm/" license = "Unlicense" keywords = ["ldwm"] categories = ["cryptography"] edition = "2021" [lib] name = "ldwm" path = "src/lib.rs" [lints.clippy] [lints.rust] missing_docs = "warn" [features] default = ["verify", "sign", "rayon"] verify = [] sign = ["std"] std = ["dep:rand"] rayon = ["dep:rayon"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] sha2 = { version = "0.10.8", default-features = false } rand = { version = "0.8.5", optional = true } rayon = { version = "1.8.1", optional = true } [profile.release] opt-level = "z" lto = "fat" codegen-units = 1 [dev-dependencies] hex = "0.4.3"