forked from esp-rs/esp-idf-sys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (37 loc) · 1.26 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
[package]
name = "esp-idf-sys"
version = "0.31.9"
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/"
[features]
default = ["std", "native"]
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-dependencies]
embuild = { version = "0.30.3", features = ["glob", "kconfig"] }
anyhow = "1"
regex = "1.5"
bindgen = "0.60"
cargo_metadata = "0.15"
serde = { version = "1.0", features = ["derive"] }
strum = { version = "0.24", features = ["derive"] }
envy = "0.4.2"