[package]
name = "sqlite3_ext"
authors = ["The sqlite3_ext developers"]
version = "0.1.1"
edition = "2021"
license = "blessing"
description = "Build loadable extensions for SQLite using Rust"
homepage = "https://github.com/CGamesPlay/sqlite3_ext"
repository = "https://github.com/CGamesPlay/sqlite3_ext"
keywords = [ "database", "sqlite", "ffi" ]
categories = [ "database" ]
[workspace]
members = [ "sqlite3_ext_macro" ]
[features]
static = [ "dep:libsqlite3-sys" ]
static_modern = [ "static", "libsqlite3-sys?/bundled_bindings" ]
bundled = [ "static_modern", "libsqlite3-sys?/bundled" ]
with_rusqlite = [ "dep:rusqlite", "static" ]
[dependencies]
bigdecimal = { version = "0.3.0", optional = true }
bitflags = "1.3.2"
fallible-iterator = "0.2.0"
libsqlite3-sys = { version = "0.24.2", optional = true }
paste = "1.0.7"
rusqlite = { version = "0.27.0", optional = true }
sealed = "0.4.0"
sqlite3_ext_macro = { version = "0.1.0", path = "sqlite3_ext_macro" }
[dev-dependencies]
indoc = "1.0"
lazy_static = "1.4.0"
nom = "7.1.1"
pretty_assertions = "1.2.1"
regex = "1.5.6"
serde_json = "1.0"
subprocess = "0.2.9"
trybuild = "1.0.63"
[build-dependencies]
proc-macro2 = "1.0"
which = "4.2.5"
syn = { version = "1.0", features = [ "parsing", "full" ] }
quote = "1.0"
[[test]]
name = "vtab"
required-features = [ "static" ]
[[test]]
name = "loadable_extension"
required-features = [ "static_modern" ]
[[test]]
name = "with_rusqlite"
required-features = [ "with_rusqlite" ]
[[example]]
name = "generate_series"
crate-type = [ "cdylib", "staticlib" ]
test = true
[[example]]
name = "vtablog"
crate-type = [ "cdylib", "staticlib" ]
test = true
[[example]]
name = "decimal"
required-features = [ "bigdecimal" ]
crate-type = [ "cdylib", "staticlib" ]
test = true
[package.metadata.docs.rs]
features = [ "bundled", "with_rusqlite" ]
rustdoc-args = ["--cfg", "docsrs"]