forked from stacked-git/stgit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
92 lines (85 loc) · 3.05 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[package]
name = "stgit"
version = "2.3.0"
description = "Stack-based patch management for Git"
edition = "2021"
rust-version = "1.64"
authors = [
"Catalin Marinas <[email protected]>",
"Peter Grayson <[email protected]>",
]
license = "GPL-2.0-only"
homepage = "https://stacked-git.github.io/"
repository = "https://github.com/stacked-git/stgit"
[[bin]]
bench = false
path = "src/main.rs"
name = "stg"
[dependencies]
anyhow = "1.0"
anstyle = { version = "1.0", features = ["std"] }
bstr = { version = "1.6", default-features = false, features = ["std"] }
bzip2-rs = "0.1"
clap = { version = "~4.3", default-features = false, features = [
"color",
"help",
"std",
"string",
"suggestions",
"usage",
"wrap_help",
] }
ctrlc = "3.4"
encoding_rs = "0.8"
flate2 = "1"
gix = { version = "0.49", default-features = false, features = [] }
indexmap = "2.0"
is-terminal = "0.4"
nom = { version = "7", default_features = false, features = [ "std" ] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
strsim = "0.10"
tar = "0.4"
tempfile = "3"
termcolor = "1.1"
thiserror = "~1.0"
time = { version = "0.3.23", default-features = false, features = ["local-offset", "formatting", "macros", "parsing"] }
curl = { version = "0.4", optional = true }
[features]
default = ["import-url"]
import-url = ["dep:curl"]
[profile.for-pkg]
inherits = "release"
lto = true
strip = "none"
[package.metadata.deb]
maintainer = "Peter Grayson <[email protected]>"
section = "vcs"
priority = "optional"
depends = "git"
recommends = "git-email"
extended-description = ""
assets = [
["target/release/stg", "usr/bin/", "755"],
["README.md", "usr/share/doc/stgit/", "644"],
["COPYING", "usr/share/doc/stgit/copyright", "644"],
["Documentation/*.1", "usr/share/man/man1/", "644"],
["completion/stgit.zsh", "usr/share/zsh/vendor-completions/_stg", "644"],
["completion/stg.fish", "usr/share/fish/vendor-completions.d/", "644"],
["completion/stgit.bash", "usr/share/bash-completion/completions/stg", "644"],
["contrib/vim/ftdetect/stg.vim", "usr/share/vim/addons/ftdetect/", "644"],
["contrib/vim/syntax/*.vim", "usr/share/vim/addons/syntax/", "644"],
]
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/stg", dest = "/usr/bin/", mode = "755" },
{ source = "README.md", dest = "/usr/share/doc/stgit/", mode = "644" },
{ source = "COPYING", dest = "/usr/share/licenses/stgit/", mode = "644" },
{ source = "Documentation/*.1", dest = "/usr/share/man/man1/", mode = "644", doc = true },
{ source = "completion/stgit.zsh", dest = "/usr/share/zsh/site-functions/_stg", mode = "644" },
{ source = "completion/stg.fish", dest = "/usr/share/fish/vendor_completions.d/", mode = "644" },
{ source = "completion/stgit.bash", dest = "/usr/share/bash-completion/completions/stg", mode = "644" },
{ source = "contrib/vim/ftdetect/stg.vim", dest = "/usr/share/vim/vimfiles/ftdetect/", mode = "644" },
{ source = "contrib/vim/syntax/*.vim", dest = "/usr/share/vim/vimfiles/syntax/", mode = "644" },
]
requires = { git-core = "*", git-email = "*", vim-filesystem = "*" }