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"] |
David Vincze | 2d736ad | 2019-02-18 11:50:22 +0100 | [diff] [blame] | 15 | validate-primary-slot = ["mcuboot-sys/validate-primary-slot"] |
Fabio Utzig | 1e48b91 | 2018-09-18 09:04:18 -0300 | [diff] [blame] | 16 | enc-rsa = ["mcuboot-sys/enc-rsa"] |
| 17 | enc-kw = ["mcuboot-sys/enc-kw"] |
Fabio Utzig | 9b97b13 | 2018-12-18 17:21:51 -0200 | [diff] [blame] | 18 | bootstrap = ["mcuboot-sys/bootstrap"] |
David Brown | 5e6f5e0 | 2019-04-04 10:50:05 +0700 | [diff] [blame] | 19 | multiimage = ["mcuboot-sys/multiimage"] |
David Brown | 704ac6f | 2017-07-12 10:14:47 -0600 | [diff] [blame] | 20 | |
David Brown | de7729e | 2017-01-09 10:41:35 -0700 | [diff] [blame] | 21 | [dependencies] |
| 22 | libc = "0.2.0" |
Fabio Utzig | 25d7b0f | 2019-01-10 11:01:04 -0200 | [diff] [blame] | 23 | rand = "0.4.0" |
David Brown | 046a0a6 | 2017-07-12 16:08:22 -0600 | [diff] [blame] | 24 | docopt = "0.8" |
| 25 | serde = "1.0" |
| 26 | serde_derive = "1.0" |
David Brown | e24244b | 2019-01-02 11:53:23 -0700 | [diff] [blame] | 27 | log = "0.4" |
Fabio Utzig | 25d7b0f | 2019-01-10 11:01:04 -0200 | [diff] [blame] | 28 | env_logger = "0.5" |
David Brown | 2cbc470 | 2017-07-06 14:18:58 -0600 | [diff] [blame] | 29 | simflash = { path = "simflash" } |
David Brown | 704ac6f | 2017-07-12 10:14:47 -0600 | [diff] [blame] | 30 | mcuboot-sys = { path = "mcuboot-sys" } |
Fabio Utzig | 05ab014 | 2018-07-10 09:15:28 -0300 | [diff] [blame] | 31 | ring = "0.14.1" |
Fabio Utzig | 25d7b0f | 2019-01-10 11:01:04 -0200 | [diff] [blame] | 32 | untrusted = "0.6.2" |
Fabio Utzig | c354e4a | 2018-07-10 11:00:28 -0300 | [diff] [blame] | 33 | pem = "0.5" |
Fabio Utzig | 25d7b0f | 2019-01-10 11:01:04 -0200 | [diff] [blame] | 34 | aes-ctr = "0.2.0" |
| 35 | base64 = "0.9.3" |
David Brown | de7729e | 2017-01-09 10:41:35 -0700 | [diff] [blame] | 36 | |
David Brown | dd2b118 | 2017-11-02 15:39:21 -0600 | [diff] [blame] | 37 | # The simulator runs very slowly without optimization. A value of 1 |
| 38 | # compiles in about half the time, but runs about 5-6 times slower. 2 |
| 39 | # and 3 are hardly different in either compile time or performance. |
| 40 | # Use 2 in case that makes the code slightly more debuggable. |
David Brown | de7729e | 2017-01-09 10:41:35 -0700 | [diff] [blame] | 41 | [profile.test] |
David Brown | dd2b118 | 2017-11-02 15:39:21 -0600 | [diff] [blame] | 42 | opt-level = 2 |
| 43 | |
| 44 | [profile.dev] |
| 45 | opt-level = 2 |