zed/crates/gpui_windows/Cargo.toml
2026-05-28 19:09:06 +08:00

53 lines
1.3 KiB
TOML

[package]
name = "gpui_windows"
version = "0.1.0"
edition.workspace = true
publish.workspace = true
license = "Apache-2.0"
[lints]
workspace = true
[lib]
path = "src/gpui_windows.rs"
[features]
default = ["gpui/default"]
test-support = ["gpui/test-support"]
screen-capture = ["gpui/screen-capture", "scap"]
# Enable compatibility workarounds for Windows Server 2016 / Windows 10 builds
# before 1809 (build 17763). Without this flag the crate behaves exactly like
# upstream: Factory6/Factory5 APIs, dual-source ClearType blending, standard
# MSAA quality sentinel, and no RDP/WDDM-1.x runtime detection.
win-legacy-compat = []
[dependencies]
gpui.workspace = true
[target.'cfg(target_os = "windows")'.dependencies]
accesskit.workspace = true
accesskit_windows.workspace = true
anyhow.workspace = true
collections.workspace = true
etagere = "0.2"
futures.workspace = true
image.workspace = true
itertools.workspace = true
log.workspace = true
parking_lot.workspace = true
rand.workspace = true
raw-window-handle = "0.6"
smallvec.workspace = true
util.workspace = true
uuid.workspace = true
windows.workspace = true
windows-core.workspace = true
windows-numerics = "0.2"
windows-registry = "0.5"
[target.'cfg(target_os = "windows")'.dependencies.scap]
workspace = true
optional = true
[target.'cfg(target_os = "windows")'.build-dependencies]
windows-registry = "0.5"