# 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"
name = "syncor-core"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for syncor — cross-machine directory sync via content-addressed storage"
readme = false
keywords = [
    "sync",
    "backup",
    "git",
    "content-addressable",
]
categories = [
    "command-line-utilities",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/syi0808/syncor"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.chkpt-core]
version = "0.3"

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

[dependencies.dirs]
version = "5"

[dependencies.fs4]
version = "0.13"
features = ["tokio"]

[dependencies.libc]
version = "0.2"

[dependencies.lz4_flex]
version = "0.11"

[dependencies.notify]
version = "7"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.git2]
version = "0.19"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]
