37 lines
978 B
TOML
37 lines
978 B
TOML
[package]
|
|
name = "pn532"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
description = "A no_std, embedded-hal driver for the NXP PN532 NFC controller (I2C interface)"
|
|
keywords = ["nfc", "pn532", "embedded-hal", "no-std", "i2c"]
|
|
categories = ["embedded", "no-std", "hardware-support"]
|
|
|
|
[lib]
|
|
name = "pn532"
|
|
path = "src/lib.rs"
|
|
test = false
|
|
bench = false
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
embedded-hal = "~1"
|
|
defmt = { version = "~1.1", optional = true }
|
|
hex = { version = "~0.4", default-features = false }
|
|
des = { version = "~0.9", default-features = false }
|
|
cbc = { version = "~0.2", default-features = false, features = ["block-padding"] }
|
|
heapless = "~0.9"
|
|
thiserror = { version = "~2", default-features = false }
|
|
bitfields = "3.1.0"
|
|
rand_core = "0.10.1"
|
|
bytemuck = "1.25.2"
|
|
readonly = "0.2.14"
|
|
|
|
[features]
|
|
default = []
|
|
defmt = ["dep:defmt", "heapless/defmt"]
|
|
alloc = ["defmt/alloc", "hex/alloc", "heapless/alloc"]
|
|
mifare-classic = []
|
|
iso14443a = []
|
|
felica = []
|
|
felica-lite-s = ["felica"]
|