Skip to content

Commit

Permalink
refactor: whitespace in Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jpgrayson committed Sep 3, 2023
1 parent fa2feb6 commit bccfd17
Showing 1 changed file with 62 additions and 21 deletions.
83 changes: 62 additions & 21 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,20 @@ flate2 = "1"
gix = { version = "0.52", default-features = false, features = [] }
indexmap = "2.0"
is-terminal = "0.4"
nom = { version = "7", default_features = false, features = [ "std" ] }
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"] }
time = { version = "0.3.23", default-features = false, features = [
"local-offset",
"formatting",
"macros",
"parsing",
] }

curl = { version = "0.4", optional = true }

Expand All @@ -58,25 +63,6 @@ inherits = "release"
lto = true
strip = "none"

[package.metadata.deb]
maintainer = "Peter Grayson <pete@jpgrayson.net>"
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" },
Expand All @@ -90,3 +76,58 @@ assets = [
{ source = "contrib/vim/syntax/*.vim", dest = "/usr/share/vim/vimfiles/syntax/", mode = "644" },
]
requires = { git-core = "*", git-email = "*", vim-filesystem = "*" }

[package.metadata.deb]
maintainer = "Peter Grayson <pete@jpgrayson.net>"
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",
],
]

0 comments on commit bccfd17

Please sign in to comment.