forked from sammhicks/picoserve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
63 lines (56 loc) · 2.1 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
57
58
59
60
61
62
63
[workspace]
resolver = "2"
members = [
"examples/custom_extractor",
"examples/form",
"examples/hello_world",
"examples/hello_world_single_thread",
"examples/huge_requests",
"examples/layers",
"examples/path_parameters",
"examples/server_sent_events",
"examples/state",
"examples/web_sockets"
]
exclude = [
"examples/embassy",
]
[package]
name = "picoserve"
version = "0.10.2"
authors = ["Samuel Hicks"]
edition = "2021"
rust-version = "1.75"
description = "An async no_std HTTP server suitable for bare-metal environments"
readme = "README.md"
repository = "https://github.com/sammhicks/picoserve"
license = "MIT"
keywords = ["no_std", "http", "web", "framework"]
categories = ["asynchronous", "network-programming", "web-programming::http-server"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
const-sha1 = { version = "0.3.0", default-features = false }
data-encoding = { version = "2.4.0", default-features = false }
defmt = { version = "0.3.6", optional = true }
embassy-net = { version = "0.4.0", optional = true, features = ["tcp", "proto-ipv4", "medium-ethernet"] }
embassy-time = { version = "0.3.0", optional = true }
embedded-io-async = "0.6.0"
futures-util = { version = "0.3.28", default-features = false }
heapless = { version = "0.8.0", features = ["serde"] }
lhash = { version = "1.0.1", features = ["sha1"] }
log = { version = "0.4.19", optional = true, default-features = false }
ryu = "1.0.14"
serde = { version = "1.0.171", default-features = false, features = ["derive"] }
tokio = { version = "1.32.0", optional = true, features = ["io-util", "net", "time"] }
[features]
std = ["alloc"]
alloc = []
tokio = ["dep:tokio", "std", "serde/std"]
embassy = ["dep:embassy-time", "dep:embassy-net"]
defmt = ["dep:defmt", "embassy-net?/defmt"]
log = ["dep:log"]
[dev-dependencies]
embedded-io-async = { version = "0.6.0", features = ["std"] }
http-body-util = "0.1.0"
hyper = { version = "1.1.0", features = ["client", "http1"] }
tokio = { version = "1.0.0", features = ["rt", "io-util", "net", "time", "macros", "sync"] }