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
[]
= "serde_json"
= "1.0.108"
= ["Erick Tryzelaar <erick.tryzelaar@gmail.com>", "David Tolnay <dtolnay@gmail.com>"]
= ["encoding", "parser-implementations", "no-std"]
= "A JSON serialization file format"
= "https://docs.rs/serde_json"
= "2021"
= ["json", "serde", "serialization"]
= "MIT OR Apache-2.0"
= "https://github.com/serde-rs/json"
= "1.56"
[]
= { = "2", = true }
= "1.0"
= "1.0"
= { = "1.0.166", = false }
[]
= "1.0.11"
= "2.0.2"
= "1.0.18"
= "1.0.13"
= { = "1.0.166", = ["derive"] }
= "0.11.10"
= "1.0.166"
= "0.1.8"
= { = "1.0.81", = ["diff"] }
[]
= false
[]
= ["raw_value", "unbounded_depth"]
= ["x86_64-unknown-linux-gnu"]
= ["--cfg", "docsrs", "--generate-link-to-definition"]
[]
= ["raw_value"]
### FEATURES #################################################################
[]
= ["std"]
= ["serde/std"]
# Provide integration for heap-allocated collections without depending on the
# rest of the Rust standard library.
# NOTE: Disabling both `std` *and* `alloc` features is not supported yet.
= ["serde/alloc"]
# Make serde_json::Map use a representation which maintains insertion order.
# This allows data to be read into a Value and written back to a JSON string
# while preserving the order of map keys in the input.
= ["indexmap", "std"]
# Use sufficient precision when parsing fixed precision floats from JSON to
# ensure that they maintain accuracy when round-tripped through JSON. This comes
# at an approximately 2x performance cost for parsing floats compared to the
# default best-effort precision.
#
# Unlike arbitrary_precision, this feature makes f64 -> JSON -> f64 produce
# output identical to the input.
= []
# Use an arbitrary precision number representation for serde_json::Number. This
# allows JSON numbers of arbitrary size/precision to be read into a Number and
# written back to a JSON string without loss of precision.
#
# Unlike float_roundtrip, this feature makes JSON -> serde_json::Number -> JSON
# produce output identical to the input.
= []
# Provide a RawValue type that can hold unprocessed JSON during deserialization.
= []
# Provide a method disable_recursion_limit to parse arbitrarily deep JSON
# structures without any consideration for overflowing the stack. When using
# this feature, you will want to provide some other way to protect against stack
# overflows, such as by wrapping your Deserializer in the dynamically growing
# stack adapter provided by the serde_stacker crate. Additionally you will need
# to be careful around other recursive operations on the parsed result which may
# overflow the stack after deserialization has completed, including, but not
# limited to, Display and Debug and Drop impls.
= []