[package]
edition = "2021"
name = "wcpopup"
version = "0.8.0"
build = false
exclude = ["/assets"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Context menu for Windows and Linux"
documentation = "https://docs.rs/wcpopup/"
readme = "README.md"
keywords = [
"context",
"menu",
]
categories = ["gui"]
license = "MIT"
repository = "https://github.com/mrdkprj/wcpopup"
[package.metadata.docs.rs]
targets = [
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
]
[features]
accelerator = []
default = []
webview = []
[lib]
name = "wcpopup"
path = "src/lib.rs"
[[example]]
name = "main"
path = "examples/main.rs"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.smol]
version = "2.0.2"
[dev-dependencies.tao]
version = "0.33.0"
[dev-dependencies.wry]
version = "0.51.2"
[target.'cfg(target_os = "linux")'.dependencies.gtk]
version = "0.18.0"
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.61"
features = [
"Win32_Graphics_Gdi",
"Win32_UI_Controls",
"Win32_UI_Shell",
"Win32_System",
"Win32_System_LibraryLoader",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_UI_WindowsAndMessaging",
"Win32_Globalization",
"Win32_System_Threading",
"Win32_Graphics_Dwm",
"UI_ViewManagement",
"Win32_Graphics_Direct2D",
"Win32_Graphics_Direct2D_Common",
"Win32_System_Com",
"Win32_Graphics_Dxgi_Common",
"Win32_Graphics_DirectWrite",
"Foundation_Numerics",
"Win32_Graphics_Imaging",
]
[target.'cfg(target_os = "windows")'.dependencies.windows-numerics]
version = "0.2.0"
[target.'cfg(target_os = "windows")'.dependencies.windows-version]
version = "0.1.1"
[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
debug = 0
debug-assertions = false
rpath = false
panic = "unwind"
overflow-checks = false
incremental = false
strip = "none"