hyperchad_state 0.3.0

HyperChad state management package
# 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 = "hyperchad_state"
version = "0.3.0"
authors = ["Braden Steffaniak"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HyperChad state management package"
readme = "README.md"
keywords = [
    "hyperchad",
    "persistence",
    "state",
]
categories = [
    "development-tools",
    "gui",
    "web-programming",
]
license = "MPL-2.0"
repository = "https://github.com/MoosicBox/MoosicBox"

[package.metadata]
examples = false

[package.metadata.cargo-machete]
ignored = ["tokio"]

[package.metadata.workspaces]
group = "hyperchad"

[features]
default = [
    "persistence-ios",
    "persistence-sqlite",
]
fail-on-warnings = [
    "moosicbox_assert/fail-on-warnings",
    "switchy?/fail-on-warnings",
]
persistence-ios = []
persistence-sqlite = ["dep:switchy"]

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

[dependencies.async-trait]
version = "0.1.89"

[dependencies.log]
version = "0.4.29"
features = ["release_max_level_trace"]

[dependencies.moosicbox_assert]
version = "0.3.0"
default-features = false

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.switchy]
version = "0.3.0"
features = [
    "database-connection-sqlite-sqlx",
    "database-schema",
    "database-sqlite-sqlx",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.18"