Cargo.toml: remove unnecessary dependencies
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
This commit is contained in:
@@ -1,24 +1,15 @@
|
||||
[package]
|
||||
name = "lp-core"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
rust-version = "1.84.0"
|
||||
description = "Firmware for esp32-c6's low power core"
|
||||
keywords = ["embedded", "embedded-hal", "esp32", "espressif", "hal"]
|
||||
categories = ["embedded", "hardware-support", "no-std"]
|
||||
edition = "2024"
|
||||
license = "MIT OR Apache-2.0"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
cfg-if = "1.0.0"
|
||||
document-features = "0.2.10"
|
||||
esp-lp-hal = { version = "0.1.0", features = ["esp32c6"] }
|
||||
embedded-hal = { version = "1.0.0" }
|
||||
embedded-hal-nb = { version = "1.0.0", optional = true }
|
||||
embedded-io = { version = "0.6.1", optional = true }
|
||||
esp32c6-lp = { version = "0.3.0", features = ["critical-section"], optional = true }
|
||||
nb = { version = "1.1.0", optional = true }
|
||||
procmacros = { version = "0.16.0", package = "esp-hal-procmacros" }
|
||||
riscv = { version = "0.11.1", features = ["critical-section-single-hart"] }
|
||||
panic-halt = "0.2.0"
|
||||
|
||||
[build-dependencies]
|
||||
@@ -27,19 +18,4 @@ esp-build = { version = "0.2.0" }
|
||||
[features]
|
||||
default = ["esp32c6"]
|
||||
|
||||
## Enable debug features in the HAL (used for development).
|
||||
debug = [
|
||||
"esp32c6-lp?/impl-register-debug",
|
||||
]
|
||||
|
||||
# Chip Support Feature Flags
|
||||
# Target the ESP32-C6.
|
||||
esp32c6 = ["dep:esp32c6-lp", "procmacros/is-lp-core", "dep:nb"]
|
||||
# embedded-hal = ["dep:embedded-hal"]
|
||||
|
||||
#! ### Trait Implementation Feature Flags
|
||||
## Implement the traits defined in the `1.0.0` releases of `embedded-hal` and
|
||||
## `embedded-hal-nb` for the relevant peripherals.
|
||||
# embedded-hal = ["dep:embedded-hal", "dep:embedded-hal-nb"]
|
||||
## Implement the traits defined in `embedded-io` for the relevant peripherals.
|
||||
# embedded-io = ["dep:embedded-io"]
|
||||
esp32c6 = ["dep:esp32c6-lp", "procmacros/is-lp-core"]
|
||||
|
Reference in New Issue
Block a user