-
Notifications
You must be signed in to change notification settings - Fork 19
/
Cargo.toml
56 lines (53 loc) · 1.73 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
47
48
49
50
51
52
53
54
55
56
[package]
name = "reqwless"
version = "0.13.0"
edition = "2021"
resolver = "2"
rust-version = "1.77"
description = "HTTP client for embedded devices"
documentation = "https://docs.rs/reqwless"
readme = "README.md"
homepage = "https://drogue.io"
repository = "https://github.com/drogue-iot/reqwless"
license = "Apache-2.0"
keywords = ["embedded", "async", "http", "no_std"]
exclude = [".github"]
[dependencies]
buffered-io = { version = "0.5.4" }
embedded-io = { version = "0.6" }
embedded-io-async = { version = "0.6" }
embedded-nal-async = "0.8.0"
httparse = { version = "1.8.0", default-features = false }
heapless = "0.8"
hex = { version = "0.4", default-features = false }
base64 = { version = "0.21.0", default-features = false }
rand_core = { version = "0.6", default-features = true }
log = { version = "0.4", optional = true }
defmt = { version = "0.3", optional = true }
embedded-tls = { version = "0.17", default-features = false, optional = true }
rand_chacha = { version = "0.3", default-features = false }
nourl = "0.1.1"
esp-mbedtls = { version = "0.1", git = "https://github.com/esp-rs/esp-mbedtls.git", features = [
"async",
], optional = true }
[dev-dependencies]
hyper = { version = "0.14.23", features = ["full"] }
tokio = { version = "1.21.2", features = ["full"] }
tokio-rustls = { version = "0.23.4" }
futures-util = { version = "0.3" }
embedded-io-async = { version = "0.6", features = ["std"] }
embedded-io-adapters = { version = "0.6", features = ["std", "tokio-1"] }
rustls-pemfile = "1.0"
env_logger = "0.10"
log = "0.4"
rand = "0.8"
[features]
default = ["embedded-tls"]
alloc = ["embedded-tls?/alloc"]
defmt = [
"dep:defmt",
"embedded-io/defmt-03",
"embedded-io-async/defmt-03",
"embedded-tls?/defmt",
"nourl/defmt",
]