cardputer-adv 0.3.0

Board support for the M5Stack Cardputer ADV (ESP32-S3) on esp-hal: display, keyboard, motion sensor, speaker, microphone, RGB LED, IR, microSD, backlight and battery
# 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.95"
name = "cardputer-adv"
version = "0.3.0"
build = false
include = [
    "src/**",
    "README.md",
    "CHANGELOG.md",
    "LICENSE-APACHE",
    "LICENSE-MIT",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Board support for the M5Stack Cardputer ADV (ESP32-S3) on esp-hal: display, keyboard, motion sensor, speaker, microphone, RGB LED, IR, microSD, backlight and battery"
documentation = "https://tszarzynski.github.io/cardputer-adv/"
readme = "README.md"
keywords = [
    "cardputer",
    "m5stack",
    "esp32s3",
    "esp-hal",
    "no-std",
]
categories = [
    "embedded",
    "hardware-support",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tszarzynski/cardputer-adv"

[features]
defmt = ["dep:defmt"]
sd-card = ["dep:embedded-sdmmc"]

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

[dependencies.bmi2]
version = "0.1.2"

[dependencies.bytemuck]
version = "1.24"

[dependencies.cardputer-adv-keyboard]
version = "0.2.6"

[dependencies.critical-section]
version = "1.2"

[dependencies.defmt]
version = "1.1"
optional = true

[dependencies.embassy-futures]
version = "0.1.2"

[dependencies.embassy-time]
version = "0.5.1"

[dependencies.embedded-graphics-core]
version = "0.4"

[dependencies.embedded-hal]
version = "1.0"

[dependencies.embedded-hal-bus]
version = "0.3"

[dependencies.embedded-sdmmc]
version = "0.10"
optional = true
default-features = false

[dependencies.esp-hal]
version = "~1.2.2"
features = [
    "esp32s3",
    "unstable",
]

[dependencies.mipidsi]
version = "0.10"

[dependencies.static_cell]
version = "2.1.1"

[dev-dependencies.embassy-executor]
version = "0.10.0"

[dev-dependencies.embassy-sync]
version = "0.8"

[dev-dependencies.embedded-graphics]
version = "0.8.2"

[dev-dependencies.esp-backtrace]
version = "0.20.0"
features = [
    "esp32s3",
    "panic-handler",
    "println",
]

[dev-dependencies.esp-bootloader-esp-idf]
version = "0.6.0"
features = [
    "esp32s3",
    "log-04",
]

[dev-dependencies.esp-println]
version = "0.18.0"
features = [
    "esp32s3",
    "log-04",
]

[dev-dependencies.esp-rtos]
version = "0.4.0"
features = [
    "embassy",
    "esp32s3",
    "log-04",
]

[dev-dependencies.log]
version = "0.4.27"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"

[profile.release]
debug = 2