forked from oxidecomputer/humility
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
187 lines (178 loc) · 6.8 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
[package]
name = "humility"
#
# If you are about to update the Humility version (and well you should!) note
# that there are a few tests that implicitly depend on it. Fortunately,
# trycmd makes it easy to update all of these at once; after changing the
# version, utter:
#
# TRYCMD_TEST="tests/cmd/*trycmd" TRYCMD=overwrite cargo test
#
# That will fail, but the files that result in the test failure should be
# overwritten with the new result -- and `git diff` should show something
# reasonable. A subsequent test run should succeed:
#
# TRYCMD_TEST="tests/cmd/*trycmd" cargo test
#
# Be sure to check in and push all of the files that change. Happy versioning!
#
version = "0.9.5"
authors = ["Bryan Cantrill <[email protected]>"]
edition = "2018"
license = "MPL-2.0"
[workspace]
members = [
"humility-core",
"humility-cmd",
"humility-arch-cortex",
"cmd/apptable",
"cmd/auxflash",
"cmd/dashboard",
"cmd/debugmailbox",
"cmd/diagnose",
"cmd/doc",
"cmd/dump",
"cmd/tofino-eeprom",
"cmd/etm",
"cmd/exec",
"cmd/extract",
"cmd/flash",
"cmd/gdb",
"cmd/gpio",
"cmd/halt",
"cmd/hash",
"cmd/hiffy",
"cmd/rpc",
"cmd/i2c",
"cmd/itm",
"cmd/jefe",
"cmd/lpc55gpio",
"cmd/manifest",
"cmd/map",
"cmd/monorail",
"cmd/net",
"cmd/openocd",
"cmd/pmbus",
"cmd/pmp",
"cmd/power",
"cmd/probe",
"cmd/qemu",
"cmd/qspi",
"cmd/readmem",
"cmd/readvar",
"cmd/registers",
"cmd/reset",
"cmd/resume",
"cmd/rencm",
"cmd/rendmp",
"cmd/repl",
"cmd/ringbuf",
"cmd/log",
"cmd/sensors",
"cmd/spctrl",
"cmd/spd",
"cmd/spi",
"cmd/stackmargin",
"cmd/stmsecure",
"cmd/tasks",
"cmd/test",
"cmd/trace",
"cmd/update",
"cmd/validate",
"cmd/vpd",
"xtask",
]
[profile.release]
debug = true
[profile.ci]
inherits = "dev"
debug = false # default true
[build-dependencies]
cargo_metadata = "0.12.0"
anyhow = "1.0.32"
[dependencies]
pmbus = { git = "https://github.com/oxidecomputer/pmbus" }
hif = { git = "https://github.com/oxidecomputer/hif" }
spd = { git = "https://github.com/oxidecomputer/spd" }
humility = { path = "./humility-core", package = "humility-core" }
humility-cortex = { path = "./humility-arch-cortex" }
humility-cmd = { path = "./humility-cmd" }
cmd-apptable = { path = "./cmd/apptable", package = "humility-cmd-apptable" }
cmd-auxflash = { path = "./cmd/auxflash", package = "humility-cmd-auxflash" }
cmd-dashboard = { path = "./cmd/dashboard", package = "humility-cmd-dashboard" }
cmd-diagnose = { path = "./cmd/diagnose", package = "humility-cmd-diagnose" }
cmd-debugmailbox = { path = "./cmd/debugmailbox", package = "humility-cmd-debugmailbox" }
cmd-doc = { path = "./cmd/doc", package = "humility-cmd-doc" }
cmd-dump = { path = "./cmd/dump", package = "humility-cmd-dump" }
cmd-tofino-eeprom = { path = "./cmd/tofino-eeprom", package = "humility-cmd-tofino-eeprom" }
cmd-etm = { path = "./cmd/etm", package = "humility-cmd-etm" }
cmd-exec = { path = "./cmd/exec", package = "humility-cmd-exec" }
cmd-extract = { path = "./cmd/extract", package = "humility-cmd-extract" }
cmd-flash = { path = "./cmd/flash", package = "humility-cmd-flash" }
cmd-gdb = { path = "./cmd/gdb", package = "humility-cmd-gdb" }
cmd-gpio = { path = "./cmd/gpio", package = "humility-cmd-gpio" }
cmd-halt = { path = "./cmd/halt", package = "humility-cmd-halt" }
cmd-hash = { path = "./cmd/hash", package = "humility-cmd-hash" }
cmd-hiffy = { path = "./cmd/hiffy", package = "humility-cmd-hiffy" }
cmd-i2c = { path = "./cmd/i2c", package = "humility-cmd-i2c" }
cmd-isp = { path = "./cmd/isp", package = "humility-cmd-isp" }
cmd-itm = { path = "./cmd/itm", package = "humility-cmd-itm" }
cmd-jefe = { path = "./cmd/jefe", package = "humility-cmd-jefe" }
cmd-lpc55gpio = { path = "./cmd/lpc55gpio", package = "humility-cmd-lpc55gpio" }
cmd-manifest = { path = "./cmd/manifest", package = "humility-cmd-manifest" }
cmd-map = { path = "./cmd/map", package = "humility-cmd-map" }
cmd-monorail = { path = "./cmd/monorail", package = "humility-cmd-monorail" }
cmd-net = { path = "./cmd/net", package = "humility-cmd-net" }
cmd-openocd = { path = "./cmd/openocd", package = "humility-cmd-openocd" }
cmd-pmbus = { path = "./cmd/pmbus", package = "humility-cmd-pmbus" }
cmd-pmp = { path = "./cmd/pmp", package = "humility-cmd-pmp" }
cmd-power = { path = "./cmd/power", package = "humility-cmd-power" }
cmd-probe = { path = "./cmd/probe", package = "humility-cmd-probe" }
cmd-qemu = { path = "./cmd/qemu", package = "humility-cmd-qemu" }
cmd-qspi = { path = "./cmd/qspi", package = "humility-cmd-qspi" }
cmd-readmem = { path = "./cmd/readmem", package = "humility-cmd-readmem" }
cmd-readvar = { path = "./cmd/readvar", package = "humility-cmd-readvar" }
cmd-registers = { path = "./cmd/registers", package = "humility-cmd-registers" }
cmd-reset = { path = "./cmd/reset", package = "humility-cmd-reset" }
cmd-resume = { path = "./cmd/resume", package = "humility-cmd-resume" }
cmd-rencm = { path = "./cmd/rencm", package = "humility-cmd-rencm" }
cmd-rendmp = { path = "./cmd/rendmp", package = "humility-cmd-rendmp" }
cmd-ringbuf = { path = "./cmd/ringbuf", package = "humility-cmd-ringbuf" }
cmd-log = { path = "./cmd/log", package = "humility-cmd-log" }
cmd-rpc = { path = "./cmd/rpc", package = "humility-cmd-rpc" }
cmd-sensors = { path = "./cmd/sensors", package = "humility-cmd-sensors" }
cmd-spctrl = { path = "./cmd/spctrl", package = "humility-cmd-spctrl" }
cmd-spd = { path = "./cmd/spd", package = "humility-cmd-spd" }
cmd-spi = { path = "./cmd/spi", package = "humility-cmd-spi" }
cmd-stackmargin = { path = "./cmd/stackmargin", package = "humility-cmd-stackmargin" }
cmd-stmsecure = { path = "./cmd/stmsecure", package = "humility-cmd-stmsecure" }
cmd-tasks = { path = "./cmd/tasks", package = "humility-cmd-tasks" }
cmd-test = { path = "./cmd/test", package = "humility-cmd-test" }
cmd-trace = { path = "./cmd/trace", package = "humility-cmd-trace" }
cmd-update = { path = "./cmd/update", package = "humility-cmd-update" }
cmd-validate = { path = "./cmd/validate", package = "humility-cmd-validate" }
cmd-vpd = { path = "./cmd/vpd", package = "humility-cmd-vpd" }
fallible-iterator = "0.2.0"
log = {version = "0.4.8", features = ["std"]}
env_logger = "0.9.0"
bitfield = "0.13.2"
clap = "3.0.12"
csv = "1.1.3"
serde = "1.0.126"
parse_int = "0.4.0"
multimap = "0.8.1"
num-traits = "0.2"
num-derive = "0.3"
jep106 = "0.2"
toml = "0.5"
anyhow = { version = "1.0.44", features = ["backtrace"] }
scroll = "0.10"
indicatif = "0.15"
colored = "2.0.0"
indexmap = { version = "1.7", features = ["serde-1"] }
reedline = "0.3.0"
[patch.crates-io]
libusb1-sys = { git = "https://github.com/rivosinc/rusb", branch = "dev/drew/static_lib_fix" }
hidapi = { git = "https://github.com/oxidecomputer/hidapi-rs", branch = "oxide-stable" }
[dev-dependencies]
trycmd = "0.13.2"