# 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 = "2021"
rust-version = "1.75.0"
name = "ndef"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "This crate provides a `#[no_std]` library to implement a NFC Data Exchange Format structures."
readme = "README.md"
keywords = [
    "no-std",
    "nfc",
]
categories = [
    "embedded",
    "no-std",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/Foundation-Devices/ndef-rs"

[features]
alloc = []
cbor = ["dep:dcbor"]

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

[[example]]
name = "serialize_text"
path = "examples/serialize_text.rs"

[dependencies.dcbor]
version = "0.23"
features = ["no_std"]
optional = true
default-features = false

[dependencies.derive_more]
version = "1.0"
features = ["from"]
default-features = false

[dependencies.rustversion]
version = "1.0"

[target.'cfg(not(features = "alloc"))'.dependencies.heapless]
version = "0.8"
default-features = false
