[package]
edition = "2024"
name = "ib-shell-verb"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for handling of custom Windows Shell verbs (actions like `open`) and injecting them."
readme = "README.md"
keywords = [
"shell",
"desktop-environment",
"desktop",
"hook",
]
categories = [
"gui",
"os",
]
license = "MIT"
repository = "https://github.com/Chaoses-Ib/ib-shell"
[package.metadata.docs.rs]
targets = ["x86_64-pc-windows-msvc"]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
bin = ["dep:clap"]
doc = ["dep:document-features"]
hook = ["dep:slim-detours-sys"]
[lib]
name = "ib_shell_verb"
path = "src/lib.rs"
[[bin]]
name = "ib-open-workspace"
path = "src/bin/ib-open-workspace.rs"
required-features = ["bin"]
[dependencies.anyhow]
version = "1"
[dependencies.bon]
version = "3"
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.document-features]
version = "0.2"
optional = true
[dependencies.ib-shell-item]
version = "0.1"
[dependencies.open]
version = "5"
features = ["shellexecute-on-windows"]
[dependencies.tracing]
version = "0.1"
[dependencies.which]
version = "8"
[dev-dependencies]
[target.'cfg(target_family = "windows")'.dependencies.slim-detours-sys]
version = "0.4"
optional = true
[target.'cfg(target_family = "windows")'.dependencies.widestring]
version = "1"
[target.'cfg(target_family = "windows")'.dependencies.windows]
version = "0.62"
[target.'cfg(target_family = "windows")'.dependencies.windows-sys]
version = "0.61"
features = [
"Win32_System_Registry",
"Win32_UI_Shell",
]