forked from esp-rs/esp-idf-sys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
46 lines (41 loc) · 1.39 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "esp-idf-sys"
version = "0.33.2"
authors = ["Alexey Arbuzov <[email protected]>", "sapir <[email protected]>", "Ivan Markov <[email protected]>", "Dominik Gschwind <[email protected]>"]
edition = "2021"
resolver = "2"
categories = ["embedded", "hardware-support"]
keywords = ["sys", "idf", "esp-idf", "esp32"]
description = "Bindings for ESP-IDF (Espressif's IoT Development Framework)"
repository = "https://github.com/esp-rs/esp-idf-sys"
license = "MIT OR Apache-2.0"
readme = "README.md"
links = "esp_idf"
build = "build/build.rs"
documentation = "https://esp-rs.github.io/esp-idf-sys/"
rust-version = "1.66"
[features]
default = ["std", "native", "binstart"]
std = []
alloc_handler = []
panic_handler = []
binstart = []
libstart = []
# Use native `esp-idf` tooling to build the `esp-idf`
native = ["embuild/cmake", "embuild/espidf"]
# Backup: use `platformio` to build the `esp-idf`
pio = ["embuild/pio"]
[dependencies]
libc = "0.2" # Only to check if the rustc flag `-cfg espidf_time64` is properly defined
build-time = "0.1" # For esp_app_desc!()
const_format = "0.2" # For esp_app_desc!()
[build-dependencies]
embuild = { version = "0.31.3", features = ["glob", "kconfig"] }
anyhow = "1"
regex = "1.5"
bindgen = "0.63"
cargo_metadata = "0.15"
serde = { version = "1.0", features = ["derive"] }
strum = { version = "0.24", features = ["derive"] }
envy = "0.4.2"
which = "4.4"