[package]
edition = "2024"
rust-version = "1.88"
name = "weavatrix-edit"
version = "0.1.7"
authors = ["Sergii Ziborov <sergii.ziborov@gmail.com>"]
build = false
exclude = [
"tools/**",
"benchmark-results/**",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic, Unicode-safe edit-plan validation and application for source refactoring"
homepage = "https://weavatrix.com"
documentation = "https://docs.rs/weavatrix-edit"
readme = "README.md"
keywords = [
"refactoring",
"unicode",
"text-edit",
"source-code",
"weavatrix",
]
categories = [
"development-tools",
"text-processing",
]
license = "MIT"
repository = "https://github.com/sergii-ziborov/weavatrix-edit"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "weavatrix_edit"
path = "src/lib.rs"
[[test]]
name = "api_edges"
path = "tests/api_edges.rs"
[[test]]
name = "batch"
path = "tests/batch.rs"
[[test]]
name = "borrowed_validation"
path = "tests/borrowed_validation.rs"
[[test]]
name = "coordinates"
path = "tests/coordinates.rs"
[[test]]
name = "declared_divergence"
path = "tests/declared_divergence.rs"
[[test]]
name = "decode_bench"
path = "tests/decode_bench.rs"
[[test]]
name = "diagnostics"
path = "tests/diagnostics.rs"
[[test]]
name = "envelope_wire"
path = "tests/envelope_wire.rs"
[[test]]
name = "error_wire"
path = "tests/error_wire.rs"
[[test]]
name = "js_parity"
path = "tests/js_parity.rs"
[[test]]
name = "line_index_limits"
path = "tests/line_index_limits.rs"
[[test]]
name = "prepared"
path = "tests/prepared.rs"
[[test]]
name = "preview"
path = "tests/preview.rs"
[[test]]
name = "randomized"
path = "tests/randomized.rs"
[[test]]
name = "union_limits"
path = "tests/union_limits.rs"
[[test]]
name = "validation_plan"
path = "tests/validation_plan.rs"
[[test]]
name = "validation_wire"
path = "tests/validation_wire.rs"
[[test]]
name = "writer"
path = "tests/writer.rs"
[[bench]]
name = "edit_engine"
path = "benches/edit_engine.rs"
harness = false
[dependencies.blazingly-json]
version = "0.1.0"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"
[lints.clippy]
missing_errors_doc = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"