hyprshell 4.9.4

A modern GTK4-based window switcher and application launcher for Hyprland
# 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"
rust-version = "1.91.0"
name = "hyprshell"
version = "4.9.4"
authors = ["h3rmt"]
build = false
exclude = [
    ".idea/*",
    ".github/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A modern GTK4-based window switcher and application launcher for Hyprland"
documentation = "https://docs.rs/hyprshell"
readme = "README.md"
keywords = ["hyprland"]
categories = []
license = "MIT"
repository = "https://github.com/h3rmt/hyprshell/"

[features]
ci_config_check = ["config-lib/ci_no_default_config_values"]
clipboard_compress_brotli = ["clipboard-lib/compress_brotli"]
clipboard_compress_lz4 = ["clipboard-lib/compress_lz4"]
clipboard_compress_zstd = ["clipboard-lib/compress_zstd"]
clipboard_encrypt_aes_gcm = ["clipboard-lib/encrypt_aes_gcm"]
clipboard_encrypt_chacha20poly1305 = ["clipboard-lib/encrypt_chacha20poly1305"]
debug_command = []
default = [
    "json5_config",
    "gui_settings_editor",
    "launcher_calc",
    "debug_command",
    "clipboard_compress_lz4",
    "clipboard_compress_zstd",
    "clipboard_compress_brotli",
    "clipboard_encrypt_chacha20poly1305",
    "clipboard_encrypt_aes_gcm",
]
gui_settings_editor = ["dep:config-edit-lib"]
json5_config = ["config-lib/json5_config"]
launcher_calc = [
    "launcher-lib/calc",
    "config-lib/launcher_calc_plugin",
    "config-edit-lib?/launcher_calc_plugin",
]
slim = [
    "gui_settings_editor",
    "debug_command",
    "clipboard_compress_lz4",
]

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

[dependencies.anyhow]
version = "1.0.100"

[dependencies.async-channel]
version = "2.5.0"
default-features = true

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

[dependencies.clap_complete]
version = "4.5.57"

[dependencies.clipboard-lib]
version = "=4.9.4"
package = "hyprshell-clipboard-lib"

[dependencies.config-edit-lib]
version = "=4.9.4"
optional = true
package = "hyprshell-config-edit-lib"

[dependencies.config-lib]
version = "=4.9.4"
package = "hyprshell-config-lib"

[dependencies.core-lib]
version = "=4.9.4"
package = "hyprshell-core-lib"

[dependencies.exec-lib]
version = "=4.9.4"
package = "hyprshell-exec-lib"

[dependencies.launcher-lib]
version = "=4.9.4"
package = "hyprshell-launcher-lib"

[dependencies.relm4]
version = "0.10.0"
features = [
    "libadwaita",
    "macros",
    "gnome_48",
]
default-features = false

[dependencies.semver]
version = "1.0.27"

[dependencies.signal-hook]
version = "0.4.1"

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.20"
features = [
    "fmt",
    "env-filter",
    "ansi",
]
default-features = false

[dependencies.windows-lib]
version = "=4.9.4"
package = "hyprshell-windows-lib"

[dev-dependencies.test-log]
version = "0.2.19"
features = [
    "trace",
    "unstable",
]
default-features = false

[lints.clippy]
cast_possible_truncation = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
pathbuf_init_then_push = "warn"
print_stderr = "warn"
print_stdout = "warn"
single_match = "allow"
struct_excessive_bools = "allow"
uninlined_format_args = "warn"
unnecessary_debug_formatting = "warn"
unnecessary_wraps = "warn"
unwrap_used = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[profile.release]
opt-level = 3
lto = true
strip = "debuginfo"