Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
colored = "3"
dirs = "5"
rusqlite = { version = "0.31", features = ["bundled"] }
rusqlite = { version = "0.31" }
toml = "0.8"
chrono = "0.4"
tempfile = "3"
Expand All @@ -34,6 +34,14 @@ quick-xml = "0.37"
which = "8"
automod = "1"

[features]
default = ["bundled-sqlite"]
# Compile and statically link SQLite from the copy vendored in
# libsqlite3-sys. Distribution packages build with
# --no-default-features so the binary links the system SQLite and is
# covered by the distribution's SQLite security updates.
bundled-sqlite = ["rusqlite/bundled"]

[target.'cfg(unix)'.dependencies]
libc = "0.2"

Expand Down