[package]
edition = "2024"
name = "bite-gp-macos"
version = "1.25.202"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "gpui_macos — part of the bite-gpui rearchitecture of zed's gpui"
homepage = "https://bite-gpui.github.io/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/bite-gpui/bite-gpui"
resolver = "2"
[package.metadata.bite]
source = "https://github.com/bite-gpui/bite-gpui.git"
branch = "bite_v1.25.x"
commit = "19271206c7e12504f1a0b3879a85c90df5d9b4c4"
upstream = "1.25.2"
amendment = 2
original = "gpui_macos"
[features]
bench-support = [
"gpui_platform/bench-support",
"gpui_apple/bench-support",
]
default = ["gpui_platform/default"]
font-kit = ["gpui_apple/font-kit"]
runtime_shaders = ["gpui_apple/runtime_shaders"]
screen-capture = [
"gpui_platform/screen-capture",
"dep:objc2-core-graphics",
"dep:objc2-core-media",
"dep:objc2-screen-capture-kit",
]
test-support = [
"gpui_platform/test-support",
"gpui_apple/test-support",
]
[lib]
name = "gpui_macos"
path = "src/gpui_macos.rs"
doctest = false
[dependencies.gpui_engine]
version = "1.25.202"
package = "bite-gp-engine"
[dependencies.gpui_platform]
version = "1.25.202"
package = "bite-gp-platform"
[target.'cfg(target_os = "macos")'.dependencies.accesskit]
version = "0.24.0"
features = ["enumn"]
[target.'cfg(target_os = "macos")'.dependencies.accesskit_macos]
version = "0.26.0"
[target.'cfg(target_os = "macos")'.dependencies.anyhow]
version = "1.0.86"
[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.cocoa]
version = "=0.26.0"
[target.'cfg(target_os = "macos")'.dependencies.collections]
version = "1.25.202"
package = "bite-gp-collections"
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10"
[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.ctor]
version = "1.0.12"
[target.'cfg(target_os = "macos")'.dependencies.dispatch2]
version = "0.3"
features = [
"std",
"block2",
"objc2",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.foreign-types]
version = "0.5"
[target.'cfg(target_os = "macos")'.dependencies.futures]
version = "0.3.34"
[target.'cfg(target_os = "macos")'.dependencies.gpui_apple]
version = "1.25.202"
package = "bite-gp-apple"
[target.'cfg(target_os = "macos")'.dependencies.gpui_util]
version = "1.25.202"
package = "bite-gp-gpui-util"
[target.'cfg(target_os = "macos")'.dependencies.image]
version = "0.25.1"
features = [
"bmp",
"dds",
"exr",
"ff",
"gif",
"hdr",
"ico",
"jpeg",
"png",
"pnm",
"qoi",
"rayon",
"tga",
"tiff",
"webp",
]
default-features = false
[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"
features = ["std"]
default-features = false
[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.2"
features = [
"NSAlert",
"NSApplication",
"NSButton",
"NSControl",
"NSDraggingItem",
"NSGraphics",
"NSImage",
"NSOpenPanel",
"NSPanel",
"NSPasteboard",
"NSResponder",
"NSSavePanel",
"NSScreen",
"NSTrackingArea",
"NSView",
"NSWindow",
"NSWorkspace",
"block2",
"objc2-core-foundation",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-graphics]
version = "=0.3.2"
features = ["CGDirectDisplay"]
optional = true
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-media]
version = "=0.3.2"
features = [
"CMSampleBuffer",
"objc2-core-video",
]
optional = true
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-video]
version = "=0.3.2"
features = [
"CVBuffer",
"CVImageBuffer",
"CVHostTime",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "=0.3.2"
features = [
"NSArray",
"NSAttributedString",
"NSCoder",
"NSData",
"NSDate",
"NSDictionary",
"NSEnumerator",
"NSError",
"NSGeometry",
"NSNull",
"NSObjCRuntime",
"NSObject",
"NSProcessInfo",
"NSRange",
"NSRunLoop",
"NSSet",
"NSString",
"NSURL",
"NSValue",
"objc2-core-foundation",
"std",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-screen-capture-kit]
version = "=0.3.2"
features = [
"block2",
"dispatch2",
"objc2-core-graphics",
"objc2-core-media",
"SCShareableContent",
"SCStream",
"std",
]
optional = true
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-user-notifications]
version = "0.3"
features = [
"std",
"block2",
"UNNotification",
"UNNotificationAction",
"UNNotificationCategory",
"UNNotificationContent",
"UNNotificationRequest",
"UNNotificationResponse",
"UNNotificationTrigger",
"UNUserNotificationCenter",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.parking_lot]
version = "0.12.1"
[target.'cfg(target_os = "macos")'.dependencies.raw-window-handle]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.scheduler]
version = "1.25.202"
package = "bite-gp-scheduler"
[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.28"
features = ["derive"]
[target.'cfg(target_os = "macos")'.dependencies.uuid]
version = "1.1"
features = ["serde"]
[target.'cfg(target_os = "macos")'.dev-dependencies]
[lints.clippy]
dbg_macro = "deny"
declare_interior_mutable_const = "deny"
disallowed_methods = "deny"
large_enum_variant = "allow"
let_underscore_future = "allow"
nonminimal_bool = "allow"
redundant_clone = "deny"
single_range_in_vec_init = "allow"
todo = "deny"
too_many_arguments = "allow"
type_complexity = "allow"
[lints.clippy.style]
level = "allow"
priority = -1
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0