[package]
edition = "2024"
rust-version = "1.85"
name = "json-bourne"
version = "0.2.0"
build = false
exclude = [
"tests/",
"fuzz/",
"*.svg",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-driven JSON parser. no_std-first. Zero-dep."
readme = false
license = "MIT"
repository = "https://github.com/illuminodes/bourne"
[features]
alloc = []
default = ["std"]
derive = ["dep:bourne-derive"]
indexmap = [
"dep:indexmap",
"alloc",
]
std = [
"alloc",
"indexmap?/std",
]
[lib]
name = "json_bourne"
path = "src/lib.rs"
[dependencies.bourne-derive]
version = "=0.2.0"
optional = true
[dependencies.indexmap]
version = "2"
optional = true
default-features = false
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
single_match_else = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(bourne_no_simd)"]