40 lines
1.0 KiB
TOML
40 lines
1.0 KiB
TOML
[package]
|
|
name = "cliphoard"
|
|
version = "1.3.0"
|
|
edition = "2021"
|
|
description = "A tiny, keyboard-first clipboard history utility"
|
|
license = "MIT"
|
|
default-run = "cliphoard"
|
|
|
|
[features]
|
|
default = []
|
|
x11 = ["dep:x11rb", "dep:x11-clipboard"]
|
|
gui = ["x11", "dep:gtk4", "dep:gdk4-x11", "dep:glib", "dep:ksni"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
dirs = "6.0"
|
|
rusqlite = { version = "0.32", features = ["bundled-sqlcipher-vendored-openssl"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
sha2 = "0.10"
|
|
thiserror = "2.0"
|
|
toml = "0.8"
|
|
zeroize = "1.8"
|
|
tracing = "0.1"
|
|
tracing-appender = "0.2"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
|
|
fs2 = "0.4"
|
|
libc = "0.2"
|
|
|
|
gtk4 = { version = "0.9", optional = true }
|
|
gdk4-x11 = { version = "0.9", optional = true }
|
|
glib = { version = "0.20", optional = true }
|
|
ksni = { version = "0.2.2", optional = true }
|
|
x11rb = { version = "0.13", features = ["allow-unsafe-code", "xtest"], optional = true }
|
|
x11-clipboard = { version = "0.9", optional = true }
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
strip = true
|