# 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"
name = "da14683-pac"
version = "0.2.0"
authors = ["Tri Nguyen <trongtribk06@gmail.com>"]
build = "build.rs"
include = [
    "src/*",
    "Cargo.toml",
    "README.md",
    "build.rs",
    "device.x",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Peripheral Access Crate (PAC) for DA14683."
documentation = "https://docs.rs/crate/da14683-pac/latest"
readme = "README.md"
keywords = [
    "da14683",
    "da",
    "arm",
    "cortex-m",
    "renesas",
]
categories = [
    "embedded",
    "hardware-support",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nguyentri/da-pac"

[package.metadata.docs.rs]
features = [
    "all",
    "rt",
]

[features]
aes_hash = []
all = [
    "nvic",
    "scb",
    "systick",
    "aes_hash",
    "anamisc",
    "apu",
    "ble",
    "cache",
    "chip_version",
    "coex",
    "crg_per",
    "crg_top",
    "dcdc",
    "dem",
    "dma",
    "ecc",
    "ftdf",
    "gp_timers",
    "gpadc",
    "gpio",
    "gpreg",
    "i2c",
    "i2c2",
    "ir",
    "kbscan",
    "otpc",
    "qspic",
    "quad",
    "spi",
    "spi2",
    "timer1",
    "trng",
    "uart",
    "uart2",
    "usb",
    "wakeup",
    "wdog",
]
anamisc = []
apu = []
ble = []
cache = []
chip_version = []
coex = []
crg_per = []
crg_top = []
dcdc = []
dem = []
dma = []
ecc = []
ftdf = []
gp_timers = []
gpadc = []
gpio = []
gpreg = []
i2c = []
i2c2 = []
ir = []
kbscan = []
nvic = []
otpc = []
qspic = []
quad = []
rt = ["cortex-m-rt/device"]
scb = []
spi = []
spi2 = []
systick = []
timer1 = []
tracing = ["dep:phf"]
tracing_dummy = []
trng = []
uart = []
uart2 = []
usb = []
wakeup = []
wdog = []

[lib]
name = "da14683_pac"
path = "src/lib.rs"
test = false
bench = false

[dependencies.cortex-m]
version = "0.7.6"

[dependencies.cortex-m-rt]
version = "0.7"
optional = true

[dependencies.phf]
version = "0.12.1"
features = ["macros"]
optional = true
