# 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.75"
name = "dioxus-storage-sync"
version = "0.0.3"
authors = ["Esteban Puello <eftech93@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Backend synchronization for dioxus-storage with hot and background sync modes"
homepage = "https://github.com/eftech93/dioxus-storage"
documentation = "https://docs.rs/dioxus-client-storage"
readme = "README.md"
keywords = [
    "dioxus",
    "indexeddb",
    "storage",
    "wasm",
    "web",
]
categories = [
    "wasm",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/eftech93/dioxus-storage"

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

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

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

[dependencies.chrono]
version = "0.4"
features = [
    "serde",
    "wasmbind",
]

[dependencies.dioxus]
version = "0.6"
features = [
    "web",
    "hooks",
]
default-features = false

[dependencies.dioxus-indexeddb]
version = "0.0.3"

[dependencies.dioxus-signals]
version = "0.6"

[dependencies.futures]
version = "0.3"

[dependencies.gloo-timers]
version = "0.3"
features = ["futures"]

[dependencies.js-sys]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.0"
features = [
    "rt",
    "macros",
]

[dependencies.uuid]
version = "1.0"
features = [
    "v4",
    "serde",
    "js",
]

[dependencies.wasm-bindgen]
version = "0.2"

[dependencies.wasm-bindgen-futures]
version = "0.4"

[dependencies.web-sys]
version = "0.3"
features = [
    "Storage",
    "Window",
    "Navigator",
    "EventTarget",
    "Event",
]

[dev-dependencies.wasm-bindgen-test]
version = "0.3"
