[package]
edition = "2024"
rust-version = "1.96"
name = "gpui-cn"
version = "0.8.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "shadcn-style components for GPUI, built on gpui-base."
homepage = "https://github.com/prabirshrestha/gpui-cn"
documentation = "https://docs.rs/gpui-cn"
readme = "README.md"
keywords = [
"gpui",
"ui",
"shadcn",
"components",
"desktop",
]
categories = ["gui"]
license = "Apache-2.0"
repository = "https://github.com/prabirshrestha/gpui-cn"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["gpui-fast"]
ghostty = [
"dep:ghostty-vt",
"dep:portable-pty",
"dep:windows-sys",
]
gpui-fast = [
"gpui-kit/gpui-fast",
"gpui-webview?/gpui-fast",
]
jetbrains-mono = ["dep:damascene-fonts-jetbrains-mono"]
test-support = ["gpui-kit/test-support"]
webview = [
"dep:gpui-webview",
"dep:wry",
]
[lib]
name = "gpui_cn"
path = "src/lib.rs"
[[test]]
name = "attachment"
path = "tests/attachment.rs"
[[test]]
name = "avatar"
path = "tests/avatar.rs"
[[test]]
name = "badge"
path = "tests/badge.rs"
[[test]]
name = "button"
path = "tests/button.rs"
[[test]]
name = "command"
path = "tests/command.rs"
[[test]]
name = "command_dialog"
path = "tests/command_dialog.rs"
[[test]]
name = "composer"
path = "tests/composer.rs"
[[test]]
name = "composer_layout"
path = "tests/composer_layout.rs"
[[test]]
name = "composer_text"
path = "tests/composer_text.rs"
[[test]]
name = "dialog"
path = "tests/dialog.rs"
[[test]]
name = "dock"
path = "tests/dock.rs"
[[test]]
name = "file_picker"
path = "tests/file_picker.rs"
[[test]]
name = "folder_picker"
path = "tests/folder_picker.rs"
[[test]]
name = "input"
path = "tests/input.rs"
[[test]]
name = "label"
path = "tests/label.rs"
[[test]]
name = "menu"
path = "tests/menu.rs"
[[test]]
name = "menu_bar"
path = "tests/menu_bar.rs"
[[test]]
name = "menu_items"
path = "tests/menu_items.rs"
[[test]]
name = "model_picker"
path = "tests/model_picker.rs"
[[test]]
name = "nav"
path = "tests/nav.rs"
[[test]]
name = "new_folder"
path = "tests/new_folder.rs"
[[test]]
name = "path_style"
path = "tests/path_style.rs"
[[test]]
name = "permission"
path = "tests/permission.rs"
[[test]]
name = "picker_fixes"
path = "tests/picker_fixes.rs"
[[test]]
name = "picker_footers"
path = "tests/picker_footers.rs"
[[test]]
name = "popover"
path = "tests/popover.rs"
[[test]]
name = "progress"
path = "tests/progress.rs"
[[test]]
name = "progress_circular"
path = "tests/progress_circular.rs"
[[test]]
name = "radio"
path = "tests/radio.rs"
[[test]]
name = "remote_browse"
path = "tests/remote_browse.rs"
[[test]]
name = "remote_errors"
path = "tests/remote_errors.rs"
[[test]]
name = "row_insets"
path = "tests/row_insets.rs"
[[test]]
name = "scroll_area"
path = "tests/scroll_area.rs"
[[test]]
name = "select"
path = "tests/select.rs"
[[test]]
name = "select_align"
path = "tests/select_align.rs"
[[test]]
name = "sidebar"
path = "tests/sidebar.rs"
[[test]]
name = "skeleton"
path = "tests/skeleton.rs"
[[test]]
name = "slider"
path = "tests/slider.rs"
[[test]]
name = "spinner"
path = "tests/spinner.rs"
[[test]]
name = "status_narrow"
path = "tests/status_narrow.rs"
[[test]]
name = "status_search"
path = "tests/status_search.rs"
[[test]]
name = "status_tab"
path = "tests/status_tab.rs"
[[test]]
name = "switch"
path = "tests/switch.rs"
[[test]]
name = "tabs"
path = "tests/tabs.rs"
[[test]]
name = "tabs_rename"
path = "tests/tabs_rename.rs"
[[test]]
name = "tag"
path = "tests/tag.rs"
[[test]]
name = "terminal"
path = "tests/terminal.rs"
[[test]]
name = "terminal_hosted"
path = "tests/terminal_hosted.rs"
[[test]]
name = "terminal_many"
path = "tests/terminal_many.rs"
[[test]]
name = "terminal_park"
path = "tests/terminal_park.rs"
[[test]]
name = "terminal_pty"
path = "tests/terminal_pty.rs"
[[test]]
name = "terminal_pty_windows"
path = "tests/terminal_pty_windows.rs"
[[test]]
name = "terminal_stream"
path = "tests/terminal_stream.rs"
[[test]]
name = "terminal_write"
path = "tests/terminal_write.rs"
[[test]]
name = "textarea"
path = "tests/textarea.rs"
[[test]]
name = "theme_change"
path = "tests/theme_change.rs"
[[test]]
name = "theme_mode_picker"
path = "tests/theme_mode_picker.rs"
[[test]]
name = "theme_scope"
path = "tests/theme_scope.rs"
[[test]]
name = "title_bar"
path = "tests/title_bar.rs"
[[test]]
name = "touch_selection"
path = "tests/touch_selection.rs"
[[test]]
name = "webview"
path = "tests/webview.rs"
[dependencies.damascene-fonts-jetbrains-mono]
version = "0.1"
optional = true
[dependencies.ghostty-vt]
version = "0.8.0"
optional = true
[dependencies.gpui-kit]
version = "0.8.1"
features = ["assets"]
default-features = false
[dependencies.gpui-webview]
version = "0.8.1"
optional = true
default-features = false
[dependencies.nucleo-matcher]
version = "0.3"
[dependencies.smol]
version = "2"
[dependencies.wry]
version = "0.53.3"
optional = true
package = "lb-wry"
[dev-dependencies.gpui-kit]
version = "0.8.1"
features = ["test-support"]
default-features = false
[target.'cfg(not(any(target_os = "ios", target_os = "android")))'.dependencies.portable-pty]
version = "0.9"
optional = true
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_Diagnostics_ToolHelp",
"Win32_System_JobObjects",
"Win32_System_Threading",
]
optional = true
[lints.clippy]
dbg_macro = "deny"
[lints.rust]
missing_docs = "warn"