-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathCargo.toml
55 lines (46 loc) · 1.44 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
[package]
name = "may_minihttp"
version = "0.1.11"
edition = "2021"
authors = ["Xudong Huang <[email protected]>"]
repository = "https://github.com/Xudong-Huang/may_minihttp.git"
homepage = "https://github.com/Xudong-Huang/may_minihttp.git"
documentation = "https://docs.rs/may_minihttp"
description = "Mini http server that implemented on top of [may](https://github.com/Xudong-Huang/may)"
readme = "README.md"
keywords = ["http", "server", "may"]
categories = ["web-programming::http-server"]
license = "MIT/Apache-2.0"
[dependencies]
log = "0.4"
itoa = "1"
bytes = "1"
httpdate = "1"
httparse = "1"
once_cell = "1"
may = { version = "0.3.46", default-features = false }
[dev-dependencies]
atoi = "2"
num_cpus = "1.0"
smallvec = "1.1"
env_logger = "0.11"
serde_json = "1"
log = { version = "0.4", features = ["release_max_level_off"] }
yarte = { version = "0.15", features = ["bytes-buf", "json"] }
buf-min = { version = "0.7", features = ["bytes"] }
mimalloc = { version = "0.1", default-features = false }
nanorand = { version = "0.7", default-features = false, features = ["std", "wyrand"] }
[target.'cfg(unix)'.dev-dependencies]
may_postgres = { git = "https://github.com/Xudong-Huang/may_postgres.git", default-features = false }
[features]
default = ["may/default"]
[profile.release]
opt-level = 3
codegen-units = 1
panic = 'abort'
lto = 'thin'
debug = false
incremental = false
overflow-checks = false
# [patch.crates-io]
# may = { path = "../may" }