mirror of
https://github.com/serde-rs/json.git
synced 2026-03-13 17:57:45 +00:00
47 lines
1.6 KiB
TOML
47 lines
1.6 KiB
TOML
[package]
|
|
name = "serde_json"
|
|
version = "1.0.13" # 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" }
|
|
|
|
[dependencies]
|
|
serde = "1.0"
|
|
num-traits = { version = "0.2", default-features = false }
|
|
linked-hash-map = { version = "0.5", optional = true }
|
|
itoa = "0.4"
|
|
dtoa = "0.4"
|
|
|
|
[dev-dependencies]
|
|
compiletest_rs = "0.3"
|
|
serde_bytes = "0.10"
|
|
serde_derive = "1.0"
|
|
|
|
|
|
### FEATURES #################################################################
|
|
|
|
[features]
|
|
default = []
|
|
|
|
# Use LinkedHashMap rather than BTreeMap as 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 = ["linked-hash-map"]
|
|
|
|
# Use `String` to represent numbers internally, thus allowing the serialization
|
|
# and deserialization of numbers of arbitrary size/precision, instead of just
|
|
# the primitive integers and floats.
|
|
# This feature does not provide provide the ability to do arithmetic on
|
|
# arbitrary-precision numbers; this is left to the discretion of the consumer.
|
|
arbitrary_precision = []
|