-
Notifications
You must be signed in to change notification settings - Fork 48
/
Cargo.toml
60 lines (53 loc) · 1.49 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
56
57
58
59
60
[package]
name = "dotter"
version = "0.13.3"
authors = ["SuperCuber <amit.gold01@gmail.com>"]
description = "A dotfile manager and templater written in rust"
edition = "2021"
repository = "https://github.com/SuperCuber/dotter"
readme = "README.md"
keywords = ["dotter", "dotfiles", "manager"]
categories = ["command-line-utilities"]
license = "Unlicense"
rust-version = "1.70"
[dependencies]
anyhow = "1.*"
clap = { version = "4.0.26", features = ["derive"] }
clap_complete = "4.0.5"
crossterm = "0.25.0"
diff = "0.1.*"
handlebars = "5.*"
hostname = "0.3.*"
log = "0.4.*"
maplit = "1.*"
evalexpr = "11"
serde = { version = "1.*", features = ["derive"] }
shellexpand = "2.*"
simplelog = "0.12.*"
tokio = "1.*"
toml = "0.4.*"
watchexec = { version = "3", optional = true }
watchexec-events = { version = "2.0.1", optional = true }
watchexec-filterer-tagged = { version = "1.0.0", optional = true }
[features]
default = ["scripting", "watch"]
scripting = ["handlebars/script_helper"]
watch = ["watchexec", "watchexec-events", "watchexec-filterer-tagged"]
[dependencies.handlebars_misc_helpers]
version = "0.15.*"
default-features = false
features = ["string", "json"]
[dev-dependencies]
mockall = "0.11.3"
# Enable this instead for better failure messages (on nightly only)
# mockall = { version = "0.9.*", features = ["nightly"] }
[target.'cfg(windows)'.dependencies]
dunce = "1.*"
[target.'cfg(unix)'.dependencies]
libc = "0.2.137"
[profile.release]
strip = true
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"