-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
53 lines (45 loc) · 1.13 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
[package]
name = "std-esp32-proxy"
version = "0.1.0"
authors = ["Bogdan Mircea <[email protected]>"]
edition = "2021"
resolver = "2"
rust-version = "1.66"
[profile.release]
opt-level = 3
strip = "symbols"
[profile.dev]
debug = true # Symbols are nice and they don't increase the size on Flash
opt-level = "z"
[features]
default = ["std"]
std = [
"alloc",
"anyhow/std",
"log/std",
"esp-idf-sys/std",
"esp-idf-hal/std",
"embedded-svc/std",
]
alloc = ["esp-idf-hal/alloc", "embedded-svc/alloc"]
[dependencies]
anyhow = { version = "1", features = ["backtrace"] }
log = "0.4"
url = "2"
esp-idf-sys = { version = "0.33", features = ["binstart"] }
esp-idf-svc = "0.46"
esp-idf-hal = "0.41"
embedded-svc = "0.25"
embedded-hal = "0.2"
smol = "1.2"
async-io = "=1.12"
atoi = "2.0.0"
embassy-futures = "0.1.0"
once_cell = "1.18.0"
[build-dependencies]
embuild = { version = "0.31.2", features = ["elf"] }
anyhow = "1"
[patch.crates-io]
smol = { git = "https://github.com/esp-rs-compat/smol" }
polling = { git = "https://github.com/esp-rs-compat/polling" }
socket2 = { git = "https://github.com/esp-rs-compat/socket2" }