29 lines
886 B
TOML
29 lines
886 B
TOML
[package]
|
|
license = "Apache-2.0"
|
|
name = "xai-sqlite-journal"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
description = "Filesystem-aware SQLite journal-mode selection: WAL on local disks, rollback journal on network mounts where WAL's mmap'd -shm is unsafe"
|
|
|
|
[dependencies]
|
|
# Matches the pinned rusqlite of every consumer (bundled = self-contained SQLite).
|
|
rusqlite = { version = "0.37", features = ["bundled"] }
|
|
tracing = { workspace = true }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = { workspace = true }
|
|
|
|
# Same per-crate pin as xai-crash-handler / xai-system-power / xai-grok-pager
|
|
# (windows-sys has no workspace entry).
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { version = "0.59", features = [
|
|
"Win32_Foundation",
|
|
"Win32_Storage_FileSystem",
|
|
"Win32_System_WindowsProgramming",
|
|
] }
|
|
|
|
[dev-dependencies]
|
|
tempfile = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|