gpui-kit 0.6.0

GPUI Kit: one dependency for building desktop applications with GPUI, GPUI Base, GPUI Component and GPUI Shell.
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-kit"
version = "0.6.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GPUI Kit: one dependency for building desktop applications with GPUI, GPUI Base, GPUI Component and GPUI Shell."
homepage = "https://gpui-kit.com"
documentation = "https://docs.rs/gpui-kit"
readme = "README.md"
keywords = [
    "desktop",
    "gpui",
    "shadcn",
    "ui",
    "uikit",
]
categories = ["gui"]
license = "Apache-2.0"
repository = "https://github.com/longbridge/gpui-kit"
resolver = "2"

[features]
assets = ["dep:gpui-kit-assets"]
component = ["dep:gpui-component"]
decimal = [
    "component",
    "gpui-component/decimal",
]
default = [
    "component",
    "assets",
]
inspector = [
    "gpui/inspector",
    "gpui-base/inspector",
    "gpui-component?/inspector",
]
test-support = ["gpui/test-support"]
tree-sitter = [
    "component",
    "gpui-component/tree-sitter",
]
tree-sitter-astro = [
    "component",
    "gpui-component/tree-sitter-astro",
]
tree-sitter-bash = [
    "component",
    "gpui-component/tree-sitter-bash",
]
tree-sitter-c = [
    "component",
    "gpui-component/tree-sitter-c",
]
tree-sitter-cmake = [
    "component",
    "gpui-component/tree-sitter-cmake",
]
tree-sitter-cpp = [
    "component",
    "gpui-component/tree-sitter-cpp",
]
tree-sitter-csharp = [
    "component",
    "gpui-component/tree-sitter-csharp",
]
tree-sitter-css = [
    "component",
    "gpui-component/tree-sitter-css",
]
tree-sitter-diff = [
    "component",
    "gpui-component/tree-sitter-diff",
]
tree-sitter-ejs = [
    "component",
    "gpui-component/tree-sitter-ejs",
]
tree-sitter-elixir = [
    "component",
    "gpui-component/tree-sitter-elixir",
]
tree-sitter-erb = [
    "component",
    "gpui-component/tree-sitter-erb",
]
tree-sitter-go = [
    "component",
    "gpui-component/tree-sitter-go",
]
tree-sitter-graphql = [
    "component",
    "gpui-component/tree-sitter-graphql",
]
tree-sitter-html = [
    "component",
    "gpui-component/tree-sitter-html",
]
tree-sitter-java = [
    "component",
    "gpui-component/tree-sitter-java",
]
tree-sitter-javascript = [
    "component",
    "gpui-component/tree-sitter-javascript",
]
tree-sitter-jsdoc = [
    "component",
    "gpui-component/tree-sitter-jsdoc",
]
tree-sitter-kotlin = [
    "component",
    "gpui-component/tree-sitter-kotlin",
]
tree-sitter-languages = [
    "component",
    "gpui-component/tree-sitter-languages",
]
tree-sitter-lua = [
    "component",
    "gpui-component/tree-sitter-lua",
]
tree-sitter-make = [
    "component",
    "gpui-component/tree-sitter-make",
]
tree-sitter-markdown = [
    "component",
    "gpui-component/tree-sitter-markdown",
]
tree-sitter-markdown-inline = [
    "component",
    "gpui-component/tree-sitter-markdown-inline",
]
tree-sitter-php = [
    "component",
    "gpui-component/tree-sitter-php",
]
tree-sitter-proto = [
    "component",
    "gpui-component/tree-sitter-proto",
]
tree-sitter-python = [
    "component",
    "gpui-component/tree-sitter-python",
]
tree-sitter-ruby = [
    "component",
    "gpui-component/tree-sitter-ruby",
]
tree-sitter-rust = [
    "component",
    "gpui-component/tree-sitter-rust",
]
tree-sitter-scala = [
    "component",
    "gpui-component/tree-sitter-scala",
]
tree-sitter-sql = [
    "component",
    "gpui-component/tree-sitter-sql",
]
tree-sitter-svelte = [
    "component",
    "gpui-component/tree-sitter-svelte",
]
tree-sitter-swift = [
    "component",
    "gpui-component/tree-sitter-swift",
]
tree-sitter-toml = [
    "component",
    "gpui-component/tree-sitter-toml",
]
tree-sitter-tsx = [
    "component",
    "gpui-component/tree-sitter-tsx",
]
tree-sitter-typescript = [
    "component",
    "gpui-component/tree-sitter-typescript",
]
tree-sitter-yaml = [
    "component",
    "gpui-component/tree-sitter-yaml",
]
tree-sitter-zig = [
    "component",
    "gpui-component/tree-sitter-zig",
]

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

[[test]]
name = "exports"
path = "tests/exports.rs"

[[test]]
name = "test_macro"
path = "tests/test_macro.rs"

[dependencies.gpui]
version = "0.3.1"
package = "gpui-pre"

[dependencies.gpui-base]
version = "0.6.0"

[dependencies.gpui-component]
version = "0.6.0"
optional = true

[dependencies.gpui-kit-assets]
version = "0.6.0"
optional = true

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

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

[target.'cfg(not(target_family = "wasm"))'.dependencies.reqwest_client]
version = "0.3.1"
package = "gpui-pre-reqwest-client"

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

[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