-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
67 lines (56 loc) · 1.56 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
workspace = { members = ["code-gen"] }
[package]
name = "axum-resp-result"
version = "0.7.1"
edition = "2021"
authors = ["FrozenString<[email protected]>"]
description = "Help Struct For Axum Response"
homepage = "https://github.com/Goodjooy/resp-result"
documentation = "https://docs.rs/axum-resp-result"
license = "MIT"
readme = "Readme.md"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[example]]
name = "axum"
required-features = ["tracing"]
[[example]]
name="expand"
required-features = ["tracing"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
log = ["tracing", "trace?/log"]
tracing = ["dep:trace", "dep:tracing-unwrap"]
extra-error = ["axum-resp-result-macro/extra-error"]
nightly_try_v2 = []
[dependencies]
serde_json = "1"
http = "1"
once_cell = "1"
thiserror = "1.0.37"
trace = { version = "0.1.37", package = "tracing", optional = true }
tracing-unwrap = { version = "0.10.0", features = [
"log-location",
], optional = true }
futures = "0.3"
axum-resp-result-macro = { version = "0.7.1" }
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.axum]
version = "0.7"
[dependencies.mime]
version = "0.3"
[dev-dependencies]
serde_json = "1"
tokio = { version = "1", features = ["full"] }
simple-log = "1.6.0"
tracing-subscriber = { version = "0.3.16", features = [
"fmt",
"registry",
"env-filter",
] }
tower = { version = "0.4.13", features = ["tracing"] }
tower-http = { version = "0.5", features = ["trace"] }
thiserror = "1.0.37"