/
Cargo.toml
45 lines (34 loc) · 1 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
[package]
name = "anterofit"
version = "0.2.0"
authors = ["Austin Bonander <austin.bonander@gmail.com>"]
description = "Wrap REST APIs with Rust traits using macros"
keywords = ["http", "rest", "macros", "retrofit"]
repository = "https://github.com/abonander/anterofit"
documentation = "https://docs.rs/anterofit"
license = "MIT OR Apache-2.0"
[dependencies]
crossbeam = "0.2"
futures = "0.1"
hyper = "0.10.0"
mime = ">= 0.2.2, < 0.3"
parking_lot = "0.3.7"
quick-error = "1.1.0"
serde = "1.0"
url = "1.0"
serde_json = { version = "1.0", optional = true }
serde-xml-rs = { version = "0.2.1", optional = true }
clippy = { version = ">=0.0, <0.1", optional = true}
[dependencies.multipart]
version = "0.15"
default-features = false
features = ["client", "hyper"]
[dev-dependencies]
serde_derive = "1.0"
[features]
default = ["json", "xml"]
json = ["serde_json"]
xml = ["serde-xml-rs"]
nightly = ["multipart/nightly"]
# Enable this when using the `#[service]` attribute from `anterofit_service_attr`
service-attr = []