-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
41 lines (35 loc) · 1.24 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
[package]
name = "serde-ignored-fields"
version = "0.1.1"
license = "BSD-2-Clause"
description = "preserve ignored fields with serde"
repository = "https://github.com/de-vri-es/serde-ignored-fields"
documentation = "https://docs.rs/serde-ignored-fields"
keywords = ["serde", "ignored", "fields"]
categories = ["parsing"]
readme = "README.md"
edition = "2021"
publish = ["crates-io"]
[features]
schemars = ["dep:schemars"]
serde_json = ["dep:serde_json"]
serde_yaml = ["dep:serde_yaml"]
serde_yml = ["dep:serde_yml"]
toml = ["dep:toml"]
doc-cfg = []
[dependencies]
schemars = { version = "0.8.21", optional = true, default-features = false }
serde = "1.0.203"
serde_json = { version = "1.0.120", optional = true }
serde_yaml = { version = "0.9.34", optional = true }
serde_yml = { version = "0.0.10", optional = true }
toml = { version = "0.8.14", optional = true }
[dev-dependencies]
serde-ignored-fields = { path = ".", features = ["schemars", "serde_json", "serde_yaml", "serde_yml", "toml"] }
serde_json = { version = "1.0.120", features = ["preserve_order"] }
toml = { version = "0.8.14", features = ["preserve_order"] }
serde = { version = "1.0.203", features = ["derive"] }
assert2 = "0.3.14"
indoc = "2.0.5"
[package.metadata.docs.rs]
all-features = true