[package]
edition = "2024"
rust-version = "1.89.0"
name = "amethystate"
version = "0.9.1"
authors = ["Tam1SH <ignatternyev54@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe reactive persistence for Rust GUI apps"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Tam1SH/amethystate"
resolver = "2"
[features]
async = ["amethystate-core/async"]
confy-compat = []
confy-compat-0-6 = ["dep:directories"]
default = ["redb"]
json = ["text"]
redb = [
"dep:redb",
"dep:rmp-serde",
"dep:parking_lot",
]
ron = [
"dep:ron",
"text",
]
sqlite = [
"dep:rusqlite",
"dep:sonic-rs",
"dep:parking_lot",
]
sqlite-bundled = [
"sqlite",
"rusqlite/bundled",
]
tauri = [
"amethystate-macros/tauri",
"amethystate-tauri",
"async",
]
test-utils = ["amethystate-core/test-utils"]
text = [
"dep:tempfile",
"dep:parking_lot",
"dep:notify",
]
toml = [
"dep:toml_edit",
"text",
]
[lib]
name = "amethystate"
path = "src/lib.rs"
[[test]]
name = "as_root"
path = "tests/as_root.rs"
[[test]]
name = "codegen_lookup"
path = "tests/codegen_lookup.rs"
[[test]]
name = "compile_tests"
path = "tests/compile_tests.rs"
[[test]]
name = "confy_compat"
path = "tests/confy_compat.rs"
[[test]]
name = "migration"
path = "tests/migration.rs"
[[test]]
name = "migration_builder"
path = "tests/migration_builder.rs"
[[test]]
name = "migration_complex"
path = "tests/migration_complex.rs"
[[test]]
name = "migration_reactive_map"
path = "tests/migration_reactive_map.rs"
[[test]]
name = "migration_with_ephemeral"
path = "tests/migration_with_ephemeral.rs"
[[test]]
name = "observability_tracing"
path = "tests/observability_tracing.rs"
[[test]]
name = "persistent_only"
path = "tests/persistent_only.rs"
[[test]]
name = "reactive_map_defaults"
path = "tests/reactive_map_defaults.rs"
[[test]]
name = "root"
path = "tests/root.rs"
[[test]]
name = "slice_subscription"
path = "tests/slice_subscription.rs"
[[test]]
name = "store_tests"
path = "tests/store_tests.rs"
[[bench]]
name = "store_bench"
path = "benches/store_bench.rs"
harness = false
[dependencies.amethystate-core]
version = "0.9.1"
[dependencies.amethystate-macros]
version = "0.9.1"
[dependencies.amethystate-tauri]
version = "0.9.1"
optional = true
[dependencies.directories]
version = "6.0.0"
optional = true
[dependencies.etcetera]
version = "0.11.0"
[dependencies.inventory]
version = "0.3.24"
[dependencies.notify]
version = "8"
optional = true
[dependencies.parking_lot]
version = "0.12.5"
optional = true
[dependencies.petgraph]
version = "0.8.3"
[dependencies.redb]
version = "4.0"
optional = true
[dependencies.rmp-serde]
version = "1.3.1"
optional = true
[dependencies.ron]
version = "0.12.1"
optional = true
[dependencies.rusqlite]
version = "0.39.0"
optional = true
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
features = ["preserve_order"]
[dependencies.sonic-rs]
version = "0.5.8"
optional = true
[dependencies.tempfile]
version = "3.27.0"
optional = true
[dependencies.thiserror]
version = "2.0.18"
[dependencies.toml_edit]
version = "0.25.12"
features = ["serde"]
optional = true
[dependencies.tracing]
version = "0.1.44"
[dependencies.uuid]
version = "1.0"
features = ["v4"]
[dev-dependencies.amethystate-core]
version = "0.9.1"
features = ["test-utils"]
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.insta]
version = "1.47.2"
[dev-dependencies.macrotest]
version = "1.2.1"
[dev-dependencies.proptest]
version = "1.11.0"
[dev-dependencies.rand]
version = "0.10.1"
[dev-dependencies.rayon]
version = "1.12.0"
[dev-dependencies.real-confy]
version = "2.0.0"
package = "confy"
[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0.149"
[dev-dependencies.serial_test]
version = "3.5.0"
[dev-dependencies.tracing-test]
version = "0.2.6"
features = ["no-env-filter"]
[dev-dependencies.trybuild]
version = "1.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1.0"
features = [
"v4",
"js",
"serde",
]