[package]
edition = "2021"
rust-version = "1.85"
name = "reliakit-json"
version = "0.2.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Strict, bounded, and deterministic JSON for reliability-sensitive Rust. no_std + alloc, zero-dependency."
homepage = "https://github.com/satyakwok/reliakit"
documentation = "https://docs.rs/reliakit-json"
readme = "README.md"
keywords = [
"json",
"strict",
"no-std",
"deterministic",
"reliability",
]
categories = [
"parser-implementations",
"encoding",
"no-std",
]
license = "MIT"
repository = "https://github.com/satyakwok/reliakit"
[package.metadata.docs.rs]
all-features = true
[features]
canonical = []
default = ["std"]
primitives = [
"dep:reliakit-primitives",
"reliakit-primitives/alloc",
]
std = [
"reliakit-primitives?/std",
"reliakit-validate?/std",
]
validate = [
"primitives",
"dep:reliakit-validate",
"reliakit-validate/alloc",
]
[lib]
name = "reliakit_json"
path = "src/lib.rs"
[[example]]
name = "json_basic"
path = "examples/basic.rs"
[dependencies.reliakit-primitives]
version = "0.4"
optional = true
default-features = false
[dependencies.reliakit-validate]
version = "0.3.1"
optional = true
default-features = false
[lints.rust]
unsafe_code = "forbid"