gpui-query 0.2.1

TanStack Query-inspired async state management for GPUI
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"
name = "gpui-query"
version = "0.2.1"
authors = ["hmziqrs"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TanStack Query-inspired async state management for GPUI"
homepage = "https://gpui-query.freeoxide.com"
readme = "README.md"
keywords = [
    "gpui",
    "async",
    "state-management",
    "query",
    "zed",
]
categories = [
    "asynchronous",
    "caching",
    "gui",
]
license = "MIT"
repository = "https://github.com/freeoxide/gpui-query"

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

[features]
client = [
    "core",
    "dep:gpui",
]
core = []
default = ["client"]
hook = ["client"]
persist = [
    "client",
    "hook",
    "dep:serde_json",
    "dep:thiserror",
]

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

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

[dependencies.gpui]
version = "0.2.2"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

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

[dependencies.thiserror]
version = "2"
optional = true

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

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

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

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ahash]
version = "0.8"

[target.'cfg(target_arch = "wasm32")'.dependencies.ahash]
version = "0.8"
features = [
    "std",
    "compile-time-rng",
]
default-features = false