# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.70" name = "stgit" version = "2.4.12" authors = [ "Catalin Marinas ", "Peter Grayson ", ] build = "build.rs" exclude = [ "/.github", "Documentation/", "/t", "/contrib/release", "/contrib/wix", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Stack-based patch management for Git" homepage = "https://stacked-git.github.io/" readme = "README.md" keywords = [ "git", "vcs", "cli", "utility", ] categories = ["development-tools"] license = "GPL-2.0-only" repository = "https://github.com/stacked-git/stgit" [package.metadata.deb] 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", ], ] depends = "git" extended-description = "" maintainer = "Peter Grayson " priority = "optional" recommends = "git-email" section = "vcs" [[package.metadata.generate-rpm.assets]] dest = "/usr/bin/" mode = "755" source = "target/release/stg" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/doc/stgit/" mode = "644" source = "README.md" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/licenses/stgit/" mode = "644" source = "COPYING" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/man/man1/" doc = true mode = "644" source = "Documentation/*.1" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/zsh/site-functions/_stg" mode = "644" source = "completion/stgit.zsh" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/fish/vendor_completions.d/" mode = "644" source = "completion/stg.fish" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/bash-completion/completions/stg" mode = "644" source = "completion/stgit.bash" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/vim/vimfiles/ftdetect/" mode = "644" source = "contrib/vim/ftdetect/stg.vim" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/vim/vimfiles/syntax/" mode = "644" source = "contrib/vim/syntax/*.vim" [package.metadata.generate-rpm.requires] git-core = "*" git-email = "*" vim-filesystem = "*" [profile.for-pkg] lto = true inherits = "release" strip = "none" [[bin]] name = "stg" path = "src/main.rs" bench = false [dependencies.anstyle] version = "1.0" features = ["std"] [dependencies.anyhow] version = "1.0" [dependencies.bstr] version = "1.6" features = ["std"] default-features = false [dependencies.bzip2-rs] version = "0.1" [dependencies.clap] version = "~4.5" features = [ "color", "help", "std", "string", "suggestions", "usage", "wrap_help", ] default-features = false [dependencies.ctrlc] version = "3.4" [dependencies.curl] version = "0.4" optional = true [dependencies.encoding_rs] version = "0.8" [dependencies.flate2] version = "1" [dependencies.gix] version = "0.66" features = [ "command", "revision", ] default-features = false [dependencies.indexmap] version = "2.1" [dependencies.is-terminal] version = "0.4" [dependencies.jiff] version = "0.1.10" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.strsim] version = "0.11" [dependencies.tar] version = "0.4" [dependencies.tempfile] version = "3" [dependencies.termcolor] version = "1.4" [dependencies.thiserror] version = "~1.0" [dependencies.winnow] version = "0.6.18" [features] default = ["import-url"] import-url = ["dep:curl"]