[package]
edition = "2021"
rust-version = "1.70"
name = "canaad-cli"
version = "2.0.0"
authors = ["Ethan Henderson <git@gnu.foo>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI tool for AAD canonicalization per RFC 8785"
homepage = "https://gnu.foo/projects/canaad"
documentation = "https://docs.rs/canaad-cli"
readme = "README.md"
keywords = [
"aead",
"aad",
"canonicalization",
"jcs",
"rfc8785",
]
categories = [
"cryptography",
"encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/gnufood/canaad"
[[bin]]
name = "canaad"
path = "src/main.rs"
[[test]]
name = "canonicalize"
path = "tests/canonicalize.rs"
[[test]]
name = "exit_codes"
path = "tests/exit_codes.rs"
[[test]]
name = "hash"
path = "tests/hash.rs"
[[test]]
name = "input"
path = "tests/input.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[test]]
name = "validate"
path = "tests/validate.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.base64]
version = "0.22"
[dependencies.canaad-core]
version = "2.0.0"
[dependencies.clap]
version = ">=4, <4.5"
features = ["derive"]
[dependencies.hex]
version = "0.4"
[dependencies.sha2]
version = "0.10"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
cargo_common_metadata = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
redundant_pub_crate = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "deny"
rust_2018_idioms = "deny"
unsafe_code = "deny"