blob: 28c8dc0f82031a22ab50019e7b455daefc6857af [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"]
David Vincze2d736ad2019-02-18 11:50:22 +010015validate-primary-slot = ["mcuboot-sys/validate-primary-slot"]
Fabio Utzig1e48b912018-09-18 09:04:18 -030016enc-rsa = ["mcuboot-sys/enc-rsa"]
17enc-kw = ["mcuboot-sys/enc-kw"]
Fabio Utzig9b97b132018-12-18 17:21:51 -020018bootstrap = ["mcuboot-sys/bootstrap"]
David Brown5e6f5e02019-04-04 10:50:05 +070019multiimage = ["mcuboot-sys/multiimage"]
David Brown704ac6f2017-07-12 10:14:47 -060020
David Brownde7729e2017-01-09 10:41:35 -070021[dependencies]
22libc = "0.2.0"
Fabio Utzig25d7b0f2019-01-10 11:01:04 -020023rand = "0.4.0"
David Brown046a0a62017-07-12 16:08:22 -060024docopt = "0.8"
25serde = "1.0"
26serde_derive = "1.0"
David Browne24244b2019-01-02 11:53:23 -070027log = "0.4"
Fabio Utzig25d7b0f2019-01-10 11:01:04 -020028env_logger = "0.5"
David Brown2cbc4702017-07-06 14:18:58 -060029simflash = { path = "simflash" }
David Brown704ac6f2017-07-12 10:14:47 -060030mcuboot-sys = { path = "mcuboot-sys" }
Fabio Utzig05ab0142018-07-10 09:15:28 -030031ring = "0.14.1"
Fabio Utzig25d7b0f2019-01-10 11:01:04 -020032untrusted = "0.6.2"
Fabio Utzigc354e4a2018-07-10 11:00:28 -030033pem = "0.5"
Fabio Utzig25d7b0f2019-01-10 11:01:04 -020034aes-ctr = "0.2.0"
35base64 = "0.9.3"
David Brownde7729e2017-01-09 10:41:35 -070036
David Browndd2b1182017-11-02 15:39:21 -060037# 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 Brownde7729e2017-01-09 10:41:35 -070041[profile.test]
David Browndd2b1182017-11-02 15:39:21 -060042opt-level = 2
43
44[profile.dev]
45opt-level = 2