blob: b45b9176eacc8b54cfbb217fdce06f71aa4c9886 [file] [log] [blame]
[package]
name = "serde_json"
version = "1.0.24" # remember to update html_root_url
authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>", "David Tolnay <dtolnay@gmail.com>"]
license = "MIT/Apache-2.0"
description = "A JSON serialization file format"
repository = "https://github.com/serde-rs/json"
documentation = "http://docs.serde.rs/serde_json/"
keywords = ["json", "serde", "serialization"]
categories = ["encoding"]
readme = "README.md"
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
[badges]
travis-ci = { repository = "serde-rs/json" }
appveyor = { repository = "serde-rs/json" }
[target.'cfg(not(target_env = "sgx"))'.dependencies]
sgx_tstd = { path = "../../../sgx_tstd" }
[dependencies]
serde = { path = "../serde/serde", version = "1.0.60" }
indexmap = { version = "1.0", optional = true }
itoa = { path = "../../itoa", version = "0.4" }
dtoa = { path = "../../dtoa", version = "0.4" }
[dev-dependencies]
compiletest_rs = "0.3"
serde_bytes = "0.10"
serde_derive = "1.0"
### FEATURES #################################################################
[features]
default = []
# Use a different representation for the map type of serde_json::Value.
# 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.
preserve_order = ["indexmap"]
# 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.
arbitrary_precision = []