[package]
edition = "2021"
rust-version = "1.98.0"
name = "rightkit-db"
version = "0.5.2"
build = false
include = [
"src/**",
"tests/**",
"README.md",
"LICENSE-MIT",
"LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Correct-by-default SQLite and SQLCipher connection bootstrap for Right Suite apps."
readme = "README.md"
keywords = [
"sqlite",
"sqlcipher",
"wal",
"database",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bogusyogi/rightkit"
[package.metadata.rightkit]
continuous = false
continuous_reason = "SQLite open, migrate, backup and restore helpers; sleep is a 25 ms back-off between retries of one busy or locked backup step, bounded by the call and its busy_timeout, and the crate spawns no thread or continuous work"
[features]
bundled = ["rusqlite/bundled"]
cipher = []
default = []
encrypted-lifecycle = []
hooks = ["rusqlite/hooks"]
sqlcipher = [
"cipher",
"rusqlite/bundled-sqlcipher-vendored-openssl",
]
sqlcipher-system = [
"cipher",
"rusqlite/bundled-sqlcipher",
]
statement-cache = ["rusqlite/cache"]
[lib]
name = "rightkit_db"
path = "src/lib.rs"
[[test]]
name = "checkpoint_job"
path = "tests/checkpoint_job.rs"
[[test]]
name = "contract"
path = "tests/contract.rs"
[[test]]
name = "e2e"
path = "tests/e2e.rs"
[[test]]
name = "encrypted_lifecycle"
path = "tests/encrypted_lifecycle.rs"
[[test]]
name = "failed_open_keeps_wal"
path = "tests/failed_open_keeps_wal.rs"
[[test]]
name = "integrity_recovery"
path = "tests/integrity_recovery.rs"
[[test]]
name = "journal_fallback"
path = "tests/journal_fallback.rs"
[[test]]
name = "membrane"
path = "tests/membrane.rs"
[[test]]
name = "migrate_gaps"
path = "tests/migrate_gaps.rs"
[[test]]
name = "open_or_degrade"
path = "tests/open_or_degrade.rs"
[[test]]
name = "quarantine_options"
path = "tests/quarantine_options.rs"
[[test]]
name = "read_pool"
path = "tests/read_pool.rs"
[[test]]
name = "relocation_interruption"
path = "tests/relocation_interruption.rs"
[[test]]
name = "restore"
path = "tests/restore.rs"
[[test]]
name = "unreadable_recovery"
path = "tests/unreadable_recovery.rs"
[[test]]
name = "version_table"
path = "tests/version_table.rs"
[[test]]
name = "write_txn_unchecked"
path = "tests/write_txn_unchecked.rs"
[dependencies.rightkit-fs]
version = "0.4.6"
features = [
"fs",
"lock",
"transaction",
]
default-features = false
[dependencies.rusqlite]
version = "0.40.2"
features = ["backup"]
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.zeroize]
version = "1.9"
[dev-dependencies.tempfile]
version = "3"
[target."cfg(unix)".dependencies.libc]
version = "0.2"