-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
55 lines (48 loc) · 1.6 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
[package]
authors = ["Mathias Fiedler"]
edition = "2018"
license = "MIT"
name = "planthub"
version = "0.1.0"
[dependencies]
arrayvec = {version = "0.7.0", default-features = false}
cortex-m = "0.7.2"
cortex-m-rt = "0.6.13"
defmt = "0.2.1"
defmt-rtt = "0.2.0"
embassy = {version = "0.1.0", features = ["defmt"]}
embassy-extras = {version = "0.1.0"}
embassy-nrf = {version = "0.1.0", features = ["defmt", "nrf52832"]}
embassy-traits = {version = "0.1.0", features = ["defmt"]}
futures = {version = "0.3.15", default-features = false}
futures-intrusive = {version = "0.4.0", default-features = false}
futures-util = {version = "0.3.15", default-features = false}
panic-probe = "0.2.0"
[dependencies.nrf52832-hal]
default-features = false
features = ["xxAA-package", "rt"]
version = "0.12.1"
[dependencies.nrf-softdevice]
features = ["nrf52832", "s112", "defmt", "defmt-trace", "ble-peripheral", "ble-gatt-server", "critical-section-impl"]
version = "0.1.0"
[patch.crates-io]
embassy = {git = "https://github.com/embassy-rs/embassy"}
embassy-extras = {git = "https://github.com/embassy-rs/embassy"}
embassy-nrf = {git = "https://github.com/embassy-rs/embassy"}
embassy-traits = {git = "https://github.com/embassy-rs/embassy"}
nrf-softdevice = {git = "https://github.com/akiles/nrf-softdevice/"}
[features]
default = ["defmt-default", "nrf52832"]
defmt-debug = []
defmt-default = []
defmt-error = []
defmt-info = []
defmt-trace = []
defmt-warn = []
nrf52832 = []
[[bin]]
bench = false
name = "planthub"
test = false
[profile.release]
debug = 1 # default is `false`; using `true` is also OK as symbols reside on the host, not the target