aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml.orig
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r--Cargo.toml.orig23
1 files changed, 13 insertions, 10 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
index 1513e9b..3e8fa0d 100644
--- a/Cargo.toml.orig
+++ b/Cargo.toml.orig
@@ -1,27 +1,28 @@
[package]
name = "serde_json"
-version = "1.0.79" # remember to update html_root_url
+version = "1.0.93" # remember to update html_root_url
authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>", "David Tolnay <dtolnay@gmail.com>"]
-license = "MIT OR Apache-2.0"
+categories = ["encoding", "parser-implementations", "no-std"]
description = "A JSON serialization file format"
-repository = "https://github.com/serde-rs/json"
-documentation = "https://docs.serde.rs/serde_json/"
-keywords = ["json", "serde", "serialization"]
-categories = ["encoding"]
-readme = "README.md"
+documentation = "https://docs.rs/serde_json"
edition = "2018"
+keywords = ["json", "serde", "serialization"]
+license = "MIT OR Apache-2.0"
+repository = "https://github.com/serde-rs/json"
rust-version = "1.36"
[dependencies]
serde = { version = "1.0.100", default-features = false }
-indexmap = { version = "1.5", optional = true }
+indexmap = { version = "1.5.2", features = ["std"], optional = true }
itoa = "1.0"
ryu = "1.0"
[dev-dependencies]
automod = "1.0"
+indoc = "2.0"
ref-cast = "1.0"
rustversion = "1.0"
+serde = { version = "1.0.100", features = ["derive"] }
serde_bytes = "0.11"
serde_derive = "1.0"
serde_stacker = "0.1"
@@ -30,6 +31,9 @@ trybuild = { version = "1.0.49", features = ["diff"] }
[workspace]
members = ["tests/crate"]
+[lib]
+doc-scrape-examples = false
+
[package.metadata.docs.rs]
features = ["raw_value", "unbounded_depth"]
targets = ["x86_64-unknown-linux-gnu"]
@@ -49,13 +53,12 @@ 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.
-# Available on Rust 1.36+.
alloc = ["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.
-preserve_order = ["indexmap"]
+preserve_order = ["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