json-streaming 1.0.5

a library for reading and writing JSON from / to a stream without the need to materialize the data in memory. Provides both blocking and async APIs.
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"
name = "json-streaming"
version = "1.0.5"
authors = ["Arno Haase <arno.haase@haase-consulting.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "a library for reading and writing JSON from / to a stream without the need to materialize the data in memory. Provides both blocking and async APIs."
documentation = "https://docs.rs/json-streaming"
readme = "README.md"
keywords = [
    "json",
    "streaming",
    "async",
    "no-std",
    "no_std",
]
categories = [
    "no-std",
    "no-std::no-alloc",
    "parser-implementations",
    "web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/arnohaase/json-streaming"

[features]
blocking = []
default = [
    "blocking",
    "std",
    "non-blocking",
]
non-blocking = ["std"]
std = []
tokio = [
    "non-blocking",
    "std",
]

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

[[example]]
name = "arrays"
path = "examples/arrays.rs"

[[example]]
name = "blocking"
path = "examples/blocking.rs"
required-features = [
    "blocking",
    "std",
]

[[example]]
name = "float_format"
path = "examples/float_format.rs"
required-features = [
    "blocking",
    "std",
]

[[example]]
name = "jsonlines"
path = "examples/jsonlines.rs"
required-features = [
    "blocking",
    "std",
]

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

[[example]]
name = "non-blocking"
path = "examples/non_blocking.rs"
required-features = ["tokio"]

[[example]]
name = "number_parsing"
path = "examples/number_parsing.rs"
required-features = [
    "blocking",
    "std",
]

[[example]]
name = "skipping"
path = "examples/skipping.rs"
required-features = [
    "blocking",
    "std",
]

[dependencies.async-trait]
version = "0.1"

[dependencies.tokio]
version = "1"
features = ["io-util"]
default-features = false

[dev-dependencies.rstest]
version = "0.26"

[dev-dependencies.tokio]
version = "1.47"
features = [
    "macros",
    "rt-multi-thread",
    "rt",
]
default-features = false