-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
54 lines (46 loc) · 1.63 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
47
48
49
50
51
52
53
54
[package]
name = "esparrier"
version = "0.1.0"
authors = ["Chen Xu <[email protected]>"]
edition = "2021"
resolver = "2"
[profile.release]
opt-level = "s"
[profile.dev]
debug = true # Symbols are nice and they don't increase the size on Flash
opt-level = "z"
[features]
default = [ "m5atoms3lite", "watchdog" ]
m5atoms3lite = ["smart-leds", "ws2812-esp32-rmt-driver", "paste"]
m5atoms3 = ["embedded-graphics", "mipidsi", "display-interface-spi", "paste"]
paste = []
watchdog = ["enumset"]
[dependencies]
const_env = "0.1"
anyhow = {version = "1", features = ["backtrace"]}
thiserror = "1.0"
log = "0.4"
lazy_static = "1.4"
enumset = { version = "1", optional = true }
esp-idf-sys = { version = "0.33", features = ["binstart"] }
esp-idf-svc = { version = "0.47", features = [] }
esp-idf-hal = "0.42"
embedded-svc = { version = "0.26", features = [] }
embedded-hal = "0.2"
smart-leds = { version = "0.3", optional = true }
ws2812-esp32-rmt-driver = { version = "0.6", optional = true }
embedded-graphics = { version = "0.8", optional = true }
mipidsi = { version = "0.7", optional = true }
display-interface-spi = { version = "0.4", optional = true }
[build-dependencies]
embuild = "0.31.1"
anyhow = "1"
[[package.metadata.esp-idf-sys.extra_components]]
component_dirs = ["usb_util"]
# The bindgen is not usable until there is a new release of esp-idf-sys
# @see https://github.com/esp-rs/esp-idf-sys/issues/180
# bindings_header = "usb_util/usb_util.h"
# bindings_module = "usb_util"
[package.metadata.espflash]
partition_table = "partitions.csv" # Supports CSV and binary formats
# format = "direct-boot" # Can be 'esp-bootloader' or 'direct-boot'