sqlite3-sys

Crates.iosqlite3-sys
lib.rssqlite3-sys
version0.17.0
sourcesrc
created_at2015-05-28 19:20:24.590253
updated_at2024-04-21 07:46:38.413088
descriptionThe package provides bindings to SQLite.
homepagehttps://github.com/stainless-steel/sqlite3-sys
repositoryhttps://github.com/stainless-steel/sqlite3-sys
max_upload_size
id2241
size185,621
Owners (github:buoyantio:owners)

documentation

https://docs.rs/sqlite3-sys

README

sqlite3-sys Package Documentation Build

The package provides bindings to SQLite.

The following Cargo features are supported:

  • linkage creates a dependency on sqlite3-src, which links to a suitable SQLite library;
  • bundled compiles SQLite from the source code, ignoring any libraries that might already be installed; and
  • encryption enables 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.

Commit count: 131

cargo fmt