blob: ac3edbab526c81ea0aee79473682f0a65bf4aeb2 [file] [log] [blame]
David Brownde7729e2017-01-09 10:41:35 -07001[package]
2name = "bootsim"
3version = "0.1.0"
4authors = ["David Brown <davidb@davidb.org>"]
David Brown29b0b5e2019-01-02 16:04:16 -07005edition = "2018"
David Brownde7729e2017-01-09 10:41:35 -07006
David Brown704ac6f2017-07-12 10:14:47 -06007[features]
8default = []
9
10sig-rsa = ["mcuboot-sys/sig-rsa"]
Fabio Utzig39297432019-05-08 18:51:10 -030011sig-rsa3072 = ["mcuboot-sys/sig-rsa3072"]
Fabio Utzig8b619bd2017-12-05 08:48:34 -020012sig-ecdsa = ["mcuboot-sys/sig-ecdsa"]
Fabio Utzig97710282019-05-24 17:44:49 -030013sig-ed25519 = ["mcuboot-sys/sig-ed25519"]
Fabio Utzig100bb742017-09-13 17:18:36 -030014overwrite-only = ["mcuboot-sys/overwrite-only"]
Fabio Utzig031eb7d2019-11-28 10:13:14 -030015swap-move = ["mcuboot-sys/swap-move"]
David Vincze2d736ad2019-02-18 11:50:22 +010016validate-primary-slot = ["mcuboot-sys/validate-primary-slot"]
Fabio Utzig1e48b912018-09-18 09:04:18 -030017enc-rsa = ["mcuboot-sys/enc-rsa"]
18enc-kw = ["mcuboot-sys/enc-kw"]
Fabio Utzig90f449e2019-10-24 07:43:53 -030019enc-ec256 = ["mcuboot-sys/enc-ec256"]
Fabio Utzig3fa72ca2020-04-02 11:20:37 -030020enc-x25519 = ["mcuboot-sys/enc-x25519"]
Fabio Utzig9b97b132018-12-18 17:21:51 -020021bootstrap = ["mcuboot-sys/bootstrap"]
David Brown5e6f5e02019-04-04 10:50:05 +070022multiimage = ["mcuboot-sys/multiimage"]
David Brown95de4502019-11-15 12:01:34 -070023large-write = []
David Brown2ee5f7f2020-01-13 14:04:01 -070024downgrade-prevention = ["mcuboot-sys/downgrade-prevention"]
David Brown704ac6f2017-07-12 10:14:47 -060025
David Brownde7729e2017-01-09 10:41:35 -070026[dependencies]
David Brown91d68632019-07-29 14:32:13 -060027byteorder = "1.3"
Fabio Utzig03cce472020-02-11 18:55:14 -030028libc = "0.2"
David Browncd842842020-07-09 15:46:53 -060029rand = { version = "0.7", features = ["small_rng"] }
Fabio Utzig03cce472020-02-11 18:55:14 -030030docopt = "1.1.0"
David Brown046a0a62017-07-12 16:08:22 -060031serde = "1.0"
32serde_derive = "1.0"
David Browne24244b2019-01-02 11:53:23 -070033log = "0.4"
David Brown3327e992020-07-09 15:48:23 -060034env_logger = "0.7"
David Brown2cbc4702017-07-06 14:18:58 -060035simflash = { path = "simflash" }
David Brown704ac6f2017-07-12 10:14:47 -060036mcuboot-sys = { path = "mcuboot-sys" }
Fabio Utzig03cce472020-02-11 18:55:14 -030037ring = "0.16.11"
38untrusted = "0.7"
David Brown96371362020-07-09 15:50:44 -060039pem = "0.8"
David Brown8a99adf2020-07-09 16:52:38 -060040aes-ctr = "0.4.0"
David Brown886641b2020-07-09 15:53:07 -060041base64 = "0.12.0"
David Brownde7729e2017-01-09 10:41:35 -070042
David Browndd2b1182017-11-02 15:39:21 -060043# The simulator runs very slowly without optimization. A value of 1
44# compiles in about half the time, but runs about 5-6 times slower. 2
45# and 3 are hardly different in either compile time or performance.
46# Use 2 in case that makes the code slightly more debuggable.
David Brownde7729e2017-01-09 10:41:35 -070047[profile.test]
David Browndd2b1182017-11-02 15:39:21 -060048opt-level = 2
49
50[profile.dev]
51opt-level = 2