-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
102 lines (93 loc) · 3.36 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[workspace]
members = [
".",
"example",
]
[package]
name = "farcri"
version = "0.1.0"
authors = ["yvt <i@yvt.jp>"]
edition = "2018"
[dependencies]
arg_enum_proc_macro = { version = "0.3.0", optional = true }
panic-rtt-target = { version = "0.1.0", optional = true, features = ["cortex-m"] }
stm32f4xx-hal = { version = "0.8.3", optional = true, features = ["rt"] }
futures-core = { version = "0.3.5", optional = true }
probe-rs-rtt = { version = "0.3.0", optional = true }
cortex-m-rt = { version = "0.6.12", optional = true, features = ["device"] }
lazy_static = { version = "1.4.0", optional = true }
env_logger = { version = "0.8.1", optional = true }
rtt-target = { version = "0.2.0", optional = true, features = ["cortex-m"] }
serde_cbor = { version = "0.11.1", default-features = false }
thiserror = { version = "1.0.20", optional = true }
tokenlock = { version = "0.3.4", default-features = false }
arrayvec = { version = "0.7.0", default-features = false }
cortex-m = { version = "0.7.2", optional = true }
probe-rs = { version = "0.8.0", optional = true }
futures = { version = "0.3.14", optional = true }
tempdir = { version = "0.3.7", optional = true }
anyhow = { version = "1.0.32", optional = true }
serde = { version = "1.0.125", default-features = false, features = ["derive"] }
clap = { version = "3.0.0-beta.2", optional = true, features = ["wrap_help"] }
cryo = { version = "0.2.2", default-features = false }
rand = { version = "0.8.3", optional = true }
log = { version = "0.4.11" }
[dependencies.serde-json-core]
# Waiting for v0.3.0...
git = "https://github.com/rust-embedded-community/serde-json-core.git"
rev = "da460d123e217f0e822a3977eb2170ed5d279d5e"
[dependencies.goblin]
version = "0.2.3"
default-features = false
features = ["std", "elf32"]
optional = true
[dependencies.tokio]
version = "0.2.21"
features = [
"process", "macros", "time", "io-util", "io-std", "fs", "blocking", "sync",
"net",
]
optional = true
[features]
role_proxy = [
"arg_enum_proc_macro",
"serde-json-core/std",
"serde_cbor/std",
"futures-core",
"probe-rs-rtt",
"lazy_static",
"env_logger",
"thiserror",
"probe-rs",
"futures",
"tempdir",
"anyhow",
"goblin",
"tokio",
"clap",
"rand",
]
role_target = []
# -------------------------------------------------------------------
# Forwarded to dependencies
max_level_off = ["log/max_level_off"]
max_level_error = ["log/max_level_error"]
max_level_warn = ["log/max_level_warn"]
max_level_info = ["log/max_level_info"]
max_level_debug = ["log/max_level_debug"]
max_level_trace = ["log/max_level_trace"]
# -------------------------------------------------------------------
# Miscellaneous targets
target_std = [
"lazy_static",
]
# -------------------------------------------------------------------
# Cortex-M targets
target_nucleo_f401re = [
"stm32f4xx-hal/stm32f401",
"panic-rtt-target",
"stm32f4xx-hal",
"cortex-m-rt",
"rtt-target",
"cortex-m",
]