| Crates.io | nanondef |
| lib.rs | nanondef |
| version | 0.0.1 |
| created_at | 2025-11-24 03:10:44.071625+00 |
| updated_at | 2025-11-24 03:10:44.071625+00 |
| description | A no-std, no-alloc, minimal NDEF encoding and decoding library. |
| homepage | |
| repository | https://github.com/johnlettman/nanondef |
| max_upload_size | |
| id | 1947314 |
| size | 129,258 |
nanondef is a lightweight, allocation-optional library for working with
NFC Forum NDEF messages,
Capability Containers (CC),
TLV blocks,
and various record payloads.
It is designed for:
The library never allocates unless the "std" or "alloc" feature is enabled.
Zero-copy decoding from &[u8]
Optional allocation or heapless
Stable, minimal API surface
Capability Container (CC) parsing
Typed payload decoding (URI, raw bytes, and user-defined payloads)
NDEF record validation
TLV block decoding
Full serde support for all public types
WASM support
Companion C FFI bindings via the nanondef-sys crate