aboutsummaryrefslogtreecommitdiff
path: root/embassy-boot/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-boot/Cargo.toml')
-rw-r--r--embassy-boot/Cargo.toml51
1 files changed, 51 insertions, 0 deletions
diff --git a/embassy-boot/Cargo.toml b/embassy-boot/Cargo.toml
new file mode 100644
index 000000000..a70849018
--- /dev/null
+++ b/embassy-boot/Cargo.toml
@@ -0,0 +1,51 @@
1[package]
2edition = "2021"
3name = "embassy-boot"
4version = "0.1.1"
5description = "A lightweight bootloader supporting firmware updates in a power-fail-safe way, with trial boots and rollbacks."
6license = "MIT OR Apache-2.0"
7repository = "https://github.com/embassy-rs/embassy"
8categories = [
9 "embedded",
10 "no-std",
11 "asynchronous",
12]
13
14[package.metadata.embassy_docs]
15src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-v$VERSION/embassy-boot/src/"
16src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot/src/"
17target = "thumbv7em-none-eabi"
18features = ["defmt"]
19
20[package.metadata.docs.rs]
21features = ["defmt"]
22
23[lib]
24
25[dependencies]
26defmt = { version = "0.3", optional = true }
27digest = "0.10"
28log = { version = "0.4", optional = true }
29ed25519-dalek = { version = "2", default_features = false, features = ["digest"], optional = true }
30embassy-embedded-hal = { version = "0.1.0", path = "../embassy-embedded-hal" }
31embassy-sync = { version = "0.5.0", path = "../embassy-sync" }
32embedded-storage = "0.3.1"
33embedded-storage-async = { version = "0.4.1" }
34salty = { version = "0.3", optional = true }
35signature = { version = "2.0", default-features = false }
36
37[dev-dependencies]
38log = "0.4"
39env_logger = "0.9"
40rand = "0.8"
41futures = { version = "0.3", features = ["executor"] }
42sha1 = "0.10.5"
43critical-section = { version = "1.1.1", features = ["std"] }
44ed25519-dalek = { version = "2", default_features = false, features = ["std", "rand_core", "digest"] }
45
46[features]
47ed25519-dalek = ["dep:ed25519-dalek", "_verify"]
48ed25519-salty = ["dep:salty", "_verify"]
49
50#Internal features
51_verify = []