blast/Cargo.toml

52 lines
1.2 KiB
TOML

[workspace]
[package]
name = "blast"
version = "0.1.0"
edition = "2021"
description = "Hyprland screenshot tool"
[[bin]]
name = "blast"
path = "src/main.rs"
[[bin]]
name = "blast-gui"
path = "src/gui/main.rs"
required-features = ["gui"]
[features]
default = []
gui = ["dep:eframe", "dep:egui", "dep:egui_extras", "dep:ab_glyph"]
[dependencies]
clap = { version = "4", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
wl-clipboard-rs = "0.9.3"
wayland-client = "0.31"
wayland-protocols-wlr = { version = "0.2", features = ["client"] }
wayland-protocols = { version = "0.31", features = ["client", "staging", "unstable"] }
wayland-scanner = "0.31"
wayland-backend = "0.3"
image = { version = "0.25", default-features=false, features = ["png"] }
png = "0.17"
dirs = "5"
rand = "0.8"
thiserror = "1"
anyhow = "1"
libc = "0.2"
tempfile = "3"
bitflags = "2"
gbm = "0.18"
memmap2 = "0.9"
ab_glyph = { version = "0.2", optional = true }
eframe = { version = "0.29", features = ["wayland"], optional = true }
egui = { version = "0.29", optional = true }
egui_extras = { version = "0.29", features = ["image"], optional = true }
[profile.release]
lto = "fat"
codegen-units = 1
strip = true
panic = "abort"