-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
43 lines (39 loc) · 1.47 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "embedded-update"
version = "0.12.1"
edition = "2021"
resolver = "2"
description = "Firmware updates for embedded devices supporting multiple update services"
documentation = "https://docs.rs/embedded-update"
readme = "README.md"
homepage = "https://drogue.io"
repository = "https://github.com/drogue-iot/embedded-update"
authors = [
"Ulf Lilleengen <[email protected]>"
]
license = "Apache-2.0"
keywords = ["embedded", "async", "dfu", "no_std", "ota"]
exclude = [".github"]
[dependencies]
heapless = "0.8"
serde = { version = "1", features = ["derive"], default-features = false }
postcard = { version = "1.0", default-features = false, optional = true }
embedded-io-async = { version = "0.6", optional = true }
embedded-io = "0.6"
defmt = { version = "0.3", optional = true }
log = { version = "0.4", optional = true }
embedded-hal-async = { version = "1.0", optional = true }
futures = { version = "0.3", default-features = false, optional = true }
rand_core = { version = "0.6", default-features = false, optional = true }
serde_cbor = { version = "0.11", default-features = false, optional = true }
[dev-dependencies]
env_logger = "0.9"
tokio = { version = "1", features = ["full"] }
serde_cbor = { version = "0.11", features = ["std"] }
embedded-io-adapters = { version = "0.6.0", features = ["std", "futures-03", "tokio-1"] }
log = "0.4"
rand = "0.8"
[features]
default = ["embedded-hal-async", "futures", "postcard", "embedded-io-async"]
defmt = ["dep:defmt"]
std = []