gpui-deck 0.0.1

Headless GPUI primitives with application-owned presentation.
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-deck"
version = "0.0.1"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Headless GPUI primitives with application-owned presentation."
readme = "README.md"
keywords = [
    "gpui",
    "gui",
    "headless",
    "desktop",
]
license = "Apache-2.0"
repository = "https://github.com/andongmin94/gpui-deck"
resolver = "2"

[features]
components = [
    "dep:aho-corasick",
    "dep:anyhow",
    "dep:ashpd",
    "dep:futures",
    "dep:gpui",
    "dep:gpui_macros",
    "dep:instant",
    "dep:jiff",
    "dep:lsp-types",
    "dep:objc2",
    "dep:objc2-app-kit",
    "dep:objc2-foundation",
    "dep:raw-window-handle",
    "dep:regex",
    "dep:ropey",
    "dep:schemars",
    "dep:serde",
    "dep:serde_json",
    "dep:smallvec",
    "dep:sum-tree",
    "dep:tracing",
    "dep:unicode-linebreak",
    "dep:unicode-segmentation",
    "dep:web-time",
    "dep:windows",
]
default = ["components"]
inspector = [
    "components",
    "gpui_macros/inspector",
    "gpui/inspector",
]
recipe-sources = []
test-support = [
    "components",
    "gpui/test-support",
]

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

[[example]]
name = "two_styles"
path = "examples/two_styles.rs"
required-features = ["components"]

[[example]]
name = "catalogue"
path = "examples/catalogue.rs"
required-features = ["components"]

[[example]]
name = "starter"
path = "examples/starter.rs"
required-features = ["components"]

[[test]]
name = "composition"
path = "tests/composition.rs"
required-features = ["test-support"]

[[test]]
name = "element_ext"
path = "tests/element_ext.rs"
required-features = ["components"]

[dependencies.aho-corasick]
version = "1.1.3"
optional = true

[dependencies.anyhow]
version = "1"
optional = true

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.gpui]
version = "=0.3.12"
optional = true
package = "gpui-pre"

[dependencies.gpui_macros]
version = "=0.3.12"
optional = true
package = "gpui-pre-macros"

[dependencies.instant]
version = "0.1"
features = ["wasm-bindgen"]
optional = true

[dependencies.jiff]
version = "1.0.1"
features = ["std"]
optional = true
default-features = false

[dependencies.lsp-types]
version = "0.97.0"
features = ["proposed"]
optional = true

[dependencies.regex]
version = "1"
optional = true

[dependencies.ropey]
version = "=2.0.0-beta.1"
features = [
    "metric_chars",
    "metric_lines_lf",
    "metric_utf16",
]
optional = true

[dependencies.schemars]
version = "1"
optional = true

[dependencies.serde]
version = "1.0.219"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.smallvec]
version = "1"
optional = true

[dependencies.sum-tree]
version = "=0.3.12"
optional = true
package = "gpui-pre-sum-tree"

[dependencies.tracing]
version = "0.1.41"
optional = true

[dependencies.unicode-linebreak]
version = "0.1.5"
optional = true

[dependencies.unicode-segmentation]
version = "1.12.0"
optional = true

[dependencies.web-time]
version = "1"
optional = true

[dev-dependencies.gpui]
version = "=0.3.12"
features = ["test-support"]
package = "gpui-pre"

[dev-dependencies.gpui_platform]
version = "=0.3.12"
features = [
    "font-kit",
    "x11",
    "wayland",
    "runtime_shaders",
]
package = "gpui-pre-platform"

[dev-dependencies.indoc]
version = "2"

[target.'cfg(target_os = "linux")'.dependencies.ashpd]
version = "0.13"
features = [
    "async-io",
    "settings",
]
optional = true
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = [
    "NSAccessibility",
    "NSView",
    "NSWindow",
    "NSWorkspace",
]
optional = true

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
features = [
    "NSGeometry",
    "NSString",
]
optional = true

[target.'cfg(target_os = "macos")'.dependencies.raw-window-handle]
version = "0.6.2"
optional = true

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.58.0"
features = [
    "Win32_Foundation",
    "Win32_UI_WindowsAndMessaging",
]
optional = true

[lints.clippy]
almost_complete_range = "allow"
arc_with_non_send_sync = "allow"
borrowed_box = "allow"
dbg_macro = "deny"
let_underscore_future = "allow"
manual_is_multiple_of = "allow"
map_entry = "allow"
module_inception = "allow"
non_canonical_partial_ord_impl = "allow"
reversed_empty_ranges = "allow"
single_range_in_vec_init = "allow"
todo = "deny"
type_complexity = "allow"
useless_conversion = "allow"

[lints.clippy.style]
level = "allow"
priority = -1