ron2 0.3.0

RON parser with full AST access, perfect round-trip fidelity, and formatting tools
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.90.0"
name = "ron2"
version = "0.3.0"
authors = [
    "Thomas Schaller <me@torkleyy.com>",
    "Juniper Tyree <juniper.tyree@helsinki.fi>",
    "Dzmitry Malyshau <kvarkus@gmail.com>",
    "Christopher Durham <cad97@cad97.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RON parser with full AST access, perfect round-trip fidelity, and formatting tools"
readme = false
keywords = [
    "parser",
    "serialization",
    "ron",
]
categories = ["encoding"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ron-rs/ron2"

[package.metadata.docs.rs]
features = ["integer128"]
rustdoc-args = ["--generate-link-to-definition"]

[features]
default = ["derive"]
derive = ["dep:ron2-derive"]
integer128 = []
internal-span-substring-test = ["dep:unicode-segmentation"]
xdg = ["dep:dirs"]

[lib]
name = "ron2"
path = "src/lib.rs"

[[test]]
name = "compat"
path = "tests/compat.rs"

[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"

[[test]]
name = "error_quality"
path = "tests/error_quality.rs"

[[test]]
name = "errors"
path = "tests/errors.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "named_types"
path = "tests/named_types.rs"

[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"

[[test]]
name = "schema_generics"
path = "tests/schema_generics.rs"

[[test]]
name = "storage_tests"
path = "tests/storage_tests.rs"

[[test]]
name = "types_tests"
path = "tests/types_tests.rs"

[[test]]
name = "validation_tests"
path = "tests/validation_tests.rs"

[[bench]]
name = "common"
path = "benches/common.rs"

[[bench]]
name = "core"
path = "benches/core.rs"
harness = false

[[bench]]
name = "typed"
path = "benches/typed.rs"
harness = false
required-features = ["derive"]

[dependencies.ahash]
version = "0.8"

[dependencies.bitflags]
version = "2.10"
default-features = false

[dependencies.dirs]
version = "6.0.0"
optional = true

[dependencies.indexmap]
version = "2.13"
features = ["std"]
default-features = false

[dependencies.itoa]
version = "1.0"

[dependencies.ron2-derive]
version = "0.3.0"
optional = true

[dependencies.unicode-ident]
version = "1.0"
default-features = false

[dependencies.unicode-segmentation]
version = "1.12"
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.ron]
version = "0.12"

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.serial_test]
version = "3.3"

[dev-dependencies.tempfile]
version = "3.24"