-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
56 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
[package]
name = "serde_json_merge"
version = "0.0.4"
edition = "2021"
authors = ["romnn <[email protected]>"]
description = "Merge, index, iterate, and sort a serde_json::Value (recursively)"
license-file = "LICENSE"
readme = "README.md"
homepage = "https://github.com/romnn/serde_json_merge"
repository = "https://github.com/romnn/serde_json_merge"
categories = [ "encoding" ]
keywords = [
"serde",
"json",
"merge",
"sort",
"iter"
]
exclude = []
[[bench]]
name = "benches"
harness = false
[package.metadata.docs.rs]
# document all features
all-features = true
# defines the configuration attribute `docsrs`
rustdoc-args = ["--cfg", "docsrs"]
rustc-args = ["--cfg", "docsrs"]
[features]
default = ["merge"]
full = ["rayon", "sort", "merge", "preserve_order"]
preserve_order = ["serde_json/preserve_order"]
merge = []
sort = ["dep:ordered-float", "dep:indexmap"]
rayon = ["dep:par-dfs"]
[package.metadata.cargo-feature-combinations]
denylist = ["default", "full"]
[dependencies]
serde_json = { version = "1", features = ["preserve_order"] }
fancy-regex = "0"
lazy_static = "1"
ordered-float = { version = "4", optional = true }
indexmap = { version = "2", optional = true }
par-dfs = { version = "0", features = ["sync", "rayon"], optional = true }
rayon = "1.5"
[dev-dependencies]
itertools = "0"
pretty_assertions = "1"
paste = "1"
criterion = "0"