-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (51 loc) · 1.97 KB
/
Cargo.toml
File metadata and controls
55 lines (51 loc) · 1.97 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
52
53
54
55
[package]
name = "ffmn_nostd_ble"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
[dependencies]
bleps = { git = "https://github.com/bjoernQ/bleps", package = "bleps", rev = "a5148d8ae679e021b78f53fd33afb8bb35d0b62e", features = [ "macros", "async"] }
either = { version = "1.13.0", default-features = false }
embassy-executor = { version = "0.6.0", features = ["nightly", "executor-thread", "executor-interrupt"] }
embassy-sync = "0.6.0"
embassy-time = { version = "0.3.2", features = ["generic-queue"] }
embedded-io-async = "0.6.1"
esp-alloc = "0.5.0"
esp-backtrace = { version = "0.14.0", features = [
"esp32",
"exception-handler",
"panic-handler",
"println",
] }
esp-hal = { version = "0.21.0", features = ["esp32", "log"] }
esp-hal-embassy = { version = "0.4.0", features = ["esp32", "log"] }
esp-println = { version = "0.12.0", features = ["esp32", "log"] }
esp-wifi = { version = "0.10.1", features = ["esp32",
"embassy-net", "async",
"ble",
"log"
] }
futures-lite = { version = "2.4.0", default-features = false, features = ["race"] }
heapless = "0.8.0"
log = { version = "0.4.21" }
rand = { version = "0.8.5", default-features = false, features = ["small_rng"] }
scroll = { version = "0.12.0", default-features = false, features = ["derive"]}
static_cell = "2.1.0"
[patch.crates-io]
# change back to regular release after <https://github.com/embassy-rs/embassy/pull/3198> is included
embassy-net = { git = "https://github.com/embassy-rs/embassy" }
embassy-net-driver = { git = "https://github.com/embassy-rs/embassy" }
embassy-time = { git = "https://github.com/embassy-rs/embassy" }
embassy-time-driver = { git = "https://github.com/embassy-rs/embassy" }
[profile.dev]
opt-level = "s"
# esp_wifi is broken with overflow-checks
overflow-checks = false
[profile.release]
codegen-units = 1 # LLVM can perform better optimizations using a single thread
debug = 2
debug-assertions = false
incremental = false
lto = 'fat'
opt-level = "z"
overflow-checks = false