yaml-edit 0.2.2

A lossless parser and editor for YAML files
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 = "2021"
rust-version = "1.70"
name = "yaml-edit"
version = "0.2.2"
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 = "additional_edge_cases_test"
path = "tests/additional_edge_cases_test.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[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"]