-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
47 lines (43 loc) · 1.14 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
[package]
name = "hyper-middleware"
description = "A compact HTTP middleware and handler system for Hyper 0.14"
version = "0.0.9"
authors = ["Jose Quintana <https://joseluisq.net>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/static-web-server/hyper-middleware"
documentation = "https://docs.rs/hyper-middleware"
edition = "2021"
rust-version = "1.56.0"
categories = ["network-programming", "web-programming::http-server"]
include = [
"src/**/*.rs",
"Cargo.toml",
"README.md",
"LICENSE-MIT",
"LICENSE-APACHE"
]
keywords = [
"hyper",
"hyper-rs",
"middleware",
"service",
"http-middleware",
]
[dependencies]
hyper = { version = "0.14.28", default-features = false, features = ["server", "tcp"] }
anyhow = "1.0.79"
thiserror = "1.0.56"
async-trait = "0.1.77"
async-recursion = "1.0.5"
[dev-dependencies]
hyper = { version = "0.14", features = ["tcp", "server", "http1"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros"], default-features = false }
[profile.release]
codegen-units = 1
debug = false
debug-assertions = false
lto = "fat"
opt-level = 3
panic = "abort"
rpath = false
strip = true