-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCargo.toml
More file actions
51 lines (43 loc) · 1.39 KB
/
Cargo.toml
File metadata and controls
51 lines (43 loc) · 1.39 KB
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
[package]
name = "esp32-wifi-bridge"
version = "0.1.0"
authors = ["Owen Walpole <owen@walpole.dev>"]
edition = "2021"
description = "Wi-Fi to Ethernet bridge targeting the ESP32."
homepage = "https://github.com/owenthewizard/esp32-wifi-bridge"
repository = "https://github.com/owenthewizard/esp32-wifi-bridge"
license = "GPL-3.0-or-later"
keywords = ["esp32", "embedded", "binary"]
categories = ["embedded"]
resolver = "2"
[[bin]]
name = "esp32-wifi-bridge"
harness = false
[profile.release]
opt-level = 3
lto = "fat"
strip = true
codegen-units = 1
[profile.dev]
# Symbols are nice and they don't increase the size on Flash
debug = true
opt-level = "z"
[features]
default = ["std", "embassy", "esp-idf-svc/native"]
pio = ["esp-idf-svc/pio"]
std = ["alloc", "esp-idf-svc/binstart", "esp-idf-svc/std"]
alloc = ["esp-idf-svc/alloc"]
nightly = ["esp-idf-svc/nightly"]
experimental = ["esp-idf-svc/experimental"]
embassy = ["esp-idf-svc/embassy-sync", "esp-idf-svc/critical-section", "esp-idf-svc/embassy-time-driver"]
# remove once git is removed below
[patch.crates-io]
embedded-svc = { git = "https://github.com/esp-rs/embedded-svc.git" }
[dependencies]
log = { version = "0.4", default-features = false, features = ["release_max_level_off"] }
# min binary size
#log = { version = "0.4", default-features = false, features = ["max_level_off"] }
esp-idf-svc = "0.50"
once_cell = "1"
[build-dependencies]
embuild = "0.33"