[package]
edition = "2021"
rust-version = "1.91"
name = "winctx"
version = "0.0.20"
authors = ["John-John Tedro <udoprog@tedro.se>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A minimal window context for Rust on Windows.
"""
homepage = "https://github.com/udoprog/winctx"
documentation = "https://docs.rs/winctx"
readme = "README.md"
keywords = [
"async",
"windows",
]
categories = ["asynchronous"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/udoprog/winctx"
[lib]
name = "winctx"
path = "src/lib.rs"
[[example]]
name = "clipboard"
path = "examples/clipboard.rs"
[[example]]
name = "copy_data"
path = "examples/copy_data.rs"
[[example]]
name = "multiple"
path = "examples/multiple.rs"
[[example]]
name = "named_mutex"
path = "examples/named_mutex.rs"
[[example]]
name = "registry"
path = "examples/registry.rs"
[[example]]
name = "showcase"
path = "examples/showcase.rs"
[dependencies.tokio]
version = "1.34.0"
features = [
"sync",
"macros",
]
[dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_System_Threading",
"Win32_Foundation",
"Win32_Security",
"Win32_UI_WindowsAndMessaging",
"Win32_Graphics_Gdi",
"Win32_UI_Shell",
"Win32_System_Registry",
"Win32_System_DataExchange",
"Win32_System_Ole",
"Win32_System_Memory",
]
[dev-dependencies.anyhow]
version = "1.0.75"
[dev-dependencies.image]
version = "0.25.10"
[dev-dependencies.tokio]
version = "1.34.0"
features = ["full"]