[package]
edition = "2024"
rust-version = "1.87"
name = "raoh"
version = "0.1.0"
build = false
exclude = [
".github/",
"scripts/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Decoders that turn untyped JSON into typed domain values, reporting every issue with its path"
readme = "README.md"
keywords = [
"decoder",
"validation",
"json",
"parse",
"domain",
]
categories = [
"parsing",
"encoding",
]
license = "Apache-2.0"
repository = "https://github.com/kawasima/raoh-rust"
[package.metadata.docs.rs]
all-features = true
[features]
decimal = ["dep:rust_decimal"]
regex = ["dep:regex"]
url = ["dep:url"]
uuid = ["dep:uuid"]
[lib]
name = "raoh"
path = "src/lib.rs"
[[test]]
name = "combinators"
path = "tests/combinators.rs"
[[test]]
name = "compat"
path = "tests/compat.rs"
[[test]]
name = "trybuild"
path = "tests/trybuild.rs"
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.regex]
version = "1"
optional = true
[dependencies.rust_decimal]
version = "1"
optional = true
[dependencies.serde]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.url]
version = "2"
optional = true
[dependencies.uuid]
version = "1"
optional = true
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dev-dependencies.trybuild]
version = "1"