[package] name = "onchg" version = "0.1.6" edition = "2021" description = "Keep blocks in sync across different files in your codebase." authors = ["Assil Ksiksi "] readme = "README.md" homepage = "https://github.com/aksiksi/onchg-rs" repository = "https://github.com/aksiksi/onchg-rs" # Verified using: https://lib.rs/crates/cargo-license license = "MIT" [[bin]] name = "onchg" path = "src/main.rs" [profile.release] # https://doc.rust-lang.org/cargo/reference/profiles.html lto = "thin" strip = true [features] default = [] git = ["git2"] [dependencies] anyhow = "1.0.75" base64 = "0.21.4" bstr = "1.6.2" clap = { version = "4.4.4", features = ["derive", "string"] } env_logger = "0.10.0" # We only need local Git repo support. Default features enable remote clone & fetch. git2 = { version = "0.18", optional = true, default-features = false } ignore = "0.4.20" lazy_static = "1.4.0" log = "0.4.20" patch = "0.7.0" rand = "0.8.5" rayon = "1.8.0" regex = "1.9.5" tempfile = "3.8.0" [dev-dependencies] assert_cmd = "2" criterion = "0.3" indoc = "2.0.4" predicates = "3.0.4" [[bench]] name = "directory" harness = false [[bench]] name = "repo" harness = false