wlr-shot 1.3.2

Screen capture for wlroots: screenshots, recording and timelapse (H.264, NVENC/VAAPI)
# 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 = "wlr-shot"
version = "1.3.2"
authors = ["Stéphane Jourdois <stephane@jourdois.fr>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Screen capture for wlroots: screenshots, recording and timelapse (H.264, NVENC/VAAPI)"
homepage = "https://github.com/sjourdois/wlr-utils"
readme = "README.md"
keywords = [
    "wayland",
    "wlroots",
    "screenshot",
    "screencapture",
    "sway",
]
categories = [
    "command-line-utilities",
    "multimedia",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sjourdois/wlr-utils"

[package.metadata.deb]
maintainer = "Stéphane Jourdois <stephane@jourdois.fr>"
section = "utils"
priority = "optional"
license-file = [
    "../../LICENSE-MIT",
    "0",
]
depends = "$auto, libegl1"
extended-description = "A screen capture tool for wlroots compositors built on the shared wlr-capture engine: screenshots of an output, a region or a window, plus H.264 recording and timelapse (hardware NVENC/VAAPI, software libx264 fallback)."
assets = [
    [
    "../../target/release/wlr-shot",
    "usr/bin/",
    "755",
],
    [
    "README.md",
    "usr/share/doc/wlr-shot/README.md",
    "644",
],
]

[package.metadata.dist]
dist = false

[features]
audio = [
    "video",
    "wlr-capture/audio",
]
audio-fallback = [
    "audio",
    "wlr-capture/audio-fallback",
]
default = [
    "i18n",
    "video",
    "audio",
]
gpu = ["wlr-capture/gpu"]
i18n = ["wlr-capture/i18n"]
video = [
    "wlr-capture/video",
    "dep:ctrlc",
    "dep:webp",
]

[lib]
name = "wlr_shot"
path = "src/lib.rs"

[[bin]]
name = "wlr-shot"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

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

[dependencies.ctrlc]
version = "3.5"
optional = true

[dependencies.image]
version = "0.25.10"
features = [
    "png",
    "jpeg",
    "pnm",
    "gif",
]
default-features = false

[dependencies.webp]
version = "0.3"
optional = true

[dependencies.wlr-capture]
version = "1.3.2"
features = [
    "overlay",
    "focus",
]
default-features = false