Skip to content

About

Bindings to SQLite

Topics

Resources

Stars

21 stars

Watchers

3 watching

Forks

Latest commit

 

History

141 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqlite3-sys Package Documentation Build

The package provides bindings to SQLite.

The following Cargo features are supported:

  • linkage to create a dependency on sqlite3-src, which links to a suitable SQLite library;
  • bundled to activate the linkage and compile SQLite from the source code that comes with the package, ignoring any SQLite libraries that might be installed in the system;
  • system to activate the linkage and use the SQLite library that is already installed in the system, ignoring the possibility of compiling it from the source code; and
  • encryption to enable bindings to the SQLite Encryption Extension, which is closed source and hence requires purchasing a license and installing SQLite manually.

Development

cargo install bindgen-cli
git clone https://github.com/stainless-steel/sqlite3-src.git --recursive
bindgen --use-core sqlite3-src/source/sqlite3.h \
  | sed -E "s/^pub const ([0-9A-Z_]+): u32/pub const \1: ::core::ffi::c_int/" \
  > src/base.rs

Contribution

Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.

About

Bindings to SQLite

Topics

Resources

Stars

21 stars

Watchers

3 watching

Forks

Used by

Contributors

Languages