2022-01-24 12:54:09 +01:00
|
|
|
[package]
|
2022-06-18 02:15:48 +02:00
|
|
|
edition = "2021"
|
2022-01-24 12:54:09 +01:00
|
|
|
name = "embassy-boot"
|
2022-11-25 15:51:31 +01:00
|
|
|
version = "0.1.1"
|
2022-11-23 14:48:51 +01:00
|
|
|
description = "A lightweight bootloader supporting firmware updates in a power-fail-safe way, with trial boots and rollbacks."
|
2022-10-07 12:41:56 +02:00
|
|
|
license = "MIT OR Apache-2.0"
|
2022-11-23 14:48:51 +01:00
|
|
|
repository = "https://github.com/embassy-rs/embassy"
|
|
|
|
categories = [
|
|
|
|
"embedded",
|
|
|
|
"no-std",
|
|
|
|
"asynchronous",
|
|
|
|
]
|
2022-01-24 12:54:09 +01:00
|
|
|
|
2022-08-15 20:40:41 +02:00
|
|
|
[package.metadata.embassy_docs]
|
|
|
|
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-v$VERSION/embassy-boot/boot/src/"
|
|
|
|
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot/boot/src/"
|
|
|
|
target = "thumbv7em-none-eabi"
|
2022-11-23 14:48:51 +01:00
|
|
|
features = ["defmt"]
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["defmt"]
|
2022-08-15 20:40:41 +02:00
|
|
|
|
2022-01-24 12:54:09 +01:00
|
|
|
[lib]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
defmt = { version = "0.3", optional = true }
|
|
|
|
log = { version = "0.4", optional = true }
|
2023-01-06 12:21:39 +01:00
|
|
|
ed25519-dalek = { version = "1.0.1", default_features = false, features = ["u32_backend"], optional = true }
|
2022-08-22 21:46:09 +02:00
|
|
|
embassy-sync = { version = "0.1.0", path = "../../embassy-sync" }
|
2022-01-24 12:54:09 +01:00
|
|
|
embedded-storage = "0.3.0"
|
|
|
|
embedded-storage-async = "0.3.0"
|
2023-01-06 12:21:39 +01:00
|
|
|
salty = { git = "https://github.com/ycrypto/salty.git", rev = "a9f17911a5024698406b75c0fac56ab5ccf6a8c7", optional = true }
|
|
|
|
signature = { version = "1.6.4", default-features = false }
|
2022-01-24 12:54:09 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
log = "0.4"
|
|
|
|
env_logger = "0.9"
|
2023-01-06 12:21:39 +01:00
|
|
|
rand = "0.7" # ed25519-dalek v1.0.1 depends on this exact version
|
2022-01-24 12:54:09 +01:00
|
|
|
futures = { version = "0.3", features = ["executor"] }
|
2023-01-06 12:21:39 +01:00
|
|
|
|
|
|
|
[dev-dependencies.ed25519-dalek]
|
|
|
|
default_features = false
|
|
|
|
features = ["rand", "std", "u32_backend"]
|
|
|
|
|
|
|
|
[features]
|
|
|
|
ed25519-dalek = ["dep:ed25519-dalek", "_verify"]
|
|
|
|
ed25519-salty = ["dep:salty", "_verify"]
|
|
|
|
|
|
|
|
#Internal features
|
|
|
|
_verify = []
|