[package]
edition = "2024"
name = "omnist"
version = "0.2.2-alpha"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "One data model, many formats: read, validate, and write JSON, YAML, TOML, XML, and OML. (Rust port of https://github.com/omnist-dev/omnist)"
readme = false
license = "Apache-2.0"
repository = "https://github.com/omnist-dev/omnist-rs"
resolver = "2"
[lib]
name = "omnist"
path = "src/lib.rs"
[[example]]
name = "format_registry"
path = "examples/format_registry.rs"
[[example]]
name = "json_roundtrip"
path = "examples/json_roundtrip.rs"
[[example]]
name = "oml_roundtrip"
path = "examples/oml_roundtrip.rs"
[[example]]
name = "schema_algebra"
path = "examples/schema_algebra.rs"
[[example]]
name = "schema_infer"
path = "examples/schema_infer.rs"
[[example]]
name = "schema_validate"
path = "examples/schema_validate.rs"
[[example]]
name = "toml_roundtrip"
path = "examples/toml_roundtrip.rs"
[[example]]
name = "xml_roundtrip"
path = "examples/xml_roundtrip.rs"
[[example]]
name = "yaml_roundtrip"
path = "examples/yaml_roundtrip.rs"
[[test]]
name = "doc_guide"
path = "tests/doc_guide.rs"
[[test]]
name = "examples"
path = "tests/examples.rs"
[[test]]
name = "fuzz"
path = "tests/fuzz.rs"
[[test]]
name = "parity"
path = "tests/parity.rs"
[[bench]]
name = "record_partial_eq"
path = "benches/record_partial_eq.rs"
harness = false
[[bench]]
name = "toml_writer"
path = "benches/toml_writer.rs"
harness = false
[[bench]]
name = "writer_grouped_tree"
path = "benches/writer_grouped_tree.rs"
harness = false
[[bench]]
name = "xml_writer"
path = "benches/xml_writer.rs"
harness = false
[[bench]]
name = "yaml_merge"
path = "benches/yaml_merge.rs"
harness = false
[dependencies.indexmap]
version = "2"
[dependencies.num-bigint]
version = "0.4"
[dependencies.num-traits]
version = "0.2"
[dependencies.quick-xml]
version = "0.41.0"
[dependencies.regex]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.toml_edit]
version = "0.25.13"
features = [
"parse",
"display",
]
default-features = false
[dependencies.yaml-rust2]
version = "0.11.0"
default-features = false
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
features = ["preserve_order"]