0
0
Fork 0

initial commit

This commit is contained in:
Jannik Beyerstedt 2026-07-31 15:51:10 +02:00
commit 72762ca558
11 changed files with 796 additions and 0 deletions

39
Cargo.toml Normal file
View file

@ -0,0 +1,39 @@
[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"