chore: remove unused deps; format with taplo

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: If575be0b2c6f1f8b8eac6cacaa2784606a6a6964
This commit is contained in:
raf 2025-10-27 11:10:37 +03:00
commit c95d9a4567
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
3 changed files with 211 additions and 33 deletions

View file

@ -10,26 +10,27 @@ repository = "https://github.com/notashelf/stash"
rust-version = "1.85"
[[bin]]
name = "stash" # actual binary name for Nix, Cargo, etc.
name = "stash" # actual binary name for Nix, Cargo, etc.
path = "src/main.rs"
[features]
default = ["use-toplevel", "notifications"]
use-toplevel = ["dep:wayland-client", "dep:wayland-protocols", "dep:wayland-protocols-wlr"]
use-toplevel = ["dep:wayland-client", "dep:wayland-protocols-wlr"]
notifications = ["dep:notify-rust"]
[dependencies]
clap = { version = "4.5.48", features = ["derive", "env"] }
clap-verbosity-flag = "3.0.4"
ctrlc = "3.5.0"
color-eyre = "0.6.5"
dirs = "6.0.0"
imagesize = "0.14.0"
inquire = { default-features = false, version = "0.9.1", features = [
"crossterm",
"crossterm",
] }
log = "0.4.28"
env_logger = "0.11.8"
thiserror = "2.0.17"
libc = "0.2"
wl-clipboard-rs = "0.9.2"
rusqlite = { version = "0.37.0", features = ["bundled"] }
smol = "2.0.2"
@ -41,9 +42,8 @@ ratatui = "0.29.0"
crossterm = "0.29.0"
unicode-segmentation = "1.12.0"
unicode-width = "0.2.0" # FIXME: held back by ratatui
wayland-client = { version = "0.31.11", optional = true }
wayland-protocols = { version = "0.32.0", optional = true }
wayland-protocols-wlr = { version = "0.3.9", optional = true }
wayland-client = { version = "0.31.11", features = ["log"], optional = true }
wayland-protocols-wlr = { version = "0.3.9", default-features = false, optional = true }
notify-rust = { version = "4.11.7", optional = true }
[profile.release]