Also updates CI to always run this - that way we ensure that disabling or enabling tests does not become stale at some point and thus can safely add this. Release Notes: - N/A - [GPUI] N/A
73 lines
2.3 KiB
TOML
73 lines
2.3 KiB
TOML
[package]
|
|
name = "gpui_macos"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "Apache-2.0"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/gpui_macos.rs"
|
|
doctest = false
|
|
|
|
[features]
|
|
default = ["gpui/default"]
|
|
bench-support = ["gpui/bench-support", "gpui_apple/bench-support"]
|
|
test-support = ["gpui/test-support", "gpui_apple/test-support"]
|
|
runtime_shaders = ["gpui_apple/runtime_shaders"]
|
|
font-kit = ["dep:font-kit"]
|
|
screen-capture = ["gpui/screen-capture"]
|
|
|
|
[dependencies]
|
|
gpui.workspace = true
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
accesskit.workspace = true
|
|
accesskit_macos.workspace = true
|
|
anyhow.workspace = true
|
|
async-task.workspace = true
|
|
block2.workspace = true
|
|
cocoa.workspace = true
|
|
collections.workspace = true
|
|
core-foundation.workspace = true
|
|
core-foundation-sys.workspace = true
|
|
core-graphics.workspace = true
|
|
core-text.workspace = true
|
|
ctor.workspace = true
|
|
dispatch2 = "0.3.1"
|
|
# WARNING: If you change this, you must also publish a new version of zed-font-kit to crates.io
|
|
font-kit = { git = "https://github.com/zed-industries/font-kit", rev = "94b0f28166665e8fd2f53ff6d268a14955c82269", package = "zed-font-kit", version = "0.14.1-zed", optional = true }
|
|
foreign-types.workspace = true
|
|
futures.workspace = true
|
|
gpui_apple.workspace = true
|
|
gpui_util.workspace = true
|
|
image.workspace = true
|
|
itertools.workspace = true
|
|
libc.workspace = true
|
|
log.workspace = true
|
|
mach2.workspace = true
|
|
objc.workspace = true
|
|
objc2.workspace = true
|
|
objc2-app-kit.workspace = true
|
|
objc2-core-graphics.workspace = true
|
|
objc2-core-media.workspace = true
|
|
objc2-foundation.workspace = true
|
|
objc2-screen-capture-kit.workspace = true
|
|
objc2-user-notifications.workspace = true
|
|
parking_lot.workspace = true
|
|
pathfinder_geometry.workspace = true
|
|
raw-window-handle.workspace = true
|
|
semver.workspace = true
|
|
smallvec.workspace = true
|
|
strum.workspace = true
|
|
uuid.workspace = true
|
|
|
|
# The macOS test-only window implementation depends on test-only APIs from both
|
|
# GPUI and the extracted renderer. A dependency does not inherit this crate's
|
|
# `cfg(test)`, so dev-dependencies enable those APIs only for test builds.
|
|
[target.'cfg(target_os = "macos")'.dev-dependencies]
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
gpui_apple = { workspace = true, features = ["test-support"] }
|