-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
56 lines (51 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
[package]
name = "axum-serde"
version = "0.6.1"
description = "Provides multiple serde-based extractors / responses for the Axum web framework, also offers a macro to easily customize extractors / responses."
authors = ["GengTeng <[email protected]>"]
license = "MIT"
homepage = "https://github.com/gengteng/axum-serde"
repository = "https://github.com/gengteng/axum-serde"
documentation = "https://docs.rs/axum-serde"
keywords = [
"axum",
"serde",
"extractor",
"response",
]
categories = [
"asynchronous",
"network-programming",
"web-programming",
]
edition = "2021"
[package.metadata.docs.rs]
features = ["full"]
[dependencies]
http = "1.1.0"
serde = "1.0.197"
mime = "0.3.17"
serde_yaml = { version = "0.9.33", optional = true }
rmp-serde = { version = "1.3.0", optional = true }
toml_ = { package = "toml", version = "0.8.14", optional = true }
quick-xml = { version = "0.36.1", optional = true, features = ["serialize"] }
sonic-rs = { version = "0.3.7", optional = true }
ciborium = { version = "0.2.2", optional = true }
axum-core = "0.4.3"
async-trait = "0.1.79"
thiserror = "1.0.58"
bytes = "1.6.0"
[dev-dependencies]
axum = { version = "0.7.5", default-features = false }
axum-test = "15.2.0"
serde = { version = "1.0.197", features = ["derive"] }
tokio = { version = "1.37.0", features = ["macros"] }
[features]
yaml = ["dep:serde_yaml"]
msgpack = ["dep:rmp-serde"]
toml = ["dep:toml_"]
xml = ["dep:quick-xml"]
xml_encoding = ["xml", "quick-xml/encoding"]
sonic = ["dep:sonic-rs"]
cbor = ["dep:ciborium"]
full = ["yaml", "msgpack", "toml", "xml", "sonic", "cbor"]