-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
51 lines (45 loc) · 1.42 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
[workspace]
members = [".", "xtask"]
[package]
name = "fixit-cli"
version = "0.9.0"
edition = "2021"
license = "MIT"
authors = [ "Yevhenii Babichenko <[email protected]>" ]
homepage = "https://github.com/eugene-babichenko/fixit"
repository = "https://github.com/eugene-babichenko/fixit"
readme = "README.md"
categories = [ "command-line-utilities" ]
description = "A utility to fix mistakes in your commands."
[[bin]]
name = "fixit"
path = "src/main.rs"
[package.metadata.deb]
name = "fixit"
[profile.release]
# The goal here is to optimize for the binary size without sacrifising any
# performance mostly by stripping any unnecessary code and data as much as
# possible on stable rustc.
strip = "symbols"
lto = true
panic = "abort"
# This does slightly reduce the binary size, but the gains are marginal and not
# worth the increased compilation time.
# codegen-units = 1
[dependencies]
# This project is conscious about its dependencies. Only add them if you really
# need to. Be aware of crates features, and only enable what is needed.
clap = { version = "4", features = ["derive", "env"] }
ctrlc = { version = "3", features = ["termination"] }
dialoguer = { version = "0.11", default-features = false }
env_logger = "0.11"
log = "0.4"
regex = "1"
rinja = "0.3.5"
strsim = "0.11"
tempfile = "3.12.0"
thiserror = "2"
[dev-dependencies]
expectrl = "0.7.1"
rstest = { version = "0.21.0", default-features = false }
xshell = "0.2.6"