json-syntax 0.13.1

Strict JSON parsing and mapping library
Documentation
# 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 = "2024"
rust-version = "1.96.0"
name = "json-syntax"
version = "0.13.1"
authors = ["Timothée Haudebourg <author@haudebourg.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Strict JSON parsing and mapping library"
documentation = "https://docs.rs/json-syntax"
readme = "README.md"
keywords = [
    "parsing",
    "json",
    "rfc",
    "mapping",
]
categories = [
    "parsing",
    "data-structures",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/timothee-haudebourg/json-syntax"

[package.metadata.docs.rs]
all-features = true

[features]
canonicalize = ["dep:ryu-js"]
default = ["serde"]
miette = ["locspan/miette"]
serde = [
    "dep:serde",
    "smallstr/serde",
]
serde_json = ["dep:serde_json"]

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

[[example]]
name = "serde"
path = "examples/serde.rs"
required-features = ["serde"]

[[example]]
name = "serde_json"
path = "examples/serde_json.rs"
required-features = ["serde_json"]

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

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

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

[dependencies.btree-indexmap]
version = "1.4"

[dependencies.decoded-char]
version = "0.1"

[dependencies.into-owned-trait]
version = "1.0"

[dependencies.lexical]
version = "7.0.1"
features = ["format"]

[dependencies.locspan]
version = "1.0"

[dependencies.ryu-js]
version = "0.2.2"
optional = true

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.smallstr]
version = "0.3"

[dependencies.smallvec]
version = "1.9"

[dependencies.str-newtype]
version = "3.0"

[dependencies.utf8-decode]
version = "2.0"

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

[dev-dependencies.serde_json]
version = "1.0"
features = ["arbitrary_precision"]