tauri-store 1.2.1

Persistent stores for Tauri
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 = "2021"
rust-version = "1.77.2"
name = "tauri-store"
version = "1.2.1"
authors = ["Andrew Ferreira <andrew.shien2@gmail.com>"]
build = "build.rs"
links = "tauri-store"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Persistent stores for Tauri"
homepage = "https://tb.dev.br/tauri-store"
documentation = "https://docs.rs/tauri-store"
readme = "README.md"
keywords = [
    "plugin",
    "store",
    "tauri",
]
categories = [
    "filesystem",
    "gui",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/ferreira-tb/tauri-store"

[package.metadata.docs.rs]
no-default-features = true
features = [
    "marshaler-cbor",
    "marshaler-ron",
    "marshaler-toml",
    "plugin",
]

[features]
default = ["plugin"]
derive = ["dep:tauri-store-macros"]
file-sync-all = []
marshaler-cbor = ["dep:ciborium"]
marshaler-ron = ["dep:ron"]
marshaler-toml = ["dep:toml"]
plugin = ["dep:tauri-plugin"]
preserve-order = [
    "dep:indexmap",
    "serde_json/preserve_order",
    "ron?/indexmap",
    "toml?/preserve_order",
]

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

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

[dependencies.ciborium]
version = "0.2"
optional = true

[dependencies.dashmap]
version = "6.1"

[dependencies.futures]
version = "0.3"

[dependencies.indexmap]
version = "2.13.0"
features = ["serde"]
optional = true

[dependencies.itertools]
version = "0.14"

[dependencies.ron]
version = "0.12"
optional = true

[dependencies.semver]
version = "1.0"
features = ["serde"]

[dependencies.serde]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.tauri]
version = "2"

[dependencies.tauri-store-macros]
version = "1"
optional = true

[dependencies.tauri-store-utils]
version = "0.7"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.47"
features = ["time"]
default-features = false

[dependencies.toml]
version = "1.0"
optional = true

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

[dev-dependencies.tauri]
version = "2"
features = ["test"]

[build-dependencies.tauri-plugin]
version = "2.4"
features = ["build"]
optional = true

[lints.clippy]
clone_on_ref_ptr = "deny"
filetype_is_file = "deny"
incompatible_msrv = "deny"
map_unwrap_or = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
missing_safety_doc = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_for_each = "allow"
rc_buffer = "deny"
rc_mutex = "deny"
rest_pat_in_fully_bound_structs = "deny"
single_match_else = "allow"

[lints.clippy.pedantic]
level = "deny"
priority = -1