# 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 = "2021" name = "wcpopup" version = "0.4.0" build = false exclude = ["/assets"] 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", ] [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" [lib] name = "wcpopup" path = "src/lib.rs" [[example]] name = "main" path = "examples/main.rs" [dependencies.async-std] version = "1.13.0" [dependencies.once_cell] version = "1.19.0" [dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.tao] version = "0.29.0" [dev-dependencies.wry] version = "0.44.1" [features] accelerator = [] default = [] [target.'cfg(target_os = "linux")'.dependencies.gtk] version = "0.18.0" [target.'cfg(target_os = "windows")'.dependencies.windows] version = "0.58" features = [ "Foundation", "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-version] version = "0.1.1"