From ffeb4507664ce252442796fa34dae9c1aef93247 Mon Sep 17 00:00:00 2001 From: Davide Aversa Date: Tue, 2 May 2017 09:36:41 +0200 Subject: [PATCH] Add snippet for enabling bundled features in Readme --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a4d155f..1af47db 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,12 @@ adjust this behavior in a couple of ways: [gcc](https://crates.io/crates/gcc) crate to compile SQLite from source and link against that. This source is embedded in the `libsqlite3-sys` crate and is currently SQLite 3.17.0 (as of `rusqlite` 0.10.1 / `libsqlite3-sys` - 0.7.1). This is probably the simplest solution to any build problems. + 0.7.1). This is probably the simplest solution to any build problems. You can enable this by adding the following in your `Cargo.toml` file: + ``` + [dependencies.rusqlite] + version = "0.11.0" + features = ["bundled"] + ``` * You can set the `SQLITE3_LIB_DIR` to point to directory containing the SQLite library.