-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (54 loc) · 1.9 KB
/
Copy pathCargo.toml
File metadata and controls
57 lines (54 loc) · 1.9 KB
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
[package]
name = "gistui"
version = "0.17.0"
edition = "2021"
license = "MIT"
description = "A terminal UI for managing GitHub Gists"
repository = "https://github.com/akunzai/gistui"
homepage = "https://akunzai.github.io/gistui/"
keywords = ["tui", "gist", "github", "cli", "terminal"]
categories = ["command-line-utilities"]
# Keep the published crate lean: ship the source, user docs and license but not
# the demo harness, site assets, CI config, install scripts or contributor/release
# process docs. The README's demo GIF is referenced by absolute URL, so it still
# renders on crates.io without shipping it.
exclude = [
"/.github",
"/docs",
"/scripts",
"/install.sh",
"/install.ps1",
"/AGENTS.md",
"/CLAUDE.md",
"/CONTRIBUTING.md",
"/RELEASING.md",
"/.gitignore",
]
# Let `cargo binstall gistui` reuse the GitHub Release assets built by release.yml
# (`gistui-vX.Y.Z-<target>.tar.gz`, `.zip` on Windows; each archive holds a
# `gistui-vX.Y.Z-<target>/` dir with the binary). Takes effect from the next
# published version onward.
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/gistui-v{ version }-{ target }{ archive-suffix }"
bin-dir = "gistui-v{ version }-{ target }/{ bin }{ binary-ext }"
[dependencies]
# Direct deps audited (issue #226 / cargo-machete): all are referenced under src/.
anyhow = "1"
clap = { version = "4", features = ["derive"] }
crossterm = "0.29"
dirs = "6"
flate2 = "1"
ratatui = "0.30"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
sha2 = "0.11"
similar = "3"
synoptic = "2.2.9"
tar = "0.4"
toml = "1.1"
ureq = "3"
# Only DEFLATE is needed: the Windows release asset is built with PowerShell
# Compress-Archive (always DEFLATE) and upgrade.rs only reads entries by name.
zip = { version = "8", default-features = false, features = ["deflate"] }
[dev-dependencies]
tempfile = "3"