From f33b52853883db4331a37ac01d293d767ef6f837 Mon Sep 17 00:00:00 2001 From: Ivan Ukhov Date: Sun, 28 Feb 2016 13:11:44 +0100 Subject: [PATCH] Reexport the features of sqlite3-sys --- Cargo.toml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6fdf534..0393577 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,14 +12,18 @@ documentation = "https://stainless-steel.github.io/sqlite" homepage = "https://github.com/stainless-steel/sqlite" repository = "https://github.com/stainless-steel/sqlite" +[features] +default = ["standard"] + +standard = ["sqlite3-sys/standard"] +sqlcipher = ["sqlite3-sys/sqlcipher"] + [dependencies] libc = "0.2" -sqlite3-sys = "0.6" + +[dependencies.sqlite3-sys] +sqlite3-sys = "0.7" +default-features = false [dev-dependencies] temporary = "0.5" - -[features] -# Link sqlite3-sys against sqlcipher, instead of sqlite3, -# enabling support for transparent database encryption. -sqlcipher = ["sqlite3-sys/sqlcipher"]