Make sqlite bundling optional
This commit is contained in:
parent
48b67759ed
commit
7dd086fcdc
|
@ -12,6 +12,10 @@ publish = false
|
|||
[lib]
|
||||
crate-type = ["cdylib", "staticlib"]
|
||||
|
||||
[features]
|
||||
default = ["bundled-sqlite"]
|
||||
bundled-sqlite = ["matrix-sdk-sqlite/bundled"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
base64 = { workspace = true }
|
||||
|
|
|
@ -18,7 +18,8 @@ rustdoc-args = ["--cfg", "docsrs"]
|
|||
crate-type = ["cdylib"]
|
||||
|
||||
[features]
|
||||
default = []
|
||||
default = ["bundled-sqlite"]
|
||||
bundled-sqlite = ["matrix-sdk-sqlite/bundled"]
|
||||
qrcode = ["matrix-sdk-crypto/qrcode"]
|
||||
tracing = ["dep:tracing-subscriber"]
|
||||
|
||||
|
@ -33,7 +34,7 @@ napi-derive = "2.9.1"
|
|||
serde_json = { workspace = true }
|
||||
http = { workspace = true }
|
||||
tracing-subscriber = { version = "0.3", default-features = false, features = ["tracing-log", "time", "smallvec", "fmt", "env-filter"], optional = true }
|
||||
vodozemac = { workspace = true, features = ["js"]}
|
||||
vodozemac = { workspace = true, features = ["js"] }
|
||||
zeroize = { workspace = true }
|
||||
|
||||
[build-dependencies]
|
||||
|
|
|
@ -12,6 +12,10 @@ repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
|||
[lib]
|
||||
crate-type = ["cdylib", "staticlib"]
|
||||
|
||||
[features]
|
||||
default = ["bundled-sqlite"]
|
||||
bundled-sqlite = ["matrix-sdk-sqlite/bundled"]
|
||||
|
||||
[build-dependencies]
|
||||
uniffi = { workspace = true, features = ["build"] }
|
||||
|
||||
|
@ -60,7 +64,7 @@ features = [
|
|||
"experimental-sliding-sync",
|
||||
"experimental-timeline",
|
||||
"e2e-encryption",
|
||||
"markdown",
|
||||
"markdown",
|
||||
"socks",
|
||||
"rustls-tls",
|
||||
]
|
||||
|
|
|
@ -10,6 +10,7 @@ rust-version = { workspace = true }
|
|||
[features]
|
||||
default = []
|
||||
|
||||
bundled = ["rusqlite/bundled"]
|
||||
crypto-store = [
|
||||
"dep:matrix-sdk-base",
|
||||
"dep:matrix-sdk-crypto",
|
||||
|
@ -30,7 +31,7 @@ matrix-sdk-crypto = { version = "0.6.0", path = "../matrix-sdk-crypto", optional
|
|||
matrix-sdk-store-encryption = { version = "0.2.0", path = "../matrix-sdk-store-encryption" }
|
||||
rmp-serde = "1.1.1"
|
||||
ruma = { workspace = true }
|
||||
rusqlite = { version = "0.28.0", features = ["bundled"] }
|
||||
rusqlite = "0.28.0"
|
||||
serde = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
tokio = { workspace = true, features = ["fs"] }
|
||||
|
|
Loading…
Reference in New Issue