latchshot 0.2.1

A lightweight yet intelligent window-aware screenshot tool
Documentation
# 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 = "latchshot"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight yet intelligent window-aware screenshot tool"
readme = "README.md"
license = "MIT"
repository = "https://github.com/so1ve/latchshot"

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

[[bin]]
name = "latchshot"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.104"

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

[dependencies.env_logger]
version = "0.11"

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

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

[dependencies.log]
version = "0.4"

[dependencies.notify-rust]
version = "4.18.0"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.smithay-client-toolkit]
version = "0.21.1"
features = ["xkbcommon"]
default-features = false

[dependencies.wayland-client]
version = "0.31.15"

[dependencies.wayland-protocols]
version = "0.32.13"
features = ["client"]

[lints.clippy]
all = "warn"
clone_on_ref_ptr = "warn"
default_trait_access = "warn"
disallowed_methods = "warn"
enum_glob_use = "warn"
fn_params_excessive_bools = "warn"
format_collect = "warn"
format_push_string = "warn"
implicit_clone = "warn"
items_after_statements = "warn"
manual_let_else = "warn"
manual_string_new = "warn"
match_same_arms = "warn"
match_wildcard_for_single_variants = "warn"
missing_const_for_fn = "warn"
must_use_candidate = "warn"
needless_pass_by_value = "warn"
redundant_pub_crate = "warn"
semicolon_if_nothing_returned = "warn"
single_match_else = "warn"
struct_excessive_bools = "warn"
undocumented_unsafe_blocks = "warn"
uninlined_format_args = "warn"
unnecessary_literal_bound = "warn"
use_self = "warn"
verbose_file_reads = "warn"
wildcard_imports = "warn"

[profile.release]
lto = "thin"
codegen-units = 1