sqlite-tiny 0.4.0

A minimalistic SQLite crate which ships the amalgamation variant and provides a tiny Rust API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use cc::Build;

fn main() {
    Build::new()
        .extra_warnings(true)
        // Recommended flags; see https://www.sqlite.org/compile.html
        .flag("-DSQLITE_DQS=0")
        .flag("-DSQLITE_DEFAULT_MEMSTATUS=0")
        .flag("-DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1")
        .flag("-DSQLITE_OMIT_DEPRECATED=1")
        .flag("-DSQLITE_OMIT_SHARED_CACHE=1")
        .flag("-DSQLITE_STRICT_SUBTYPE=1")
        // Build lib
        .include("dist/")
        .file("dist/sqlite3.c")
        .file("src/ffi/glue.c")
        .compile("libsqlite3.a");
}