snapshot of https://github.com/ActivityWatch/aw-server-rust.git (master, 2026-09-16; blobs > 131072B omitted)
Some checks failed
Build / ubuntu-latest (push) Failing after 5s
Build / Android (push) Failing after 2s
Build / Code coverage (push) Failing after 2s
Lint / format (push) Failing after 3s
Lint / clippy (push) Failing after 3s
Build / macOS-latest (push) Has been cancelled
Build / windows-latest (push) Has been cancelled
Some checks failed
Build / ubuntu-latest (push) Failing after 5s
Build / Android (push) Failing after 2s
Build / Code coverage (push) Failing after 2s
Lint / format (push) Failing after 3s
Lint / clippy (push) Failing after 3s
Build / macOS-latest (push) Has been cancelled
Build / windows-latest (push) Has been cancelled
This commit is contained in:
41
aw-datastore/Cargo.toml
Normal file
41
aw-datastore/Cargo.toml
Normal file
@@ -0,0 +1,41 @@
|
||||
[package]
|
||||
name = "aw-datastore"
|
||||
version = "0.1.0"
|
||||
authors = ["Johan Bjäreholt <johan@bjareho.lt>"]
|
||||
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
|
||||
Reference in New Issue
Block a user