# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.71"
name = "serde_json"
version = "1.0.150"
authors = [
    "Erick Tryzelaar <erick.tryzelaar@gmail.com>",
    "David Tolnay <dtolnay@gmail.com>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A JSON serialization file format"
documentation = "https://docs.rs/serde_json"
readme = "README.md"
keywords = [
    "json",
    "serde",
    "serialization",
]
categories = [
    "encoding",
    "parser-implementations",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/serde-rs/json"

[package.metadata.docs.rs]
features = [
    "preserve_order",
    "raw_value",
    "unbounded_depth",
]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
    "--generate-link-to-definition",
    "--generate-macro-expansion",
    "--extern-html-root-url=core=https://doc.rust-lang.org",
    "--extern-html-root-url=alloc=https://doc.rust-lang.org",
    "--extern-html-root-url=std=https://doc.rust-lang.org",
]

[package.metadata.playground]
features = [
    "float_roundtrip",
    "raw_value",
    "unbounded_depth",
]

[features]
alloc = ["serde_core/alloc"]
arbitrary_precision = []
default = ["std"]
float_roundtrip = []
preserve_order = [
    "indexmap",
    "std",
]
raw_value = []
std = [
    "memchr/std",
    "serde_core/std",
]
unbounded_depth = []

[lib]
name = "serde_json"
path = "src/lib.rs"

[[test]]
name = "compiletest"
path = "tests/compiletest.rs"

[[test]]
name = "debug"
path = "tests/debug.rs"

[[test]]
name = "lexical"
path = "tests/lexical.rs"

[[test]]
name = "map"
path = "tests/map.rs"

[[test]]
name = "regression"
path = "tests/regression.rs"

[[test]]
name = "stream"
path = "tests/stream.rs"

[[test]]
name = "test"
path = "tests/test.rs"

[dependencies.indexmap]
version = "2.2.3"
optional = true

[dependencies.itoa]
version = "1.0"

[dependencies.memchr]
version = "2"
default-features = false

[dependencies.serde_core]
version = "1.0.220"
default-features = false

[dependencies.zmij]
version = "1.0"

[dev-dependencies.automod]
version = "1.0.11"

[dev-dependencies.indoc]
version = "2.0.2"

[dev-dependencies.ref-cast]
version = "1.0.18"

[dev-dependencies.rustversion]
version = "1.0.13"

[dev-dependencies.serde]
version = "1.0.194"
features = ["derive"]

[dev-dependencies.serde_bytes]
version = "0.11.10"

[dev-dependencies.serde_derive]
version = "1.0.166"

[dev-dependencies.serde_stacker]
version = "0.1.8"

[dev-dependencies.trybuild]
version = "1.0.108"
features = ["diff"]

[target."cfg(any())".dependencies.serde]
version = "1.0.220"
default-features = false
