gpui-form 0.7.0

The gpui-form crate
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 = "gpui-form"
version = "0.7.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
The gpui-form crate
"""
readme = "README.md"
keywords = [
    "gpui",
    "gpui-kit",
    "form",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/stayhydated/gpui-form"

[features]
chrono = ["gpui-form-mcp?/chrono"]
default = [
    "derive",
    "runtime",
]
derive = [
    "dep:gpui-form-derive",
    "dep:strum",
]
inventory = ["gpui-form-derive?/inventory"]
mcp = [
    "dep:gpui-form-mcp",
    "inventory",
    "gpui-form-derive?/mcp",
]
runtime = ["dep:gpui-form-runtime"]
rust_decimal = ["gpui-form-mcp?/rust_decimal"]

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

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

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

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

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

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

[dependencies.bon]
version = "3.10"

[dependencies.gpui-form-core]
version = "0.7.0"

[dependencies.gpui-form-derive]
version = "0.7.0"
optional = true

[dependencies.gpui-form-mcp]
version = "0.7.0"
optional = true

[dependencies.gpui-form-runtime]
version = "0.7.0"
optional = true

[dependencies.gpui-form-schema]
version = "0.7.0"

[dependencies.strum]
version = "0.28"
features = ["derive"]
optional = true

[dev-dependencies.chrono]
version = "0.4"

[dev-dependencies.component-shape-gpui]
version = "0.3.0"

[dev-dependencies.gpui-form-collection]
version = "0.7.0"

[dev-dependencies.gpui-form-component]
version = "0.7.0"
features = ["component-shape"]

[dev-dependencies.gpui-form-derive]
version = "0.7.0"

[dev-dependencies.gpui-form-runtime]
version = "0.7.0"

[dev-dependencies.gpui-kit]
version = "0.6.1"
features = ["test-support"]

[dev-dependencies.koruma]
version = "0.12.0"

[dev-dependencies.koruma-collection]
version = "0.12.0"

[dev-dependencies.rust_decimal]
version = "1.43"

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.strum]
version = "0.28"

[dev-dependencies.trybuild]
version = "1.0"

[lints.clippy]
dbg_macro = "deny"
derive_partial_eq_without_eq = "warn"
err_expect = "warn"
incompatible_msrv = "deny"
iter_on_single_items = "warn"
needless_bool = "warn"
redundant_clone = "warn"
todo = "deny"
type_complexity = "allow"
uninlined_format_args = "allow"
unused_trait_names = "warn"
useless_conversion = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
future_incompatible = "deny"
nonstandard_style = "deny"
unsafe_op_in_unsafe_fn = "deny"
unused_must_use = "deny"

[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
check-cfg = ["cfg(coverage)"]

[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"