-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
72 lines (67 loc) · 2.18 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
61
62
63
64
65
66
67
68
69
70
71
72
[package]
name = "git-sumi"
version = "0.0.9" # managed by release script
authors = ["Óscar Fernández <osc@osc.garden>"]
description = "Non-opinionated commit message linter"
edition = "2021"
license = "MIT OR Apache-2.0"
homepage = "https://sumi.rs"
readme = "README.md"
keywords = ["git", "commit", "lint", "conventional-commits", "cli"]
categories = ["command-line-utilities", "development-tools"]
repository = "https://github.com/welpo/git-sumi"
exclude = ["artifacts", "website", "target", "pypi", ".github", "tests", "release", "cliff.toml", "CHANGELOG.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "sumi.toml", ".gitignore"]
[dependencies]
clap = { version = "4.5.4", features = ["derive", "env"] }
clap_complete = "4.5.2"
dirs = "5.0.1"
env_logger = "0.11.3"
git-conventional = "0.12.6"
log = "0.4.21"
prettytable-rs = "0.10"
regex = "1.10.4"
serde = { version = "1.0.200", features = ["derive"] }
serde_json = "1.0.116"
strum = "0.26.2"
strum_macros = "0.26.2"
tabled = "0.16.0"
thiserror = "1.0.59"
toml = "0.8.12"
[dev-dependencies]
assert_cmd = "2.0.14"
predicates = "3.1"
rand = "0.8.5"
tempfile = "3.10.1"
[profile.release]
lto = true
codegen-units = 1
opt-level = "s"
panic = "abort" # Let it crash and force ourselves to write safe Rust.
strip = true
# The profile that 'cargo dist' will build with.
[profile.dist]
inherits = "release"
lto = "thin"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.17.0"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"x86_64-pc-windows-msvc",
]
# Publish jobs to run in CI
pr-run-mode = "plan"
# Don't auto-update release.yml; necessary until cargo-dist can upload to PyPI and crates.io.
# Related issues: https://github.com/axodotdev/cargo-dist/issues/405 and https://github.com/axodotdev/cargo-dist/issues/86
allow-dirty = ["ci"]
# Whether to install an updater program
install-updater = false