-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
46 lines (40 loc) · 1.06 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
44
45
46
[package]
name = "dfu-core"
version = "0.7.0"
authors = ["Cecile Tonglet <cecile.tonglet@cecton.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "Sans IO core library (traits and tools) for DFU"
repository = "https://github.com/dfu-rs/dfu-core"
homepage = "https://github.com/dfu-rs/dfu-core"
documentation = "https://docs.rs/dfu-core"
readme = "README.md"
keywords = ["dfu", "sans-io", "nostd"]
autotests = false
[dependencies]
bytes = "1"
displaydoc = "0.2"
futures = {version = "0.3.31", optional = true }
log = "0.4"
pretty-hex = "0.3"
thiserror = { version = "1", optional = true }
[dev-dependencies]
dfu-core = { path = ".", features = [ "std" ] }
env_logger = "0.10.0"
futures-test = "0.3.31"
num-derive = "0.3.3"
num-traits = "0.2.15"
thiserror = "1"
[features]
std = ["dep:thiserror"]
async = ["dep:futures", "std"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "download"
path = "tests/download.rs"
[[test]]
name = "download_async"
path = "tests/download_async.rs"
required-features = [ "async"]