-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
47 lines (41 loc) · 1.13 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
[package]
name = "co-author"
version = "0.1.3"
edition = "2021"
license = "AGPL-3.0"
description = "Co-Author your git commits from the command line"
readme = "README.md"
repository = "https://github.com/EricDriussi/co-author"
keywords = ["git", "libgit2", "git2rs", "author", "co-author"]
categories = ["command-line-interface", "command-line-utilities", "development-tools"]
exclude = [
"**/test/**/*",
"**/test_utils/**/*",
]
[dependencies]
git2 = "0.19.0"
clap = { version = "4.5.20", features = ["derive"] }
rustyline = "14.0.0"
colored = "2.1.0"
config = "0.14.1"
[dev-dependencies]
serial_test = "2.0"
strip-ansi = "0.1.0"
parameterized = "1.1.0"
mockall = "0.12.1"
rand = "0.8.5"
uuid = { version = "1.7.0", features = ["v4", "fast-rng"] }
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
enum_glob_use = "deny" # No * imports
pedantic = { level = "deny", priority = -1 }
unwrap_used = "deny" # No unwraps
module_name_repetitions = "allow"
[profile.dev]
opt-level = 1 # Very build-time optimized
[profile.release]
opt-level = "z" # Very size optimized
lto = true # Very optimized
strip = "symbols" # Reduce binary size
panic = "abort"