[package]
edition = "2021"
name = "nextjson"
version = "0.1.4"
authors = ["blueokanna"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A dependency-free, no_std data-contract engine: schema-first, multi-format, reuse-first JSON/CBOR and 16 wire formats."
documentation = "https://docs.rs/nextjson"
readme = "README.md"
keywords = [
"json",
"cbor",
"serialization",
"deserialization",
"parser",
]
categories = [
"encoding",
"parser-implementations",
"no-std",
]
license = "Apache-2.0"
repository = "https://github.com/blueokanna/NextJson"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = [
"std",
"derive",
]
derive = ["dep:nextjson-derive"]
simd = []
std = []
[lib]
name = "nextjson"
path = "src/lib.rs"
[[example]]
name = "contract_engine"
path = "examples/contract_engine.rs"
[[example]]
name = "cross_format_relay"
path = "examples/cross_format_relay.rs"
[[example]]
name = "custom_codec"
path = "examples/custom_codec.rs"
[[example]]
name = "multi_format"
path = "examples/multi_format.rs"
[[example]]
name = "streaming_reader"
path = "examples/streaming_reader.rs"
[[example]]
name = "zero_copy_reuse"
path = "examples/zero_copy_reuse.rs"
[[test]]
name = "compat"
path = "tests/compat.rs"
[[test]]
name = "contract"
path = "tests/contract.rs"
[[test]]
name = "coverage"
path = "tests/coverage.rs"
[[test]]
name = "coverage_api"
path = "tests/coverage_api.rs"
[[test]]
name = "coverage_bin"
path = "tests/coverage_bin.rs"
[[test]]
name = "coverage_codecs"
path = "tests/coverage_codecs.rs"
[[test]]
name = "coverage_errors"
path = "tests/coverage_errors.rs"
[[test]]
name = "coverage_fuzz"
path = "tests/coverage_fuzz.rs"
[[test]]
name = "coverage_std"
path = "tests/coverage_std.rs"
[[test]]
name = "coverage_stream"
path = "tests/coverage_stream.rs"
[[test]]
name = "coverage_yaml"
path = "tests/coverage_yaml.rs"
[[test]]
name = "cross_error"
path = "tests/cross_error.rs"
[[test]]
name = "cross_format"
path = "tests/cross_format.rs"
[[test]]
name = "derive"
path = "tests/derive.rs"
[[test]]
name = "derive_edge"
path = "tests/derive_edge.rs"
[[test]]
name = "enums"
path = "tests/enums.rs"
[[test]]
name = "equivalence"
path = "tests/equivalence.rs"
[[test]]
name = "event_model"
path = "tests/event_model.rs"
[[test]]
name = "format_deep"
path = "tests/format_deep.rs"
[[test]]
name = "format_typed"
path = "tests/format_typed.rs"
[[test]]
name = "format_wire"
path = "tests/format_wire.rs"
[[test]]
name = "formats"
path = "tests/formats.rs"
[[test]]
name = "formats_new"
path = "tests/formats_new.rs"
[[test]]
name = "generics"
path = "tests/generics.rs"
[[test]]
name = "misc"
path = "tests/misc.rs"
[[test]]
name = "number_map"
path = "tests/number_map.rs"
[[test]]
name = "policy"
path = "tests/policy.rs"
[[test]]
name = "robustness"
path = "tests/robustness.rs"
[[test]]
name = "security_audit"
path = "tests/security_audit.rs"
[[test]]
name = "serde_compat"
path = "tests/serde_compat.rs"
[[test]]
name = "ubjson_deep"
path = "tests/ubjson_deep.rs"
[[test]]
name = "value"
path = "tests/value.rs"
[[bench]]
name = "format_comparison"
path = "benches/format_comparison.rs"
harness = false
[dependencies.nextjson-derive]
version = "0.1.4"
optional = true