2022-01-24 11:54:09 +00:00
|
|
|
[package]
|
2022-06-18 00:15:48 +00:00
|
|
|
edition = "2021"
|
2022-01-24 11:54:09 +00:00
|
|
|
name = "embassy-boot"
|
2024-08-02 19:54:46 +00:00
|
|
|
version = "0.3.0"
|
2022-11-23 13:48:51 +00:00
|
|
|
description = "A lightweight bootloader supporting firmware updates in a power-fail-safe way, with trial boots and rollbacks."
|
2022-10-07 10:41:56 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2022-11-23 13:48:51 +00:00
|
|
|
repository = "https://github.com/embassy-rs/embassy"
|
2024-01-11 23:32:47 +00:00
|
|
|
documentation = "https://docs.embassy.dev/embassy-boot"
|
2022-11-23 13:48:51 +00:00
|
|
|
categories = [
|
|
|
|
"embedded",
|
|
|
|
"no-std",
|
|
|
|
"asynchronous",
|
|
|
|
]
|
2022-01-24 11:54:09 +00:00
|
|
|
|
2022-08-15 18:40:41 +00:00
|
|
|
[package.metadata.embassy_docs]
|
2024-01-11 17:55:59 +00:00
|
|
|
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-v$VERSION/embassy-boot/src/"
|
|
|
|
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot/src/"
|
2022-08-15 18:40:41 +00:00
|
|
|
target = "thumbv7em-none-eabi"
|
2022-11-23 13:48:51 +00:00
|
|
|
features = ["defmt"]
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["defmt"]
|
2022-08-15 18:40:41 +00:00
|
|
|
|
2022-01-24 11:54:09 +00:00
|
|
|
[lib]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
defmt = { version = "0.3", optional = true }
|
2023-04-04 10:24:30 +00:00
|
|
|
digest = "0.10"
|
2023-11-29 16:23:48 +00:00
|
|
|
log = { version = "0.4", optional = true }
|
2023-12-19 20:20:30 +00:00
|
|
|
ed25519-dalek = { version = "2", default_features = false, features = ["digest"], optional = true }
|
2024-08-02 17:14:43 +00:00
|
|
|
embassy-embedded-hal = { version = "0.2.0", path = "../embassy-embedded-hal" }
|
2024-05-29 10:09:55 +00:00
|
|
|
embassy-sync = { version = "0.6.0", path = "../embassy-sync" }
|
2023-12-04 12:47:21 +00:00
|
|
|
embedded-storage = "0.3.1"
|
|
|
|
embedded-storage-async = { version = "0.4.1" }
|
2023-12-19 19:24:55 +00:00
|
|
|
salty = { version = "0.3", optional = true }
|
2023-12-19 21:26:50 +00:00
|
|
|
signature = { version = "2.0", default-features = false }
|
2022-01-24 11:54:09 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
log = "0.4"
|
|
|
|
env_logger = "0.9"
|
2023-12-19 21:26:50 +00:00
|
|
|
rand = "0.8"
|
2022-01-24 11:54:09 +00:00
|
|
|
futures = { version = "0.3", features = ["executor"] }
|
2023-04-04 10:24:30 +00:00
|
|
|
sha1 = "0.10.5"
|
2023-05-30 11:44:12 +00:00
|
|
|
critical-section = { version = "1.1.1", features = ["std"] }
|
2023-12-19 21:26:50 +00:00
|
|
|
ed25519-dalek = { version = "2", default_features = false, features = ["std", "rand_core", "digest"] }
|
2023-01-06 11:21:39 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
ed25519-dalek = ["dep:ed25519-dalek", "_verify"]
|
|
|
|
ed25519-salty = ["dep:salty", "_verify"]
|
|
|
|
|
|
|
|
#Internal features
|
2023-04-04 10:24:30 +00:00
|
|
|
_verify = []
|