[package]
edition = "2021"
name = "holochain_data"
version = "0.7.0-dev.6"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Database abstraction layer for Holochain using sqlx"
documentation = "https://docs.rs/holochain_data"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/holochain/holochain"
[features]
default = []
sqlite-encrypted = ["libsqlite3-sys/bundled-sqlcipher-vendored-openssl"]
test-utils = []
unstable-migration = [
"holochain_zome_types/unstable-migration",
"holochain_types/unstable-migration",
]
[lib]
name = "holochain_data"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.base64]
version = "0.22"
[dependencies.holo_hash]
version = "^0.7.0-dev.7"
[dependencies.holochain_integrity_types]
version = "^0.7.0-dev.8"
[dependencies.holochain_serialized_bytes]
version = "=0.0.56"
[dependencies.holochain_types]
version = "^0.7.0-dev.16"
[dependencies.holochain_zome_types]
version = "^0.7.0-dev.10"
[dependencies.libsqlite3-sys]
version = "0.35"
[dependencies.serde_json]
version = "1.0"
[dependencies.sodoken]
version = "0.1.0"
[dependencies.sqlx]
version = "0.9.0-alpha.1"
features = [
"runtime-tokio",
"sqlite",
"migrate",
"macros",
"derive",
"json",
]
[dependencies.tokio]
version = "1.27"
features = ["full"]
[dev-dependencies.tempfile]
version = "3.3"
[lints.clippy]
complexity = "deny"
correctness = "deny"
dbg_macro = "deny"
perf = "deny"
style = "deny"
[lints.clippy.cargo]
level = "allow"
priority = -1
[lints.clippy.nursery]
level = "allow"
priority = -1
[lints.clippy.pedantic]
level = "allow"
priority = -1
[lints.clippy.restriction]
level = "allow"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(build_wasm)",
"cfg(loom)",
]