wayshot 1.5.0

Screenshot crate for wlroots based compositors implementing the zwlr_screencopy_v1 protocol.
# 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 = "2024"
name = "wayshot"
version = "1.5.0"
authors = ["Shinyzenith <https://aakash.is-a.dev>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Screenshot crate for wlroots based compositors implementing the zwlr_screencopy_v1 protocol."
homepage = "https://waycrate.github.io"
documentation = "https://docs.rs/crate/wayshot/latest"
readme = false
keywords = [
    "screenshot",
    "wayland",
    "wlroots",
    "wayshot",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/waycrate/wayshot"

[features]
avif = ["image/avif"]
clipboard = [
    "dep:wl-clipboard-rs",
    "dep:rustix",
]
color_picker = ["selector"]
completions = [
    "dep:clap_complete",
    "dep:clap_complete_nushell",
]
default = [
    "jpeg",
    "pnm",
    "qoi",
    "webp",
    "avif",
    "jxl",
    "clipboard",
    "color_picker",
    "completions",
    "logger",
    "notifications",
    "selector",
]
jpeg = ["image/jpeg"]
jxl = ["dep:jxl-encoder"]
logger = ["dep:tracing-subscriber"]
notifications = [
    "dep:notify-rust",
    "dep:rustix",
]
pnm = ["image/pnm"]
qoi = ["image/qoi"]
selector = ["dep:libwaysip"]
webp = ["image/webp"]

[[bin]]
name = "wayshot"
path = "src/wayshot.rs"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.6"
features = ["derive"]

[dependencies.clap_complete]
version = "4.6"
optional = true

[dependencies.clap_complete_nushell]
version = "4.6"
optional = true

[dependencies.dialoguer]
version = "0.12"
features = ["fuzzy-select"]

[dependencies.dirs]
version = "6.0"

[dependencies.eyre]
version = "0.6"

[dependencies.image]
version = "0.25"
features = ["png"]
default-features = false

[dependencies.jxl-encoder]
version = "0.3"
optional = true

[dependencies.libwayshot]
version = "0.8.0"
default-features = false

[dependencies.libwaysip]
version = "0.6"
optional = true

[dependencies.notify-rust]
version = "4.17"
optional = true

[dependencies.rustix]
version = "1.1"
features = [
    "process",
    "runtime",
]
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.shellexpand]
version = "3.1"

[dependencies.toml]
version = "1.1"
features = [
    "parse",
    "serde",
]
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
optional = true

[dependencies.wl-clipboard-rs]
version = "0.9"
optional = true

[build-dependencies.eyre]
version = "0.6"

[build-dependencies.flate2]
version = "1.1"