Patch-Source: https://github.com/cantino/mcfly/pull/353 -- From 1717b4eecdb2fe73cda7b4ab913aa5e9ecc75f67 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sat, 29 Apr 2023 21:35:07 +0200 Subject: [PATCH] Add feature flag sqlite-bundled To allow linking mcfly with system-provided sqlite. --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 12f323a..e45b755 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ unicode-segmentation = "1.9" [dependencies.rusqlite] version = "0.28" -features = ["bundled", "functions", "unlock_notify"] +features = ["functions", "unlock_notify"] [dependencies.crossterm] version = "0.26" @@ -41,3 +41,6 @@ features = ["use-dev-tty"] version = "4" features = ["derive"] +[features] +default = ["sqlite-bundled"] +sqlite-bundled = ["rusqlite/bundled"]