[package]
edition = "2021"
rust-version = "1.70"
name = "yaml-edit"
version = "0.3.3"
authors = ["Jelmer Vernooij <jelmer@debian.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lossless parser and editor for YAML files"
homepage = "https://github.com/jelmer/yaml-edit"
documentation = "https://docs.rs/yaml-edit"
readme = "README.md"
keywords = [
"yaml",
"parser",
"lossless",
"edit",
]
categories = ["parser-implementations"]
license = "Apache-2.0"
repository = "https://github.com/jelmer/yaml-edit"
[features]
binary = ["base64"]
default = ["binary"]
regex = ["dep:regex"]
[lib]
name = "yaml_edit"
path = "src/lib.rs"
[[example]]
name = "anchors"
path = "examples/anchors.rs"
[[example]]
name = "directive_example"
path = "examples/directive_example.rs"
[[example]]
name = "edit_example"
path = "examples/edit_example.rs"
[[example]]
name = "merge_keys_example"
path = "examples/merge_keys_example.rs"
[[example]]
name = "validator_demo"
path = "examples/validator_demo.rs"
[[test]]
name = "anchors"
path = "tests/anchors.rs"
[[test]]
name = "block_scalars"
path = "tests/block_scalars.rs"
[[test]]
name = "builder"
path = "tests/builder.rs"
[[test]]
name = "compatibility"
path = "tests/compatibility.rs"
[[test]]
name = "copy"
path = "tests/copy.rs"
[[test]]
name = "documents"
path = "tests/documents.rs"
[[test]]
name = "edit_invariants"
path = "tests/edit_invariants.rs"
[[test]]
name = "errors"
path = "tests/errors.rs"
[[test]]
name = "flow"
path = "tests/flow.rs"
[[test]]
name = "indentation"
path = "tests/indentation.rs"
[[test]]
name = "insert_remove"
path = "tests/insert_remove.rs"
[[test]]
name = "invariants"
path = "tests/invariants.rs"
[[test]]
name = "keys"
path = "tests/keys.rs"
[[test]]
name = "lex_snapshot"
path = "tests/lex_snapshot.rs"
[[test]]
name = "mappings"
path = "tests/mappings.rs"
[[test]]
name = "migrate_yaml_1_1"
path = "tests/migrate_yaml_1_1.rs"
[[test]]
name = "parsing"
path = "tests/parsing.rs"
[[test]]
name = "paths"
path = "tests/paths.rs"
[[test]]
name = "positions"
path = "tests/positions.rs"
[[test]]
name = "proptest_invariants"
path = "tests/proptest_invariants.rs"
[[test]]
name = "quoting"
path = "tests/quoting.rs"
[[test]]
name = "reorder"
path = "tests/reorder.rs"
[[test]]
name = "schema"
path = "tests/schema.rs"
[[test]]
name = "set"
path = "tests/set.rs"
[[test]]
name = "spec_examples"
path = "tests/spec_examples.rs"
[[test]]
name = "tags"
path = "tests/tags.rs"
[[test]]
name = "trivia"
path = "tests/trivia.rs"
[[test]]
name = "validator"
path = "tests/validator.rs"
[[test]]
name = "values"
path = "tests/values.rs"
[[test]]
name = "visitor"
path = "tests/visitor.rs"
[[test]]
name = "yaml_test_suite"
path = "tests/yaml_test_suite.rs"
[[test]]
name = "yaml_value_roundtrip"
path = "tests/yaml_value_roundtrip.rs"
[[bench]]
name = "scaling"
path = "benches/scaling.rs"
harness = false
[[bench]]
name = "yaml_stress_tests"
path = "benches/yaml_stress_tests.rs"
harness = false
[dependencies.base64]
version = "0.22"
optional = true
[dependencies.regex]
version = "1"
optional = true
[dependencies.rowan]
version = "0.16"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"