2017-01-10 01:41:35 +08:00
|
|
|
[package]
|
|
|
|
name = "bootsim"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["David Brown <davidb@davidb.org>"]
|
2019-01-03 07:04:16 +08:00
|
|
|
edition = "2018"
|
2017-01-10 01:41:35 +08:00
|
|
|
|
2017-07-13 00:14:47 +08:00
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
|
|
|
|
sig-rsa = ["mcuboot-sys/sig-rsa"]
|
2019-05-09 05:51:10 +08:00
|
|
|
sig-rsa3072 = ["mcuboot-sys/sig-rsa3072"]
|
2017-12-05 18:48:34 +08:00
|
|
|
sig-ecdsa = ["mcuboot-sys/sig-ecdsa"]
|
2019-05-25 04:44:49 +08:00
|
|
|
sig-ed25519 = ["mcuboot-sys/sig-ed25519"]
|
2017-09-14 04:18:36 +08:00
|
|
|
overwrite-only = ["mcuboot-sys/overwrite-only"]
|
2019-02-18 18:50:22 +08:00
|
|
|
validate-primary-slot = ["mcuboot-sys/validate-primary-slot"]
|
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"]
|
2019-04-04 11:50:05 +08:00
|
|
|
multiimage = ["mcuboot-sys/multiimage"]
|
2017-07-13 00:14:47 +08:00
|
|
|
|
2017-01-10 01:41:35 +08:00
|
|
|
[dependencies]
|
2019-07-30 04:32:13 +08:00
|
|
|
byteorder = "1.3"
|
2017-01-10 01:41:35 +08:00
|
|
|
libc = "0.2.0"
|
2019-01-10 21:01:04 +08:00
|
|
|
rand = "0.4.0"
|
2017-07-13 06:08:22 +08:00
|
|
|
docopt = "0.8"
|
|
|
|
serde = "1.0"
|
|
|
|
serde_derive = "1.0"
|
2019-01-03 02:53:23 +08:00
|
|
|
log = "0.4"
|
2019-01-10 21:01:04 +08:00
|
|
|
env_logger = "0.5"
|
2017-07-07 04:18:58 +08:00
|
|
|
simflash = { path = "simflash" }
|
2017-07-13 00:14:47 +08:00
|
|
|
mcuboot-sys = { path = "mcuboot-sys" }
|
2018-07-10 20:15:28 +08:00
|
|
|
ring = "0.14.1"
|
2019-01-10 21:01:04 +08:00
|
|
|
untrusted = "0.6.2"
|
2018-07-10 22:00:28 +08:00
|
|
|
pem = "0.5"
|
2019-01-10 21:01:04 +08:00
|
|
|
aes-ctr = "0.2.0"
|
|
|
|
base64 = "0.9.3"
|
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
|