[package]
name = "holochain_sqlite"
version = "0.0.66"
description = "Abstractions for persistence of Holochain state via SQLite"
license = "Apache-2.0"
homepage = "https://github.com/holochain/holochain"
documentation = "https://docs.rs/holochain_sqlite"
authors = [ "Holochain Core Dev Team <devcore@holochain.org>" ]
edition = "2021"
[dependencies]
async-trait = "0.1"
anyhow = "1.0.26"
byteorder = "1.3.4"
cfg-if = "0.1"
chashmap = "=2.2.0"
chrono = { version = "0.4.22", default-features = false, features = ["clock", "std", "oldtime", "serde"] }
derive_more = "0.99.3"
either = "1.5.0"
fallible-iterator = "0.2.0"
failure = "0.1.6"
fixt = { version = "0.0.14", path = "../fixt" }
futures = "0.3.1"
holo_hash = { path = "../holo_hash", features = ["rusqlite"], version = "^0.0.35"}
holochain_serialized_bytes = "=0.0.51"
holochain_zome_types = { version = "^0.0.58", path = "../holochain_zome_types" }
kitsune_p2p = { version = "^0.0.52", path = "../kitsune_p2p/kitsune_p2p" }
lazy_static = "1.4.0"
once_cell = "1.4.1"
must_future = "0.1.1"
nanoid = "0.3.0"
num_cpus = "1.13.0"
num-traits = "0.2"
page_size = "0.4.2"
parking_lot = "0.10"
rand = "0.8.5"
r2d2 = "0.8"
r2d2_sqlite = "0.21"
rmp-serde = "0.15"
scheduled-thread-pool = "0.2"
serde = "1.0"
serde_derive = "1.0"
serde_json = { version = "1.0.51", features = [ "preserve_order" ] }
shrinkwraprs = "0.3.0"
tempfile = "3.3"
thiserror = "1.0.22"
tokio = { version = "1.11", features = [ "macros", "rt-multi-thread", "io-util", "sync" ] }
holochain_util = { version = "^0.0.13", path = "../holochain_util" }
tracing = "0.1.18"
tracing-futures = "0.2"
rusqlite = { version = "0.28", features = [
"blob",
"backup",
"trace",
"functions",
] }
[dev-dependencies]
observability = { version = "0.1.3" }
[build-dependencies]
pretty_assertions = "0.7.2"
sqlformat = "0.1.6"
[features]
default = [ "test_utils", "no-deps" ]
test_utils = [ ]
db-encryption = ["rusqlite/bundled-sqlcipher-vendored-openssl"]
no-deps = ['rusqlite/bundled']