origin-sync 0.2.0

The Origin sync engine: scheduling, backoff, offline handling and sync state. Knows no external service.
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 = "2024"
rust-version = "1.88"
name = "origin-sync"
version = "0.2.0"
authors = ["Jörn Seidel <joern.seidel@casoon.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Origin sync engine: scheduling, backoff, offline handling and sync state. Knows no external service."
homepage = "https://casoon.dev"
readme = "README.md"
keywords = [
    "tauri",
    "sync",
    "scheduling",
    "offline",
]
categories = ["asynchronous"]
license = "MIT"
repository = "https://github.com/casoon/origin"

[features]
default = []
ts = [
    "dep:ts-rs",
    "origin-domain/ts",
]

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

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

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

[dependencies.origin-domain]
version = "0.2.0"

[dependencies.origin-events]
version = "0.2.0"

[dependencies.origin-storage]
version = "0.2.0"

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

[dependencies.serde_json]
version = "1.0.151"

[dependencies.time]
version = "0.3.55"
features = [
    "serde-well-known",
    "macros",
]

[dependencies.tokio]
version = "1.53"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
]

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1.44"

[dependencies.ts-rs]
version = "12.0"
optional = true

[dev-dependencies.async-trait]
version = "0.1.92"

[dev-dependencies.origin-domain]
version = "0.2.0"
features = ["testing"]

[dev-dependencies.tokio]
version = "1.53"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
    "rt-multi-thread",
    "macros",
    "time",
]

[dev-dependencies.tokio-util]
version = "0.7"

[lints.clippy]
dbg_macro = "warn"
print_stdout = "warn"
todo = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"