# 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"
name = "saku-sync"
version = "0.1.0"
authors = ["Asier Zapata <me@asierzapata.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sync engine for the saku ecosystem"
readme = false
license = "AGPL-3.0-or-later"
repository = "https://github.com/asierzapata/saku"
resolver = "2"

[features]
default = []
server = [
    "dep:ureq",
    "dep:toml",
    "dep:dirs",
    "saku-crypto/keychain",
]

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

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

[dependencies.dirs]
version = "6.0.0"
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.jiff]
version = "0.2.20"
features = ["serde"]

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]

[dependencies.saku-crypto]
version = "0.1.0"

[dependencies.saku-storage]
version = "0.1.0"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0.18"

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

[dependencies.ureq]
version = "2"
features = ["json"]
optional = true

[dev-dependencies.tempfile]
version = "3.14"
