[dependencies.proc-macro2]
features = ["span-locations"]
optional = true
version = "1.0"
[dependencies.tempfile]
version = "3.10"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.ctor]
version = "0.4"
[dev-dependencies.regex]
version = "1.0"
[features]
__check-proc-macro2-spans = []
check-offsets = []
check-rewrites = []
proc-macro2-impl = ["proc-macro2"]
proc-macro2-span = ["proc-macro2-impl"]
[lib]
name = "rewriter"
path = "src/lib.rs"
[lints.clippy]
missing-errors-doc = "allow"
missing-panics-doc = "allow"
struct-field-names = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(dylint_lib, values(any()))"]
level = "deny"
priority = 0
[package]
authors = ["Samuel Moelius <sam@moeli.us>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Rust utilities for rewriting files"
edition = "2024"
license = "MIT OR Apache-2.0"
name = "rewriter"
readme = "README.md"
repository = "https://github.com/smoelius/rewriter"
version = "0.2.0"
[[test]]
name = "ci"
path = "tests/ci.rs"