[package]
edition = "2021"
rust-version = "1.85"
name = "sqlite3_ext"
version = "0.2.0"
authors = ["The sqlite3_ext developers"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Build loadable extensions for SQLite using Rust"
homepage = "https://github.com/CGamesPlay/sqlite3_ext"
readme = "README.md"
keywords = [
"database",
"sqlite",
"ffi",
]
categories = ["database"]
license = "blessing"
repository = "https://github.com/CGamesPlay/sqlite3_ext"
[package.metadata.docs.rs]
features = [
"bundled",
"with_rusqlite",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
bundled = [
"static_modern",
"libsqlite3-sys?/bundled",
]
static = ["dep:libsqlite3-sys"]
static_modern = [
"static",
"libsqlite3-sys?/bundled_bindings",
]
with_rusqlite = [
"dep:rusqlite",
"static",
]
[lib]
name = "sqlite3_ext"
path = "src/lib.rs"
[[example]]
name = "decimal"
crate-type = [
"cdylib",
"staticlib",
]
path = "examples/decimal.rs"
test = true
required-features = ["bigdecimal"]
[[example]]
name = "generate_series"
crate-type = [
"cdylib",
"staticlib",
]
path = "examples/generate_series.rs"
test = true
[[example]]
name = "rarray"
crate-type = ["lib"]
path = "examples/rarray.rs"
test = true
required-features = ["static_modern"]
[[example]]
name = "shared_context"
crate-type = [
"cdylib",
"staticlib",
]
path = "examples/shared_context.rs"
test = true
[[example]]
name = "vtablog"
crate-type = [
"cdylib",
"staticlib",
]
path = "examples/vtablog/main.rs"
test = true
[[test]]
name = "loadable_extension"
path = "tests/loadable_extension.rs"
required-features = ["static_modern"]
[[test]]
name = "ui"
path = "tests/ui.rs"
[[test]]
name = "vtab"
path = "tests/vtab/main.rs"
required-features = ["static"]
[[test]]
name = "with_rusqlite"
path = "tests/with_rusqlite.rs"
required-features = ["with_rusqlite"]
[dependencies.bigdecimal]
version = "0.3.0"
optional = true
[dependencies.bitflags]
version = "1.3.2"
[dependencies.fallible-iterator]
version = "0.2.0"
[dependencies.libsqlite3-sys]
version = "0.25.1"
optional = true
[dependencies.paste]
version = "1.0.7"
[dependencies.rusqlite]
version = "0.28.0"
optional = true
[dependencies.sealed]
version = "0.4.0"
[dependencies.sqlite3_ext_macro]
version = "0.1.0"
[dependencies.thiserror]
version = "2.0.18"
[dev-dependencies.indoc]
version = "1.0"
[dev-dependencies.lazy_static]
version = "1.4.0"
[dev-dependencies.nom]
version = "7.1.1"
[dev-dependencies.pretty_assertions]
version = "1.2.1"
[dev-dependencies.regex]
version = "1.5.6"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.subprocess]
version = "0.2.9"
[dev-dependencies.trybuild]
version = "1.0.116"
[build-dependencies.proc-macro2]
version = "1.0"
[build-dependencies.quote]
version = "1.0"
[build-dependencies.syn]
version = "1.0"
features = [
"parsing",
"full",
]
[build-dependencies.which]
version = "4.2.5"