blob: 2704de14b8cc16ac8466a29ce61b178ab95e1152 [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 Utzig9b97b132018-12-18 17:21:51 -020020bootstrap = ["mcuboot-sys/bootstrap"]
David Brown5e6f5e02019-04-04 10:50:05 +070021multiimage = ["mcuboot-sys/multiimage"]
David Brown95de4502019-11-15 12:01:34 -070022large-write = []
David Brown2ee5f7f2020-01-13 14:04:01 -070023downgrade-prevention = ["mcuboot-sys/downgrade-prevention"]
David Brown704ac6f2017-07-12 10:14:47 -060024
David Brownde7729e2017-01-09 10:41:35 -070025[dependencies]
David Brown91d68632019-07-29 14:32:13 -060026byteorder = "1.3"
Fabio Utzig03cce472020-02-11 18:55:14 -030027libc = "0.2"
28rand = "0.4"
29docopt = "1.1.0"
David Brown046a0a62017-07-12 16:08:22 -060030serde = "1.0"
31serde_derive = "1.0"
David Browne24244b2019-01-02 11:53:23 -070032log = "0.4"
Fabio Utzig25d7b0f2019-01-10 11:01:04 -020033env_logger = "0.5"
David Brown2cbc4702017-07-06 14:18:58 -060034simflash = { path = "simflash" }
David Brown704ac6f2017-07-12 10:14:47 -060035mcuboot-sys = { path = "mcuboot-sys" }
Fabio Utzig03cce472020-02-11 18:55:14 -030036ring = "0.16.11"
37untrusted = "0.7"
38pem = "0.7"
Fabio Utzig25d7b0f2019-01-10 11:01:04 -020039aes-ctr = "0.2.0"
Fabio Utzig03cce472020-02-11 18:55:14 -030040base64 = "0.11.0"
David Brownde7729e2017-01-09 10:41:35 -070041
David Browndd2b1182017-11-02 15:39:21 -060042# The simulator runs very slowly without optimization. A value of 1
43# compiles in about half the time, but runs about 5-6 times slower. 2
44# and 3 are hardly different in either compile time or performance.
45# Use 2 in case that makes the code slightly more debuggable.
David Brownde7729e2017-01-09 10:41:35 -070046[profile.test]
David Browndd2b1182017-11-02 15:39:21 -060047opt-level = 2
48
49[profile.dev]
50opt-level = 2