herogpui-theme 0.14.0

HeroUI design tokens and theming system for HeroGPUI
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"
rust-version = "1.98"
name = "herogpui-theme"
version = "0.14.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HeroUI design tokens and theming system for HeroGPUI"
readme = "README.md"
keywords = [
    "gpui",
    "gui",
    "components",
    "heroui",
    "desktop",
]
categories = ["gui"]
license = "Apache-2.0"
repository = "https://github.com/Porabuild/HeroGPUI"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
serde = [
    "dep:serde",
    "dep:serde_json",
]
watch = ["serde"]

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

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

[dependencies.herogpui-core]
version = "0.14.0"

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

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

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

[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