fret 0.1.0

Batteries-included meta crate for the Fret UI framework (golden path entry point).
# 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.92"
name = "fret"
version = "0.1.0"
authors = ["Mingzhen Zhuang <superfrankie621@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Batteries-included meta crate for the Fret UI framework (golden path entry point)."
homepage = "https://github.com/Latias94/fret"
documentation = "https://docs.rs/fret"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Latias94/fret"
resolver = "2"

[features]
app = ["shadcn"]
batteries = [
    "app",
    "state",
    "diagnostics",
    "config-files",
    "ui-assets",
    "icons",
    "preload-icon-svgs",
]
command-palette = [
    "shadcn",
    "fret-bootstrap/ui-app-command-palette-shadcn",
]
config-files = []
default = [
    "desktop",
    "app",
]
desktop = [
    "dep:fret-framework",
    "dep:wgpu",
    "fret-framework/native-wgpu",
    "fret-bootstrap/ui-app-driver",
]
devloop = ["fret-launch/dev-state"]
diagnostics = ["fret-bootstrap/diagnostics"]
icons = [
    "fret-bootstrap/icons-lucide",
    "fret-bootstrap/icons-ui-semantic-lucide",
    "fret-ui-kit/icons",
]
material3 = []
preload-icon-svgs = ["fret-bootstrap/preload-icon-svgs"]
router = [
    "dep:fret-router",
    "dep:fret-router-ui",
    "fret-router/query-integration",
    "fret-router/web-history",
    "fret-router/hash-routing",
]
shadcn = ["dep:fret-ui-shadcn"]
state = [
    "state-selector",
    "state-query",
]
state-query = [
    "dep:fret-query",
    "fret-query/ui",
    "fret-ui-kit/state-query",
]
state-selector = [
    "dep:fret-selector",
    "fret-selector/ui",
]
tracing = ["fret-bootstrap/tracing"]
ui-ai = []
ui-assets = ["fret-bootstrap/ui-assets"]

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

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

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

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

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

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

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

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

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

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

[dependencies.fret-app]
version = "0.1.0"

[dependencies.fret-assets]
version = "0.1.0"

[dependencies.fret-bootstrap]
version = "0.1.0"
default-features = false

[dependencies.fret-core]
version = "0.1.0"

[dependencies.fret-framework]
version = "0.1.0"
optional = true
default-features = false
package = "fret-framework"

[dependencies.fret-icons]
version = "0.1.0"

[dependencies.fret-launch]
version = "0.1.0"

[dependencies.fret-query]
version = "0.1.0"
optional = true

[dependencies.fret-router]
version = "0.1.0"
optional = true

[dependencies.fret-router-ui]
version = "0.1.0"
optional = true

[dependencies.fret-runtime]
version = "0.1.0"

[dependencies.fret-selector]
version = "0.1.0"
optional = true

[dependencies.fret-ui]
version = "0.1.0"

[dependencies.fret-ui-kit]
version = "0.1.0"

[dependencies.fret-ui-shadcn]
version = "0.1.0"
features = ["app-integration"]
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = ["wasm-bindgen"]

[dependencies.wgpu]
version = "29.0.0"
optional = true

[dev-dependencies.slotmap]
version = "1"

[lints.clippy]
arc_with_non_send_sync = "allow"
collapsible_if = "allow"
default_constructed_unit_structs = "allow"
doc_lazy_continuation = "allow"
field_reassign_with_default = "allow"
single_match = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
useless_conversion = "allow"