[package]
edition = "2024"
name = "bite-gp-apple"
version = "1.25.202"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "gpui_apple — 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_apple"
[features]
bench-support = ["gpui_platform/bench-support"]
default = []
font-kit = [
"dep:font-kit",
"dep:core-text",
"dep:objc2-core-text",
"dep:pathfinder_geometry",
]
runtime_shaders = []
test-support = ["gpui_platform/test-support"]
[lib]
name = "gpui_apple"
path = "src/gpui_apple.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(any(target_os = "macos", target_os = "ios"))'.dependencies.anyhow]
version = "1.0.86"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.async-task]
version = "4.7"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.block2]
version = "0.6"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.collections]
version = "1.25.202"
package = "bite-gp-collections"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-foundation]
version = "0.10"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-foundation-sys]
version = "0.8.6"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-graphics]
version = "0.24"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-text]
version = "21"
optional = true
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.derive_more]
version = "2.1.1"
features = [
"add",
"add_assign",
"deref",
"deref_mut",
"display",
"from",
"from_str",
"mul",
"mul_assign",
"not",
]
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.dispatch2]
version = "0.3"
features = ["std"]
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.etagere]
version = "0.2"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.font-kit]
version = "0.14.1-zed"
features = ["source"]
optional = true
default-features = false
package = "zed-font-kit"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.foreign-types]
version = "0.5"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.futures]
version = "0.3.34"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.gpui_util]
version = "1.25.202"
package = "bite-gp-gpui-util"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.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(any(target_os = "macos", target_os = "ios"))'.dependencies.libc]
version = "0.2"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.log]
version = "0.4"
features = ["std"]
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.mach2]
version = "0.6"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.metal]
version = "0.33"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2]
version = "0.6"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-core-foundation]
version = "=0.3.2"
features = [
"std",
"CFData",
"CFDictionary",
"CFString",
"CFNumber",
"CFBase",
]
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-core-text]
version = "0.3.2"
features = [
"std",
"CTFont",
"CTFontDescriptor",
]
optional = true
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-core-video]
version = "=0.3.2"
features = [
"CVBuffer",
"CVImageBuffer",
"CVPixelBuffer",
"CVMetalTexture",
"CVMetalTextureCache",
"CVReturn",
"objc2",
"objc2-metal",
]
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.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",
"NSThread",
"NSNotification",
"NSOperation",
"NSProcessInfo",
"block2",
]
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-metal]
version = "0.3"
features = [
"MTLDevice",
"MTLPixelFormat",
"MTLTexture",
]
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-quartz-core]
version = "=0.3.2"
features = [
"std",
"CALayer",
"CAMetalLayer",
]
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-security]
version = "0.3.2"
features = [
"std",
"SecBase",
"SecItem",
]
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.parking_lot]
version = "0.12.1"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.pathfinder_geometry]
version = "0.5"
optional = true
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.smallvec]
version = "1.6"
features = [
"union",
"const_new",
]
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.thiserror]
version = "2.0.12"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.build-dependencies.cbindgen]
version = "0.28.0"
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dev-dependencies.objc2-core-video]
version = "=0.3.2"
features = [
"CVBuffer",
"CVImageBuffer",
"CVBase",
]
default-features = false
[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