-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
59 lines (50 loc) · 1.33 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
[package]
name = "actix-multiresponse"
version = "0.4.2"
edition = "2021"
authors = ["Tobias de Bruijn <[email protected]>"]
description = "actix-multiresponse intents to allow supporting multiple response/request data formats depending on the Content-Type and Accept headers"
readme = "README.md"
repository = "https://github.com/TobiasDeBruijn/actix-multiresponse"
license = "MIT OR Apache-2.0"
keywords = ["actix", "protobuf", "json", "serde", "xml"]
categories = ["encoding", "web-programming"]
documentation = "https://docs.rs/actix-multiresponse/latest/actix_multiresponse/"
[features]
default = ["json", "protobuf"]
json = ["serde", "serde_json"]
protobuf = ["prost"]
xml = ["quick-xml", "serde"]
[dependencies]
thiserror = "1.0"
log = "0.4"
cfg-if = "1.0.0"
futures-util = "0.3.25"
[dependencies.quick-xml]
version = "0.27.1"
optional = true
features = ["serialize"]
[dependencies.serde_json]
version = "1"
optional = true
[dependencies.serde]
version = "1.0"
optional = true
[dependencies.actix-web]
version = "4.0"
default-features = false
[dependencies.prost]
version = "0.11"
default-features = false
optional = true
[dev-dependencies]
serde = "1.0"
serde_derive = "1.0"
prost-derive = "0.11"
actix-macros = "0.2"
actix-rt = "2.7"
serde_json = "1.0"
[dev-dependencies.prost]
version = "0.11"
default-features = false
features = ["std"]