From fb4d1eedba2a46ce23258f9c7458c6bdd05dde43 Mon Sep 17 00:00:00 2001 From: losfair Date: Thu, 11 Aug 2022 13:55:53 +0000 Subject: [PATCH] Make the "bundled" feature of rusqlite optional. --- Cargo.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0ee90ce52..abb3c326f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,6 +48,11 @@ vendored-openssl = [ "mysql_async/vendored-openssl" ] +bundled-sqlite = [ + "rusqlite/bundled", + "libsqlite3-sys/bundled" +] + postgresql = [ "native-tls", "tokio-postgres", @@ -117,13 +122,12 @@ branch = "vendored-openssl" [dependencies.rusqlite] version = "0.25" -features = ["chrono", "bundled", "column_decltype"] +features = ["chrono", "column_decltype"] optional = true [dependencies.libsqlite3-sys] version = "0.22" default-features = false -features = ["bundled"] optional = true [target.'cfg(not(any(target_os = "macos", target_os = "ios")))'.dependencies.tiberius]