gpui-pre-platform 0.3.3

Zed's `gpui_platform` 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-platform"
version = "0.3.3"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zed's `gpui_platform` 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_platform"
zed-version = "0.1.0"
zed-rev = "5b055fa789a8b8d38ac951a6e0cde272f66b4495"

[features]
bench-support = [
    "gpui/bench-support",
    "gpui_macos/bench-support",
]
default = []
font-kit = ["gpui_macos/font-kit"]
runtime_shaders = ["gpui_macos/runtime_shaders"]
screen-capture = [
    "gpui/screen-capture",
    "gpui_macos/screen-capture",
    "gpui_windows/screen-capture",
    "gpui_linux/screen-capture",
]
test-support = [
    "gpui/test-support",
    "gpui_macos/test-support",
    "gpui_windows/test-support",
]
wayland = ["gpui_linux/wayland"]
x11 = ["gpui_linux/x11"]

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

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

[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.gpui_linux]
version = "=0.3.3"
default-features = false
package = "gpui-pre-linux"

[target.'cfg(target_family = "wasm")'.dependencies.console_error_panic_hook]
version = "0.1.7"

[target.'cfg(target_family = "wasm")'.dependencies.gpui_web]
version = "=0.3.3"
package = "gpui-pre-web"

[target.'cfg(target_os = "macos")'.dependencies.gpui_macos]
version = "=0.3.3"
default-features = false
package = "gpui-pre-macos"

[target.'cfg(target_os = "windows")'.dependencies.gpui]
version = "=0.3.3"
features = ["windows-manifest"]
default-features = false
package = "gpui-pre"

[target.'cfg(target_os = "windows")'.dependencies.gpui_windows]
version = "=0.3.3"
default-features = false
package = "gpui-pre-windows"

[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