blob: 3d443e24716e438d1b87cdb1e4a035f5b15260a4 [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"]
David Brown641af452021-02-19 12:16:48 -070013sig-ecdsa-mbedtls = ["mcuboot-sys/sig-ecdsa-mbedtls"]
Fabio Utzig97710282019-05-24 17:44:49 -030014sig-ed25519 = ["mcuboot-sys/sig-ed25519"]
Fabio Utzig100bb742017-09-13 17:18:36 -030015overwrite-only = ["mcuboot-sys/overwrite-only"]
Fabio Utzig031eb7d2019-11-28 10:13:14 -030016swap-move = ["mcuboot-sys/swap-move"]
Roman Okhrimenko13f79ed2021-03-11 19:05:41 +020017swap-status = ["mcuboot-sys/swap-status"]
David Vincze2d736ad2019-02-18 11:50:22 +010018validate-primary-slot = ["mcuboot-sys/validate-primary-slot"]
Fabio Utzig1e48b912018-09-18 09:04:18 -030019enc-rsa = ["mcuboot-sys/enc-rsa"]
Roman Okhrimenko977b3752022-03-31 14:40:48 +030020enc-aes256-rsa = ["mcuboot-sys/enc-aes256-rsa"]
Fabio Utzig1e48b912018-09-18 09:04:18 -030021enc-kw = ["mcuboot-sys/enc-kw"]
Roman Okhrimenko977b3752022-03-31 14:40:48 +030022enc-aes256-kw = ["mcuboot-sys/enc-aes256-kw"]
Fabio Utzig90f449e2019-10-24 07:43:53 -030023enc-ec256 = ["mcuboot-sys/enc-ec256"]
Roman Okhrimenko977b3752022-03-31 14:40:48 +030024enc-ec256-mbedtls = ["mcuboot-sys/enc-ec256-mbedtls"]
25enc-aes256-ec256 = ["mcuboot-sys/enc-aes256-ec256"]
Fabio Utzig3fa72ca2020-04-02 11:20:37 -030026enc-x25519 = ["mcuboot-sys/enc-x25519"]
Roman Okhrimenko977b3752022-03-31 14:40:48 +030027enc-aes256-x25519 = ["mcuboot-sys/enc-aes256-x25519"]
Fabio Utzig9b97b132018-12-18 17:21:51 -020028bootstrap = ["mcuboot-sys/bootstrap"]
David Brown5e6f5e02019-04-04 10:50:05 +070029multiimage = ["mcuboot-sys/multiimage"]
Roman Okhrimenko977b3752022-03-31 14:40:48 +030030ram-load = ["mcuboot-sys/ram-load"]
31direct-xip = ["mcuboot-sys/direct-xip"]
David Brown2ee5f7f2020-01-13 14:04:01 -070032downgrade-prevention = ["mcuboot-sys/downgrade-prevention"]
Roman Okhrimenkodc0ca082023-06-21 20:49:51 +030033max-align-32 = ["mcuboot-sys/max-align-32"]
David Brown704ac6f2017-07-12 10:14:47 -060034
David Brownde7729e2017-01-09 10:41:35 -070035[dependencies]
David Brown91d68632019-07-29 14:32:13 -060036byteorder = "1.3"
Fabio Utzig03cce472020-02-11 18:55:14 -030037libc = "0.2"
Roman Okhrimenko977b3752022-03-31 14:40:48 +030038rand = { version = "0.8", features = ["small_rng"] }
Fabio Utzig03cce472020-02-11 18:55:14 -030039docopt = "1.1.0"
David Brown046a0a62017-07-12 16:08:22 -060040serde = "1.0"
41serde_derive = "1.0"
David Browne24244b2019-01-02 11:53:23 -070042log = "0.4"
Roman Okhrimenko977b3752022-03-31 14:40:48 +030043env_logger = "0.9"
David Brown2cbc4702017-07-06 14:18:58 -060044simflash = { path = "simflash" }
David Brown704ac6f2017-07-12 10:14:47 -060045mcuboot-sys = { path = "mcuboot-sys" }
Fabio Utzig03cce472020-02-11 18:55:14 -030046ring = "0.16.11"
Roman Okhrimenko977b3752022-03-31 14:40:48 +030047untrusted = "0.9"
David Brown96371362020-07-09 15:50:44 -060048pem = "0.8"
Roman Okhrimenko977b3752022-03-31 14:40:48 +030049cipher = "0.3"
50aes = { version = "0.7.4", features = ["ctr"] }
51base64 = "0.13.0"
52typenum = "1.13.0"
David Brownde7729e2017-01-09 10:41:35 -070053
David Browndd2b1182017-11-02 15:39:21 -060054# The simulator runs very slowly without optimization. A value of 1
55# compiles in about half the time, but runs about 5-6 times slower. 2
56# and 3 are hardly different in either compile time or performance.
57# Use 2 in case that makes the code slightly more debuggable.
David Brownde7729e2017-01-09 10:41:35 -070058[profile.test]
David Browndd2b1182017-11-02 15:39:21 -060059opt-level = 2
Roman Okhrimenko977b3752022-03-31 14:40:48 +030060# debug = true
David Browndd2b1182017-11-02 15:39:21 -060061
62[profile.dev]
63opt-level = 2
Roman Okhrimenko977b3752022-03-31 14:40:48 +030064# debug = true