[package]
edition = "2024"
rust-version = "1.98"
name = "herogpui-components"
version = "0.14.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HeroUI-style component library for GPUI"
readme = "README.md"
keywords = [
"gpui",
"gui",
"components",
"heroui",
"desktop",
]
categories = ["gui"]
license = "Apache-2.0 AND ISC AND MIT"
repository = "https://github.com/Porabuild/HeroGPUI"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
gallery-source = []
[lib]
name = "herogpui_components"
path = "src/lib.rs"
[[test]]
name = "suite_collections"
path = "tests/suite_collections.rs"
[[test]]
name = "suite_controls"
path = "tests/suite_controls.rs"
[[test]]
name = "suite_feedback"
path = "tests/suite_feedback.rs"
[[test]]
name = "suite_fields"
path = "tests/suite_fields.rs"
[[test]]
name = "suite_foundations"
path = "tests/suite_foundations.rs"
[[test]]
name = "suite_overlays"
path = "tests/suite_overlays.rs"
[[test]]
name = "suite_pickers"
path = "tests/suite_pickers.rs"
[[test]]
name = "suite_styling"
path = "tests/suite_styling.rs"
[[test]]
name = "suite_tables_layout"
path = "tests/suite_tables_layout.rs"
[dependencies.gpui]
version = "=0.3.5"
package = "gpui-pre"
[dependencies.herogpui-core]
version = "0.14.0"
[dependencies.herogpui-theme]
version = "0.14.0"
[dependencies.icu_calendar]
version = "=2.2.1"
features = ["compiled_data"]
default-features = false
[dependencies.icu_datetime]
version = "=2.2.0"
features = ["compiled_data"]
default-features = false
[dependencies.icu_locale_core]
version = "=2.2.0"
[dependencies.jiff]
version = "0.2"
features = ["js"]
[dependencies.unicode-segmentation]
version = "1.13"
[dependencies.web-time]
version = "=1.1.0"
[dev-dependencies.gpui]
version = "=0.3.5"
features = ["test-support"]
package = "gpui-pre"
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.2"
features = [
"std",
"NSLocale",
"NSString",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.sys-locale]
version = "0.3.2"
[target."cfg(windows)".dependencies.sys-locale]
version = "0.3.2"
[target."cfg(windows)".dependencies.windows-registry]
version = "0.6.1"
[lints.clippy]
cloned_instead_of_copied = "warn"
collapsible_if = "allow"
dbg_macro = "deny"
explicit_iter_loop = "warn"
float_cmp = "warn"
implicit_clone = "warn"
inefficient_to_string = "warn"
manual_let_else = "warn"
map_unwrap_or = "warn"
needless_continue = "warn"
redundant_clone = "warn"
redundant_closure_for_method_calls = "allow"
semicolon_if_nothing_returned = "warn"
str_to_string = "warn"
todo = "warn"
uninlined_format_args = "warn"
unnested_or_patterns = "warn"
wrong_self_convention = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"
unused_qualifications = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1