[package] name = "cooklang-sync-client" version = "0.2.4" authors = ["Alexey Dubovskoy "] edition = "2021" description = "A client library for cooklang-sync" license = "MPL-2.0" repository = "https://github.com/cooklang/cooklang-sync" keywords = ["file-sync", "sync"] [[bin]] path = "src/main.rs" name = "client" [lib] path = "src/lib.rs" name = "cooklang_sync_client" crate-type = ["lib", "cdylib", "staticlib"] [dependencies] diesel = { version = "2.1", features = ["sqlite", "time", "r2d2", "serde_json"] } diesel_migrations = { version = "2.1", features = ["sqlite"] } env_logger = "0.11" futures = "0.3" log = "0.4" notify = "6.1" notify-debouncer-mini = "0.4" quick_cache = "0.4.1" reqwest = { version = "0.11", features = ["json", "gzip", "stream"] } rusqlite = { version = "0.32", features = ["bundled"] } serde = { version = "1", features = ["derive"] } serde_json = "1" sha2 = "0.10" thiserror = "1" time = { version = "0.3", features = ["std"] } tokio = { version = "1.35", features = ["time", "fs", "macros", "rt-multi-thread"] } uniffi = "0.28" uuid = { version = "1.7", features = ["v4"] } walkdir = "2.4" openssl = { version = "0.10", features = ["vendored"] } reqwest-middleware = "0.2" jsonwebtoken = "9" async-stream = "0.3" [[bin]] # workaround: https://mozilla.github.io/uniffi-rs/tutorial/foreign_language_bindings.html#creating-the-bindgen-binary # This can be whatever name makes sense for your project, but the rest of this tutorial assumes uniffi-bindgen. name = "uniffi-bindgen" path = "src/uniffi-bindgen.rs" required-features = ["uniffi/cli"]