forked from jonasbb/serde_with
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
92 lines (78 loc) · 2.3 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[workspace]
members = [
"serde_with_macros",
"serde_with_test",
]
[package]
authors = [
"Jonas Bushart",
# For creation of the SerializeAs and DeserializeAs traits.
"Marcin Kaźmierczak",
]
name = "serde_with"
version = "1.6.4"
categories = ["encoding"]
description = "Custom de/serialization functions for Rust's serde"
documentation = "https://docs.rs/serde_with/"
edition = "2018"
keywords = ["serde", "utilities", "serialization", "deserialization"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/jonasbb/serde_with"
include = ["src/**/*", "LICENSE-*", "README.*", "CHANGELOG.md"]
[badges]
maintenance = {status = "actively-developed"}
# When adding new features update the documentation in feature-flags.md
[features]
chrono = ["chrono_crate"]
default = ["macros"]
guide = ["doc-comment", "macros"]
json = ["serde_json"]
macros = ["serde_with_macros"]
# When adding new optional dependencies update the documentation in feature-flags.md
[dependencies]
chrono_crate = {package = "chrono", version = "0.4.1", features = ["serde"], optional = true}
doc-comment = {version = "0.3.3", optional = true}
hex = {version = "0.4.2", optional = true}
rustversion = "1.0.0"
serde = {version = "1.0.75", features = ["derive"]}
serde_json = {version = "1.0.1", optional = true}
serde_with_macros = {path = "./serde_with_macros", version = "1.4.1", optional = true}
[dev-dependencies]
expect-test = "1.0.0"
fnv = "1.0.6"
glob = "0.3.0"
mime = "0.3.16"
pretty_assertions = "0.6.1"
regex = {version = "1.3.9", default-features = false, features = ["std"]}
ron = "0.6"
serde-xml-rs = "0.4.1"
serde_derive = "1.0.75"
serde_json = {version = "1.0.25", features = ["preserve_order"]}
version-sync = "0.9.1"
[[test]]
name = "chrono"
path = "tests/chrono.rs"
required-features = ["chrono", "macros"]
[[test]]
name = "hex"
path = "tests/hex.rs"
required-features = ["hex", "macros"]
[[test]]
name = "json"
path = "tests/json.rs"
required-features = ["json", "macros"]
[[test]]
name = "serde_as"
path = "tests/serde_as.rs"
required-features = ["macros"]
[[test]]
name = "serde_as_duration"
path = "tests/serde_as_duration.rs"
required-features = ["macros"]
[[test]]
name = "serde_as_macro"
path = "tests/serde_as_macro.rs"
required-features = ["macros"]
[package.metadata.docs.rs]
all-features = true