[package] name = "aw-datastore" version = "0.1.0" authors = ["Johan Bjäreholt "] edition = "2021" [features] default = ["bundled"] # Use bundled SQLite (default, no encryption support) bundled = ["rusqlite/bundled"] # Use bundled SQLCipher for encrypted databases (mutually exclusive with 'bundled') # Build with: cargo build --no-default-features --features encryption # Requires OpenSSL. Use 'encryption-vendored' to vendor OpenSSL as well. encryption = ["rusqlite/bundled-sqlcipher", "dep:zeroize"] # Like 'encryption' but also vendors OpenSSL (fully self-contained) encryption-vendored = ["rusqlite/bundled-sqlcipher-vendored-openssl", "dep:zeroize"] legacy_import_tests = [] [dependencies] dirs = "6" serde = "1.0" serde_json = "1.0" chrono = { version = "0.4", features = ["serde"] } rusqlite = { version = "0.30", features = ["chrono", "serde_json"] } mpsc_requests = "0.3" log = "0.4" zeroize = { version = "1", optional = true, features = ["alloc"] } aw-models = { path = "../aw-models" } aw-transform = { path = "../aw-transform" } regex = "1" [dev-dependencies] criterion = "0.5.1" tempfile = "3" # Used by migration tests to construct databases with old schema versions rusqlite = { version = "0.30", features = ["chrono", "serde_json"] } [[bench]] name = "interval_reads" harness = false