gpui-pre-macos 0.3.3

Zed's `gpui_macos` crate (gpui-pre snapshot of zed@5b055fa)
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "gpui-pre-macos"
version = "0.3.3"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zed's `gpui_macos` crate (gpui-pre snapshot of zed@5b055fa)"
readme = false
license = "Apache-2.0"
repository = "https://github.com/zed-industries/zed"
resolver = "2"

[package.metadata.gpui-pre]
zed-crate = "gpui_macos"
zed-version = "0.1.0"
zed-rev = "5b055fa789a8b8d38ac951a6e0cde272f66b4495"

[features]
bench-support = [
    "gpui/bench-support",
    "gpui_apple/bench-support",
]
default = ["gpui/default"]
font-kit = ["dep:font-kit"]
runtime_shaders = ["gpui_apple/runtime_shaders"]
screen-capture = ["gpui/screen-capture"]
test-support = [
    "gpui/test-support",
    "gpui_apple/test-support",
]

[lib]
name = "gpui_macos"
path = "src/gpui_macos.rs"

[dependencies.gpui]
version = "=0.3.3"
default-features = false
package = "gpui-pre"

[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.async-task]
version = "4.7"

[target.'cfg(target_os = "macos")'.dependencies.block]
version = "0.1"

[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 = "=0.3.3"
package = "gpui-pre-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.core-text]
version = "21"

[target.'cfg(target_os = "macos")'.dependencies.ctor]
version = "1.0.12"

[target.'cfg(target_os = "macos")'.dependencies.dispatch2]
version = "0.3.1"

[target.'cfg(target_os = "macos")'.dependencies.font-kit]
version = "0.14.1-zed"
optional = true
package = "zed-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.gpui_apple]
version = "=0.3.3"
package = "gpui-pre-apple"

[target.'cfg(target_os = "macos")'.dependencies.gpui_util]
version = "=0.3.3"
package = "gpui-pre-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.16"
features = [
    "kv_unstable_serde",
    "serde",
]

[target.'cfg(target_os = "macos")'.dependencies.mach2]
version = "0.5"

[target.'cfg(target_os = "macos")'.dependencies.media]
version = "=0.3.3"
package = "gpui-pre-media"

[target.'cfg(target_os = "macos")'.dependencies.metal]
version = "0.33"

[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",
    "NSGraphics",
    "NSResponder",
    "NSView",
    "NSWindow",
    "block2",
    "objc2-core-foundation",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "=0.3.2"
features = [
    "NSArray",
    "NSAttributedString",
    "NSBundle",
    "NSCoder",
    "NSData",
    "NSDate",
    "NSDictionary",
    "NSEnumerator",
    "NSError",
    "NSGeometry",
    "NSNotification",
    "NSNull",
    "NSObjCRuntime",
    "NSObject",
    "NSProcessInfo",
    "NSRange",
    "NSRunLoop",
    "NSSet",
    "NSString",
    "NSURL",
    "NSUndoManager",
    "NSValue",
    "objc2-core-foundation",
    "std",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-user-notifications]
version = "0.3"

[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.28"
features = ["derive"]

[target.'cfg(target_os = "macos")'.dependencies.uuid]
version = "1.1.2"
features = [
    "v4",
    "v5",
    "v7",
    "serde",
]

[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