mirror of
https://github.com/chatmail/core.git
synced 2026-05-19 23:06:32 +03:00
Make it possible to disable bundled SQLite
Also disable it in CMakeLists.txt which is used to install libdeltachat system-wide.
This commit is contained in:
@@ -8,7 +8,7 @@ add_custom_command(
|
|||||||
"target/release/libdeltachat.a"
|
"target/release/libdeltachat.a"
|
||||||
"target/release/libdeltachat.so"
|
"target/release/libdeltachat.so"
|
||||||
"target/release/pkgconfig/deltachat.pc"
|
"target/release/pkgconfig/deltachat.pc"
|
||||||
COMMAND PREFIX=${CMAKE_INSTALL_PREFIX} ${CARGO} build --package deltachat_ffi --release
|
COMMAND PREFIX=${CMAKE_INSTALL_PREFIX} ${CARGO} build --package deltachat_ffi --release --no-default-features
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ r2d2 = "0.8.9"
|
|||||||
r2d2_sqlite = "0.18.0"
|
r2d2_sqlite = "0.18.0"
|
||||||
rand = "0.7.0"
|
rand = "0.7.0"
|
||||||
regex = "1.1.6"
|
regex = "1.1.6"
|
||||||
rusqlite = { version = "0.25", features = ["bundled"] }
|
rusqlite = "0.25"
|
||||||
rust-hsluv = "0.1.4"
|
rust-hsluv = "0.1.4"
|
||||||
rustyline = { version = "4.1.0", optional = true }
|
rustyline = { version = "4.1.0", optional = true }
|
||||||
sanitize-filename = "0.3.0"
|
sanitize-filename = "0.3.0"
|
||||||
@@ -115,8 +115,9 @@ name = "search_msgs"
|
|||||||
harness = false
|
harness = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = ["bundled-sqlite"]
|
||||||
internals = []
|
internals = []
|
||||||
repl = ["internals", "rustyline", "log", "pretty_env_logger", "ansi_term", "dirs"]
|
repl = ["internals", "rustyline", "log", "pretty_env_logger", "ansi_term", "dirs"]
|
||||||
vendored = ["async-native-tls/vendored", "async-smtp/native-tls-vendored"]
|
vendored = ["async-native-tls/vendored", "async-smtp/native-tls-vendored"]
|
||||||
nightly = ["pgp/nightly"]
|
nightly = ["pgp/nightly"]
|
||||||
|
bundled-sqlite = ["rusqlite/bundled"]
|
||||||
|
|||||||
Reference in New Issue
Block a user