[package]
name = "dittolive-ditto"
version = "2.0.3"
authors = ["Ditto Engineering Team <engineering@ditto.live>"]
edition = "2021"
publish = true
resolver = "2"
license-file = "LICENSE.md"
homepage = "https://www.ditto.live"
documentation = "https://ditto.live/docs"
description = "Ditto is a peer to peer cross-platform database that allows mobile, web, IoT and server apps to sync with or without an internet connection."
categories = ["database-implementations", "external-ffi-bindings", "database"]
keywords = ["sdk", "distributed", "peer-to-peer", "database", "bluetooth"]
[features]
default = ["timeseries", "ffi_sdk/default"]
fs-storage = ["ffi_sdk/fs-storage"]
in-memory-storage = ["ffi_sdk/in-memory-storage"]
timeseries = ["chrono"]
[dependencies]
chrono = { version = "0.4", optional = true}
crossbeam-utils = "0.8"
dotenv = "0.15.0"
ext-trait = "1.0.0"
log = "0.4.11"
rand = { version = "0.8", features = ["std_rng"] }
serde = { version = "1.0", features = ["derive"] }
serde_bytes = "0.11.5"
serde_cbor = "0.11.1"
serde_json = "1.0.57"
serde-transcode = "1.1"
to_method = "1.1.0"
tokio = { version = "1.20.1", features = ["full"] }
uuid = { version = "1.1.2", features = ["serde", "v4"] }
[dependencies.ffi_sdk]
version = "2.0.3"
package = "dittolive-ditto-sys"
path = "dittolive-ditto-sys"
default-features = false
[dependencies.safer-ffi]
features = ["out-refs"]
version = "0.0.5"
[dev-dependencies]
assert_matches = "1.3"
cast = "0.2.3"
chrono = { version = "0.4", features = ["serde"] }
criterion = "0.3"
env_logger = "0.8"
tokio = { version = "1.20.1", features = ["full"] }
tokio-test = "0.4.1"
tracing = "0.1.30"
[dev-dependencies.safer-ffi-ditto]
package = "safer-ffi"
path = "../subrepos/safer-ffi"
features = ["out-refs"]
[[bench]]
name = "benchmarks"
path = "benchmarking/main.rs"
harness = false
[profile.dev]
rpath = true
[profile.release]
rpath = true
[profile.bench]
rpath = true
[workspace]
members = [
"src/utils/proc-macros",
"dittolive-ditto-sys",
"dittolive-ditto-sys/implicit-dittoffi-dependency-hack",
]