-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
55 lines (48 loc) · 1.16 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[package]
name = "onchg"
version = "0.1.6"
edition = "2021"
description = "Keep blocks in sync across different files in your codebase."
authors = ["Assil Ksiksi <[email protected]>"]
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