ntag424 0.1.0

Implementation of the application protocol of NTAG 424 DNA chips.
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 = "2024"
rust-version = "1.88.0"
name = "ntag424"
version = "0.1.0"
authors = ["Jannik Schürg <jannik.schuerg+crates@posteo.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Implementation of the application protocol of NTAG 424 DNA chips."
readme = "README.md"
keywords = [
    "nfc",
    "ntag424",
]
categories = [
    "embedded",
    "cryptography",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/jannschu/ntag424"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = ["serde/alloc"]
default = ["high-level-api"]
high-level-api = [
    "dep:rand",
    "key-diversification",
    "sdm",
    "alloc",
]
key-diversification = []
sdm = []
serde = ["dep:serde"]

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

[dependencies.aes]
version = "0.9.0"

[dependencies.arrayvec]
version = "0.7.4"
default-features = false

[dependencies.cmac]
version = "0.8.0"

[dependencies.p224]
version = "0.13.2"
features = ["ecdsa"]
default-features = false

[dependencies.rand]
version = "0.10.1"
optional = true
default-features = false

[dependencies.serde]
version = "1.0.193"
features = ["derive"]
optional = true
default-features = false

[dependencies.subtle]
version = "2.4"
default-features = false

[dependencies.thiserror]
version = "2.0.18"
default-features = false

[dependencies.zeroize]
version = "1.8.2"
features = [
    "derive",
    "zeroize_derive",
]
default-features = false