Skip to content

Commit

Permalink
feat(dht): add feature to optionally bundle sqlite (#4104)
Browse files Browse the repository at this point in the history
Also, updated to v0.22.2 of libsqlite
  • Loading branch information
stringhandler authored May 16, 2022
1 parent 354bae2 commit 498248e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion base_layer/wallet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ diesel_migrations = "1.4.0"
digest = "0.9.0"
fs2 = "0.3.0"
futures = { version = "^0.3.1", features = ["compat", "std"] }
libsqlite3-sys = { version = ">=0.8.0, <0.13.0", features = ["bundled"], optional = true }
libsqlite3-sys = { version = "0.22.2", features = ["bundled"], optional = true }
lmdb-zero = "0.4.4"
log = "0.4.6"
log4rs = { version = "1.0.0", features = ["console_appender", "file_appender", "yaml_format"] }
Expand Down
3 changes: 2 additions & 1 deletion comms/dht/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ chacha20 = "0.7.1"
chrono = { version = "0.4.19", default-features = false }
diesel = { version = "1.4.7", features = ["sqlite", "serde_json", "chrono", "numeric"] }
diesel_migrations = "1.4.0"
libsqlite3-sys = { version = ">=0.8.0, <0.13.0", features = ["bundled"], optional = true }
libsqlite3-sys = { version = "0.22.2", features = ["bundled"], optional = true }
digest = "0.9.0"
futures = { version = "^0.3.1" }
log = "0.4.8"
Expand Down Expand Up @@ -68,3 +68,4 @@ tari_common = { version = "^0.32", path = "../../common" }
[features]
test-mocks = []
avx2 = ["tari_crypto/avx2"]
bundled-sqlite = ["libsqlite3-sys"]

0 comments on commit 498248e

Please sign in to comment.