sqlite3-src 0.2.1

The package provides SQLite.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern crate gcc;
extern crate pkg_config;

#[cfg(not(feature = "bundled"))]
fn main() {
    if pkg_config::find_library("sqlite3").is_err() {
        gcc::compile_library("libsqlite3.a", &["source/sqlite3.c"]);
    }
}

#[cfg(feature = "bundled")]
fn main() {
    gcc::compile_library("libsqlite3.a", &["source/sqlite3.c"]);
}