2017-01-10 01:41:35 +08:00
|
|
|
[package]
|
|
|
|
name = "bootsim"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["David Brown <davidb@davidb.org>"]
|
|
|
|
|
2017-07-13 00:14:47 +08:00
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
|
|
|
|
sig-rsa = ["mcuboot-sys/sig-rsa"]
|
2017-12-05 18:48:34 +08:00
|
|
|
sig-ecdsa = ["mcuboot-sys/sig-ecdsa"]
|
2017-09-14 04:18:36 +08:00
|
|
|
overwrite-only = ["mcuboot-sys/overwrite-only"]
|
2017-11-24 02:28:25 +08:00
|
|
|
validate-slot0 = ["mcuboot-sys/validate-slot0"]
|
2018-09-18 20:04:18 +08:00
|
|
|
enc-rsa = ["mcuboot-sys/enc-rsa"]
|
|
|
|
enc-kw = ["mcuboot-sys/enc-kw"]
|
2018-12-19 03:21:51 +08:00
|
|
|
bootstrap = ["mcuboot-sys/bootstrap"]
|
2017-07-13 00:14:47 +08:00
|
|
|
|
2017-01-10 01:41:35 +08:00
|
|
|
[dependencies]
|
|
|
|
libc = "0.2.0"
|
|
|
|
rand = "0.3.0"
|
2017-07-13 06:08:22 +08:00
|
|
|
docopt = "0.8"
|
|
|
|
serde = "1.0"
|
|
|
|
serde_derive = "1.0"
|
2017-01-10 03:15:05 +08:00
|
|
|
log = "0.3"
|
2017-07-13 05:52:42 +08:00
|
|
|
env_logger = "0.4"
|
2017-07-07 04:18:58 +08:00
|
|
|
simflash = { path = "simflash" }
|
2017-07-13 00:14:47 +08:00
|
|
|
mcuboot-sys = { path = "mcuboot-sys" }
|
2017-12-05 18:48:34 +08:00
|
|
|
ring = { version = "0.12.1", features = ["rsa_signing"] }
|
2017-07-12 03:24:25 +08:00
|
|
|
untrusted = "0.5"
|
2018-07-10 22:00:28 +08:00
|
|
|
pem = "0.5"
|
2018-09-18 20:04:18 +08:00
|
|
|
aes-ctr = "0.1.0"
|
|
|
|
base64 = "0.9.2"
|
2017-01-10 01:41:35 +08:00
|
|
|
|
2017-11-03 05:39:21 +08:00
|
|
|
# The simulator runs very slowly without optimization. A value of 1
|
|
|
|
# compiles in about half the time, but runs about 5-6 times slower. 2
|
|
|
|
# and 3 are hardly different in either compile time or performance.
|
|
|
|
# Use 2 in case that makes the code slightly more debuggable.
|
2017-01-10 01:41:35 +08:00
|
|
|
[profile.test]
|
2017-11-03 05:39:21 +08:00
|
|
|
opt-level = 2
|
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
opt-level = 2
|