David Brown | de7729e | 2017-01-09 10:41:35 -0700 | [diff] [blame] | 1 | [package] |
| 2 | name = "bootsim" |
| 3 | version = "0.1.0" |
| 4 | authors = ["David Brown <davidb@davidb.org>"] |
David Brown | 29b0b5e | 2019-01-02 16:04:16 -0700 | [diff] [blame] | 5 | edition = "2018" |
David Brown | de7729e | 2017-01-09 10:41:35 -0700 | [diff] [blame] | 6 | |
David Brown | 704ac6f | 2017-07-12 10:14:47 -0600 | [diff] [blame] | 7 | [features] |
| 8 | default = [] |
| 9 | |
| 10 | sig-rsa = ["mcuboot-sys/sig-rsa"] |
Fabio Utzig | 3929743 | 2019-05-08 18:51:10 -0300 | [diff] [blame] | 11 | sig-rsa3072 = ["mcuboot-sys/sig-rsa3072"] |
Fabio Utzig | 8b619bd | 2017-12-05 08:48:34 -0200 | [diff] [blame] | 12 | sig-ecdsa = ["mcuboot-sys/sig-ecdsa"] |
Fabio Utzig | 9771028 | 2019-05-24 17:44:49 -0300 | [diff] [blame] | 13 | sig-ed25519 = ["mcuboot-sys/sig-ed25519"] |
Fabio Utzig | 100bb74 | 2017-09-13 17:18:36 -0300 | [diff] [blame] | 14 | overwrite-only = ["mcuboot-sys/overwrite-only"] |
Fabio Utzig | 031eb7d | 2019-11-28 10:13:14 -0300 | [diff] [blame] | 15 | swap-move = ["mcuboot-sys/swap-move"] |
David Vincze | 2d736ad | 2019-02-18 11:50:22 +0100 | [diff] [blame] | 16 | validate-primary-slot = ["mcuboot-sys/validate-primary-slot"] |
Fabio Utzig | 1e48b91 | 2018-09-18 09:04:18 -0300 | [diff] [blame] | 17 | enc-rsa = ["mcuboot-sys/enc-rsa"] |
| 18 | enc-kw = ["mcuboot-sys/enc-kw"] |
Fabio Utzig | 90f449e | 2019-10-24 07:43:53 -0300 | [diff] [blame] | 19 | enc-ec256 = ["mcuboot-sys/enc-ec256"] |
Fabio Utzig | 3fa72ca | 2020-04-02 11:20:37 -0300 | [diff] [blame] | 20 | enc-x25519 = ["mcuboot-sys/enc-x25519"] |
Fabio Utzig | 9b97b13 | 2018-12-18 17:21:51 -0200 | [diff] [blame] | 21 | bootstrap = ["mcuboot-sys/bootstrap"] |
David Brown | 5e6f5e0 | 2019-04-04 10:50:05 +0700 | [diff] [blame] | 22 | multiimage = ["mcuboot-sys/multiimage"] |
David Brown | 95de450 | 2019-11-15 12:01:34 -0700 | [diff] [blame] | 23 | large-write = [] |
David Brown | 2ee5f7f | 2020-01-13 14:04:01 -0700 | [diff] [blame] | 24 | downgrade-prevention = ["mcuboot-sys/downgrade-prevention"] |
David Brown | 704ac6f | 2017-07-12 10:14:47 -0600 | [diff] [blame] | 25 | |
David Brown | de7729e | 2017-01-09 10:41:35 -0700 | [diff] [blame] | 26 | [dependencies] |
David Brown | 91d6863 | 2019-07-29 14:32:13 -0600 | [diff] [blame] | 27 | byteorder = "1.3" |
Fabio Utzig | 03cce47 | 2020-02-11 18:55:14 -0300 | [diff] [blame] | 28 | libc = "0.2" |
David Brown | cd84284 | 2020-07-09 15:46:53 -0600 | [diff] [blame] | 29 | rand = { version = "0.7", features = ["small_rng"] } |
Fabio Utzig | 03cce47 | 2020-02-11 18:55:14 -0300 | [diff] [blame] | 30 | docopt = "1.1.0" |
David Brown | 046a0a6 | 2017-07-12 16:08:22 -0600 | [diff] [blame] | 31 | serde = "1.0" |
| 32 | serde_derive = "1.0" |
David Brown | e24244b | 2019-01-02 11:53:23 -0700 | [diff] [blame] | 33 | log = "0.4" |
David Brown | 3327e99 | 2020-07-09 15:48:23 -0600 | [diff] [blame] | 34 | env_logger = "0.7" |
David Brown | 2cbc470 | 2017-07-06 14:18:58 -0600 | [diff] [blame] | 35 | simflash = { path = "simflash" } |
David Brown | 704ac6f | 2017-07-12 10:14:47 -0600 | [diff] [blame] | 36 | mcuboot-sys = { path = "mcuboot-sys" } |
Fabio Utzig | 03cce47 | 2020-02-11 18:55:14 -0300 | [diff] [blame] | 37 | ring = "0.16.11" |
| 38 | untrusted = "0.7" |
David Brown | 9637136 | 2020-07-09 15:50:44 -0600 | [diff] [blame] | 39 | pem = "0.8" |
David Brown | 8a99adf | 2020-07-09 16:52:38 -0600 | [diff] [blame] | 40 | aes-ctr = "0.4.0" |
David Brown | 886641b | 2020-07-09 15:53:07 -0600 | [diff] [blame] | 41 | base64 = "0.12.0" |
David Brown | de7729e | 2017-01-09 10:41:35 -0700 | [diff] [blame] | 42 | |
David Brown | dd2b118 | 2017-11-02 15:39:21 -0600 | [diff] [blame] | 43 | # 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 Brown | de7729e | 2017-01-09 10:41:35 -0700 | [diff] [blame] | 47 | [profile.test] |
David Brown | dd2b118 | 2017-11-02 15:39:21 -0600 | [diff] [blame] | 48 | opt-level = 2 |
| 49 | |
| 50 | [profile.dev] |
| 51 | opt-level = 2 |