forked from salvo-rs/salvo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
70 lines (61 loc) · 1.68 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
64
65
66
67
68
69
70
[package]
name = "salvo"
version = "0.5.4"
authors = [ "Chrislearn Young <[email protected]>" ]
edition = "2018"
description = """
A simple web framework
"""
homepage = "https://github.com/kenorld/salvo"
repository = "https://github.com/kenorld/salvo"
documentation = "https://docs.rs/salvo/"
readme = "./README.md"
keywords = [ "salvo", "web", "framework", "server" ]
license = "MIT"
categories = [ "web-programming::http-server" ]
autoexamples = true
[package.metadata.docs.rs]
all-features = true
[badges]
codecov = { repository = "kenorld/salvo", branch = "master", service = "github" }
[lib]
name = "salvo"
path = "src/lib.rs"
[features]
default = [ ]
full = [ "extra", "tls" ]
tls = [ "salvo_core/tls" ]
extra = [ "salvo_extra" ]
[profile.dev]
codegen-units = 4
[workspace]
members = [
".",
"core",
"extra",
"macros",
]
[dependencies]
async-trait = "0.1.42"
salvo_core = { path = "./core", version = "0.5.4", default-features = false }
salvo_extra = { path = "./extra", version = "0.5.4", default-features = false, optional = true }
[dev-dependencies]
futures = { version = "0.3.12", features = [ "std" ] }
once_cell = "1.5"
reqwest = "0.11"
serde = "1.0"
serde_derive = "1.0"
salvo_core = { path = "./core", version = "0.5.4", features = ["full"] }
salvo_extra = { path = "./extra", version = "0.5.4" }
salvo_macros = { path = "./macros", version = "0.5.4" }
tokio = { version = "1.0", features = [ "full" ] }
tokio-stream = { version = "0.1", features = [ "net" ] }
tracing = "0.1"
tracing-futures = "0.2"
tracing-log = "0.1"
tracing-subscriber = "0.2"
[patch.crates-io]
salvo = { path = "." }
salvo_core = { path = "core" }
salvo_macros = { path = "macros" }
salvo_extra = { path = "extra" }