39 lines
1 KiB
TOML
39 lines
1 KiB
TOML
[package]
|
|
edition = "2024"
|
|
name = "esp32-cits-core"
|
|
rust-version = "1.88"
|
|
version = "0.1.0"
|
|
|
|
[features]
|
|
default = ["esp32c5"]
|
|
|
|
esp32c5 = ["dep:esp-radio", "dep:esp-hal"]
|
|
std = ["c-its-parser/std"]
|
|
# Enable logging output using version 0.4 of the log crate.
|
|
log-04 = ["esp-radio/log-04", "esp-hal/log-04"]
|
|
# Enable logging output using defmt and implement `defmt::Format` on certain types.
|
|
defmt = ["esp-radio/defmt", "esp-hal/defmt"]
|
|
|
|
|
|
[dependencies]
|
|
c-its-parser = { version = "2.4.1", default-features = false, features = [
|
|
"time",
|
|
"geo",
|
|
"libm",
|
|
"transport",
|
|
"extensions",
|
|
] }
|
|
chrono = { version = "0.4.44", default-features = false, features = ["alloc"] }
|
|
esp-hal = { version = "~1.1.0", optional = true, features = ["esp32c5", "unstable"] }
|
|
esp-radio = { version = "0.18.0", optional = true, features = [
|
|
"esp-alloc",
|
|
"esp32c5",
|
|
"unstable",
|
|
"wifi",
|
|
"sniffer",
|
|
] }
|
|
geo-types = { version = "0.7.19", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
assert_float_eq = "1.2.0"
|
|
env_logger = "0.11.10"
|