# 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.89"
name = "allframe-tauri"
version = "0.1.25"
authors = ["AllFrame Contributors"]
build = "build.rs"
links = "allframe-tauri"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tauri 2.x plugin for AllFrame - Expose handlers via IPC for offline-first desktop apps"
homepage = "https://all-source-os.github.io/all-frame"
documentation = "https://docs.rs/allframe"
readme = "README.md"
keywords = [
    "tauri",
    "desktop",
    "ipc",
    "offline-first",
    "framework",
]
categories = [
    "gui",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/all-source-os/all-frame"

[features]
default = []
tracing = ["dep:tracing"]

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

[[example]]
name = "boot_lifecycle"
path = "examples/boot_lifecycle.rs"

[[example]]
name = "tauri_plugin"
path = "examples/tauri_plugin.rs"

[dependencies.allframe-core]
version = "0.1.25"
features = ["router"]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tauri]
version = "2"
features = ["wry"]

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.48"
features = [
    "full",
    "sync",
    "rt",
]

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.allframe-macros]
version = "0.1.25"

[dev-dependencies.tokio]
version = "1.48"
features = [
    "full",
    "macros",
    "rt-multi-thread",
]

[build-dependencies.tauri-plugin]
version = "2"
features = ["build"]
