]> git.proxmox.com Git - rustc.git/blob - src/vendor/serde_json/Cargo.toml
New upstream version 1.20.0+dfsg1
[rustc.git] / src / vendor / serde_json / Cargo.toml
1 [package]
2 name = "serde_json"
3 version = "1.0.2" # remember to update html_root_url
4 authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>", "David Tolnay <dtolnay@gmail.com>"]
5 license = "MIT/Apache-2.0"
6 description = "A JSON serialization file format"
7 repository = "https://github.com/serde-rs/json"
8 documentation = "http://docs.serde.rs/serde_json/"
9 keywords = ["json", "serde", "serialization"]
10 categories = ["encoding"]
11 readme = "README.md"
12 include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
13
14 [badges]
15 travis-ci = { repository = "serde-rs/json" }
16 appveyor = { repository = "serde-rs/json" }
17
18 [dependencies]
19 serde = "1.0"
20 num-traits = "0.1.32"
21 linked-hash-map = { version = "0.4.1", optional = true }
22 itoa = "0.3"
23 dtoa = "0.4"
24
25 [dev-dependencies]
26 compiletest_rs = "0.2"
27 serde_bytes = "0.10"
28 serde_derive = "1.0"
29
30
31 ### FEATURES #################################################################
32
33 [features]
34 default = []
35
36 # Use LinkedHashMap rather than BTreeMap as the map type of serde_json::Value.
37 # This allows data to be read into a Value and written back to a JSON string
38 # while preserving the order of map keys in the input.
39 preserve_order = ["linked-hash-map"]