This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 107
/
Cargo.toml
74 lines (57 loc) · 2.25 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[package]
name = "rust-esp32-std-demo"
version = "0.30.1"
authors = ["ivmarkov"]
edition = "2021"
categories = ["embedded", "hardware-support"]
keywords = ["embedded", "svc", "idf", "esp-idf", "esp32"]
description = "A demo binary crate for the ESP32 and ESP-IDF, which connects to WiFi, Ethernet, drives a small HTTP server and draws on a LED screen"
repository = "https://github.com/ivmarkov/rust-esp32-std-demo"
license = "MIT OR Apache-2.0"
readme = "README.md"
[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 = []
# Enable this feature for the build to use the PlatformIO tooling instead of the native ESP-IDF tooling under the hood
pio = ["esp-idf-svc/pio"]
# Enable this feature if you are building for QEMU
qemu = []
# Enable this feature in case you have a Kaluga board and would like to see a LED screen demo
kaluga = []
# Enable this feature in case you have a TTGO board and would like to see a LED screen demo
ttgo = []
# Enable this feature in case you have an ESP32S3-USB-OTG board and would like to see a LED screen demo
heltec = []
# Enable this feature in case you have a generic SSD1306 Display connected via SPI to pins 3, 4, 5, 16, 18, 23 (SPI3) of your board
ssd1306g_spi = []
# Enable this feature in case you have a generic SSD1306 screen connected to pins 14, 22 and 21 of your board
ssd1306g = []
esp32s3_usb_otg = []
# Enable this feature in case you have a Waveshare board and 4.2" e-paper
waveshare_epd = []
# Enable this feature in case you have an RMII IP101 Ethernet adapter
ip101 = []
# Enable this feature in case you have an SPI W5500 Ethernet adapter
w5500 = []
[dependencies]
anyhow = {version = "1", features = ["backtrace"]}
log = "0.4"
url = "2"
esp-idf-svc = "0.48"
embedded-graphics = "0.7"
display-interface = "0.4"
display-interface-spi = "0.4"
mipidsi = "0.5"
ssd1306 = "0.7"
epd-waveshare = "0.5.0"
async-io = "2"
async-executor = "1"
futures-lite = "1"
[build-dependencies]
embuild = { version = "0.31.3", features = ["elf"] }
# Future; might be possible once https://github.com/rust-lang/cargo/issues/9096 hits Cargo nightly:
#rust-esp32-ulp-blink = { git = "https://github.com/ivmarkov/rust-esp32-ulp-blink", artifact = "bin" }