# 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.77"
name = "ai-store-sync"
version = "0.4.0"
authors = ["Yutaka Nishimura <ytk.nishimura@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Blocking (sync) facade over ai-store-core::Store for synchronous consumers"
homepage = "https://github.com/ynishi/ai-store"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/ynishi/ai-store"

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

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

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

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

[dependencies.ai-store-core]
version = "0.4.0"

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

[dependencies.json-patch]
version = "4"

[dependencies.serde_json]
version = "1"

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

[dev-dependencies.ai-store-mem]
version = "0.4.0"

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

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