[package]
edition = "2024"
name = "open-gpui-macos"
version = "0.2.0"
authors = ["Mingzhen Zhuang <superfrankie621@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "macOS platform backend for Open GPUI."
homepage = "https://github.com/Latias94/open-gpui"
documentation = "https://docs.rs/open-gpui"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Latias94/open-gpui"
resolver = "2"
[features]
default = ["open_gpui/default"]
font-kit = ["dep:font-kit"]
runtime_shaders = []
screen-capture = ["open_gpui/screen-capture"]
test-support = ["open_gpui/test-support"]
[lib]
name = "open_gpui_macos"
path = "src/gpui_macos.rs"
[dependencies.open_gpui]
version = "0.2.0"
default-features = false
package = "open-gpui"
[target.'cfg(target_os = "macos")'.dependencies.accesskit]
version = "0.24.0"
[target.'cfg(target_os = "macos")'.dependencies.accesskit_macos]
version = "0.26.0"
[target.'cfg(target_os = "macos")'.dependencies.anyhow]
version = "1.0.103"
[target.'cfg(target_os = "macos")'.dependencies.async-task]
version = "4.7"
[target.'cfg(target_os = "macos")'.dependencies.bitflags]
version = "2.6.0"
[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6.2"
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "=0.10.0"
[target.'cfg(target_os = "macos")'.dependencies.core-foundation-sys]
version = "0.8.6"
[target.'cfg(target_os = "macos")'.dependencies.core-graphics]
version = "0.24"
[target.'cfg(target_os = "macos")'.dependencies.core-text]
version = "21"
[target.'cfg(target_os = "macos")'.dependencies.ctor]
version = "1.0.6"
[target.'cfg(target_os = "macos")'.dependencies.derive_more]
version = "2.1.1"
features = [
"add",
"add_assign",
"deref",
"deref_mut",
"display",
"from_str",
"mul",
"mul_assign",
"not",
]
[target.'cfg(target_os = "macos")'.dependencies.dispatch2]
version = "0.3.1"
[target.'cfg(target_os = "macos")'.dependencies.etagere]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.font-kit]
version = "0.14.3"
optional = true
package = "open-gpui-font-kit"
[target.'cfg(target_os = "macos")'.dependencies.foreign-types]
version = "0.5"
[target.'cfg(target_os = "macos")'.dependencies.futures]
version = "0.3.32"
[target.'cfg(target_os = "macos")'.dependencies.image]
version = "0.25.1"
[target.'cfg(target_os = "macos")'.dependencies.itertools]
version = "0.14.0"
[target.'cfg(target_os = "macos")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.log]
version = "0.4.16"
features = [
"kv_unstable_serde",
"serde",
]
[target.'cfg(target_os = "macos")'.dependencies.mach2]
version = "0.5"
[target.'cfg(target_os = "macos")'.dependencies.objc]
version = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = ["NSGraphics"]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-video]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-metal]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-quartz-core]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.open_gpui_collections]
version = "0.2.0"
package = "open-gpui-collections"
[target.'cfg(target_os = "macos")'.dependencies.open_gpui_media]
version = "0.2.0"
package = "open-gpui-media"
[target.'cfg(target_os = "macos")'.dependencies.open_gpui_util]
version = "0.2.0"
package = "open-gpui-util"
[target.'cfg(target_os = "macos")'.dependencies.parking_lot]
version = "0.12.1"
[target.'cfg(target_os = "macos")'.dependencies.pathfinder_geometry]
version = "0.5"
[target.'cfg(target_os = "macos")'.dependencies.raw-window-handle]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.semver]
version = "1.0"
features = ["serde"]
[target.'cfg(target_os = "macos")'.dependencies.smallvec]
version = "1.6"
features = [
"union",
"const_new",
]
[target.'cfg(target_os = "macos")'.dependencies.strum]
version = "0.27.2"
features = ["derive"]
[target.'cfg(target_os = "macos")'.dependencies.uuid]
version = "1.1.2"
features = [
"v4",
"v5",
"v7",
"serde",
]
[target.'cfg(target_os = "macos")'.build-dependencies.cbindgen]
version = "0.29"
default-features = false
[target.'cfg(target_os = "macos")'.build-dependencies.open_gpui]
version = "0.2.0"
default-features = false
package = "open-gpui"
[target.'cfg(target_os = "macos")'.dev-dependencies.open_gpui]
version = "0.2.0"
features = ["test-support"]
default-features = false
package = "open-gpui"
[lints.clippy]
dbg_macro = "deny"
todo = "deny"
unwrap_used = "warn"
[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(rust_analyzer)",
"cfg(nightly_coverage)",
'cfg(feature, values("cargo-clippy"))',
]