11[package ]
2- name = " esp-hal"
3- version = " 1.0.0-beta.1"
4- edition = " 2024"
5- rust-version = " 1.88.0"
6- description = " Bare-metal HAL for Espressif devices"
2+ name = " esp-hal"
3+ version = " 1.0.0-beta.1"
4+ edition = " 2024"
5+ rust-version = " 1.88.0"
6+ description = " Bare-metal HAL for Espressif devices"
77documentation = " https://docs.espressif.com/projects/rust/esp-hal/latest/"
8- keywords = [" embedded" , " embedded-hal" , " esp32" , " espressif" , " hal" ]
9- categories = [" embedded" , " hardware-support" , " no-std" ]
10- repository = " https://github.com/esp-rs/esp-hal"
11- license = " MIT OR Apache-2.0"
12- exclude = [" api-baseline" , " MIGRATING-*" , " CHANGELOG.md" ]
8+ keywords = [" embedded" , " embedded-hal" , " esp32" , " espressif" , " hal" ]
9+ categories = [" embedded" , " hardware-support" , " no-std" ]
10+ repository = " https://github.com/esp-rs/esp-hal"
11+ license = " MIT OR Apache-2.0"
12+ exclude = [ " api-baseline" , " MIGRATING-*" , " CHANGELOG.md" ]
1313
1414[package .metadata .docs .rs ]
1515default-target = " riscv32imac-unknown-none-elf"
16- features = [" esp32c6" , " unstable" ]
17- rustdoc-args = [" --cfg" , " docsrs" ]
16+ features = [" esp32c6" , " unstable" ]
17+ rustdoc-args = [" --cfg" , " docsrs" ]
1818
1919[lib ]
2020bench = false
21- test = false
21+ test = false
2222
2323[dependencies ]
24- bitflags = " 2.9.0"
25- bytemuck = " 1.22.0"
26- cfg-if = " 1.0.0"
27- critical-section = { version = " 1.2.0" , features = [" restore-state-u32" ] }
28- embedded-hal = " 1.0.0"
29- embedded-hal-async = " 1.0.0"
30- enumset = " 1.1.6"
31- paste = " 1.0.15"
32- portable-atomic = { version = " 1.11.0" , default-features = false }
33-
34- esp-rom-sys = { version = " 0.1.0" , path = " ../esp-rom-sys" }
24+ bitflags = " 2.9.0"
25+ bytemuck = " 1.22.0"
26+ cfg-if = " 1.0.0"
27+ critical-section = { version = " 1.2.0" , features = [" restore-state-u32" ] }
28+ embedded-hal = " 1.0.0"
29+ embedded-hal-async = " 1.0.0"
30+ enumset = " 1.1.6"
31+ paste = " 1.0.15"
32+ portable-atomic = { version = " 1.11.0" , default-features = false }
33+
34+ esp-rom-sys = { version = " 0.1.0" , path = " ../esp-rom-sys" }
3535
3636# Unstable dependencies that are not (strictly) part of the public API
37- bitfield = " 0.19.0"
38- delegate = " 0.13.3"
39- document-features = " 0.2.11"
40- embassy-futures = " 0.1.1"
41- embassy-sync = " 0.6.2"
42- fugit = " 0.3.7"
43- instability = " 0.3.7"
44- strum = { version = " 0.27.1" , default-features = false , features = [" derive" ] }
45-
46- esp-config = { version = " 0.4.0" , path = " ../esp-config" }
47- esp-metadata-generated = { version = " 0.0.1" , path = " ../esp-metadata-generated" }
48- procmacros = { version = " 0.18.0" , package = " esp-hal-procmacros" , path = " ../esp-hal-procmacros" }
37+ bitfield = " 0.19.0"
38+ delegate = " 0.13.3"
39+ document-features = " 0.2.11"
40+ embassy-futures = " 0.1.1"
41+ embassy-sync = " 0.6.2"
42+ fugit = " 0.3.7"
43+ instability = " 0.3.7"
44+ strum = { version = " 0.27.1" , default-features = false , features = [" derive" ] }
45+
46+ esp-config = { version = " 0.4.0" , path = " ../esp-config" }
47+ esp-metadata-generated = { version = " 0.0.1" , path = " ../esp-metadata-generated" }
48+ procmacros = { version = " 0.18.0" , package = " esp-hal-procmacros" , path = " ../esp-hal-procmacros" }
4949
5050# Dependencies that are optional because they are used by unstable drivers.
5151# They are needed when using the `unstable` feature.
52- digest = { version = " 0.10.7" , default-features = false , optional = true }
53- embassy-usb-driver = { version = " 0.1.0" , optional = true }
52+ digest = { version = " 0.10.7" , default-features = false , optional = true }
53+ embassy-usb-driver = { version = " 0.1.0" , optional = true }
5454embassy-usb-synopsys-otg = { version = " 0.2.0" , optional = true }
55- embedded-can = { version = " 0.4.1" , optional = true }
56- esp-synopsys-usb-otg = { version = " 0.4.2" , optional = true }
57- nb = { version = " 1.1.0" , optional = true }
55+ embedded-can = { version = " 0.4.1" , optional = true }
56+ esp-synopsys-usb-otg = { version = " 0.4.2" , optional = true }
57+ nb = { version = " 1.1.0" , optional = true }
5858
5959# Logging interfaces, they are mutually exclusive so they need to be behind separate features.
60- defmt = { version = " 1.0.1" , optional = true }
61- log-04 = { package = " log" , version = " 0.4.27" , optional = true }
60+ defmt = { version = " 1.0.1" , optional = true }
61+ log-04 = { package = " log" , version = " 0.4.27" , optional = true }
6262
6363# Optional dependencies that enable ecosystem support.
6464# We could support individually enabling them, but there is no big downside to just
6565# enabling them all via the `unstable` feature.
66- embassy-embedded-hal = { version = " 0.3.0" , optional = true }
67- embedded-io = { version = " 0.6.1" , optional = true }
68- embedded-io-async = { version = " 0.6.1" , optional = true }
69- rand_core-06 = { package = " rand_core" , version = " 0.6.4" , optional = true }
70- rand_core-09 = { package = " rand_core" , version = " 0.9.0" , optional = true }
71- ufmt-write = { version = " 0.1.0" , optional = true }
66+ embassy-embedded-hal = { version = " 0.3.0" , optional = true }
67+ embedded-io = { version = " 0.6.1" , optional = true }
68+ embedded-io-async = { version = " 0.6.1" , optional = true }
69+ rand_core-06 = { package = " rand_core" , version = " 0.6.4" , optional = true }
70+ rand_core-09 = { package = " rand_core" , version = " 0.9.0" , optional = true }
71+ ufmt-write = { version = " 0.1.0" , optional = true }
7272
7373# IMPORTANT:
7474# Each supported device MUST have its PAC included below along with a
7575# corresponding feature.
76- esp32 = { version = " 0.38.0" , features = [
77- " critical-section" ,
78- " rt" ,
79- ], optional = true }
80- esp32c2 = { version = " 0.27.0" , features = [
81- " critical-section" ,
82- " rt" ,
83- ], optional = true }
84- esp32c3 = { version = " 0.30.0" , features = [
85- " critical-section" ,
86- " rt" ,
87- ], optional = true }
88- esp32c6 = { version = " 0.21.0" , features = [
89- " critical-section" ,
90- " rt" ,
91- ], optional = true }
92- esp32h2 = { version = " 0.17.0" , features = [
93- " critical-section" ,
94- " rt" ,
95- ], optional = true }
96- esp32s2 = { path = " ../../esp-pacs/esp32s2" , features = [
97- " critical-section" ,
98- " rt" ,
99- ], optional = true }
100- esp32s3 = { version = " 0.33.0" , features = [
101- " critical-section" ,
102- " rt" ,
103- ], optional = true }
76+ esp32 = { version = " 0.38.0" , features = [" critical-section" , " rt" ], optional = true }
77+ esp32c2 = { version = " 0.27.0" , features = [" critical-section" , " rt" ], optional = true }
78+ esp32c3 = { version = " 0.30.0" , features = [" critical-section" , " rt" ], optional = true }
79+ esp32c6 = { version = " 0.21.0" , features = [" critical-section" , " rt" ], optional = true }
80+ esp32h2 = { version = " 0.17.0" , features = [" critical-section" , " rt" ], optional = true }
81+ esp32s2 = { version = " 0.29.0" , features = [" critical-section" , " rt" ], optional = true }
82+ esp32s3 = { version = " 0.33.0" , features = [" critical-section" , " rt" ], optional = true }
10483
10584[target .'cfg(target_arch = "riscv32")' .dependencies ]
106- riscv = { version = " 0.12.1" }
107- esp-riscv-rt = { version = " 0.11.0" , path = " ../esp-riscv-rt" , optional = true }
85+ riscv = { version = " 0.12.1" }
86+ esp-riscv-rt = { version = " 0.11.0" , path = " ../esp-riscv-rt" , optional = true }
10887
10988[target .'cfg(target_arch = "xtensa")' .dependencies ]
110- xtensa-lx = { version = " 0.11.0" , path = " ../xtensa-lx" }
111- xtensa-lx-rt = { version = " 0.19.0" , path = " ../xtensa-lx-rt" , optional = true }
89+ xtensa-lx = { version = " 0.11.0" , path = " ../xtensa-lx" }
90+ xtensa-lx-rt = { version = " 0.19.0" , path = " ../xtensa-lx-rt" , optional = true }
11291
11392[build-dependencies ]
114- cfg-if = " 1.0.0"
115- esp-metadata-generated = { version = " 0.0.1" , path = " ../esp-metadata-generated" , features = [
116- " build-script" ,
117- ] }
118- esp-config = { version = " 0.4.0" , path = " ../esp-config" , features = [" build" ] }
119- serde = { version = " 1.0.219" , default-features = false , features = [" derive" ] }
93+ cfg-if = " 1.0.0"
94+ esp-metadata-generated = { version = " 0.0.1" , path = " ../esp-metadata-generated" , features = [" build-script" ] }
95+ esp-config = { version = " 0.4.0" , path = " ../esp-config" , features = [" build" ] }
96+ serde = { version = " 1.0.219" , default-features = false , features = [" derive" ] }
12097
12198[dev-dependencies ]
12299jiff = { version = " 0.2.10" , default-features = false , features = [" static" ] }
@@ -141,7 +118,7 @@ __usb_otg = [
141118
142119# Chip Support Feature Flags
143120# Target the ESP32.
144- esp32 = [
121+ esp32 = [
145122 " dep:esp32" ,
146123 " procmacros/rtc-slow" ,
147124 " esp-rom-sys/esp32" ,
@@ -270,6 +247,4 @@ requires-unstable = []
270247mixed_attributes_style = " allow"
271248
272249[lints .rust ]
273- unexpected_cfgs = { level = " warn" , check-cfg = [
274- ' cfg(host_os, values("windows"))' ,
275- ] }
250+ unexpected_cfgs = { level = " warn" , check-cfg = [' cfg(host_os, values("windows"))' ] }
0 commit comments