# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "rusqlite"
version = "0.32.1"
authors = ["The rusqlite developers"]
build = false
exclude = [
    "/.github/*",
    "/.gitattributes",
    "/appveyor.yml",
    "/Changelog.md",
    "/clippy.toml",
    "/codecov.yml",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ergonomic wrapper for SQLite"
documentation = "https://docs.rs/rusqlite/"
readme = "README.md"
keywords = [
    "sqlite",
    "database",
    "ffi",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/rusqlite/rusqlite"

[package.metadata.docs.rs]
all-features = false
default-target = "x86_64-unknown-linux-gnu"
features = [
    "modern-full",
    "rusqlite-macros",
]
no-default-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.playground]
all-features = false
features = ["bundled-full"]

[lib]
name = "rusqlite"
path = "src/lib.rs"

[[example]]
name = "load_extension"
path = "examples/load_extension.rs"
required-features = [
    "load_extension",
    "bundled",
    "functions",
    "trace",
]

[[example]]
name = "loadable_extension"
crate-type = ["cdylib"]
path = "examples/loadable_extension.rs"
required-features = [
    "loadable_extension",
    "functions",
    "trace",
]

[[example]]
name = "persons"
path = "examples/persons/main.rs"

[[test]]
name = "auto_ext"
path = "tests/auto_ext.rs"

[[test]]
name = "config_log"
path = "tests/config_log.rs"
harness = false

[[test]]
name = "deny_single_threaded_sqlite_config"
path = "tests/deny_single_threaded_sqlite_config.rs"

[[test]]
name = "vtab"
path = "tests/vtab.rs"

[[bench]]
name = "cache"
path = "benches/cache.rs"
harness = false

[[bench]]
name = "exec"
path = "benches/exec.rs"
harness = false

[dependencies.bitflags]
version = "2.6.0"

[dependencies.chrono]
version = "0.4.38"
features = ["clock"]
optional = true
default-features = false

[dependencies.csv]
version = "1.1"
optional = true

[dependencies.fallible-iterator]
version = "0.3"

[dependencies.fallible-streaming-iterator]
version = "0.1"

[dependencies.hashlink]
version = "0.9"

[dependencies.libsqlite3-sys]
version = "0.30.1"

[dependencies.rusqlite-macros]
version = "0.3.0"
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.smallvec]
version = "1.6.1"

[dependencies.time]
version = "0.3.36"
features = [
    "formatting",
    "macros",
    "parsing",
]
optional = true

[dependencies.url]
version = "2.1"
optional = true

[dependencies.uuid]
version = "1.0"
optional = true

[dev-dependencies.bencher]
version = "0.1"

[dev-dependencies.doc-comment]
version = "0.3"

[dev-dependencies.lazy_static]
version = "1.4"

[dev-dependencies.regex]
version = "1.5.5"

[dev-dependencies.tempfile]
version = "3.1.0"

[dev-dependencies.unicase]
version = "2.6.0"

[dev-dependencies.uuid]
version = "1.0"
features = ["v4"]

[features]
array = ["vtab"]
backup = []
blob = []
buildtime_bindgen = ["libsqlite3-sys/buildtime_bindgen"]
bundled = [
    "libsqlite3-sys/bundled",
    "modern_sqlite",
]
bundled-full = [
    "modern-full",
    "bundled",
]
bundled-sqlcipher = [
    "libsqlite3-sys/bundled-sqlcipher",
    "bundled",
]
bundled-sqlcipher-vendored-openssl = [
    "libsqlite3-sys/bundled-sqlcipher-vendored-openssl",
    "bundled-sqlcipher",
]
bundled-windows = ["libsqlite3-sys/bundled-windows"]
collation = []
column_decltype = []
csvtab = [
    "csv",
    "vtab",
]
extra_check = []
functions = []
hooks = []
i128_blob = []
in_gecko = [
    "modern_sqlite",
    "libsqlite3-sys/in_gecko",
]
limits = []
load_extension = []
loadable_extension = ["libsqlite3-sys/loadable_extension"]
modern-full = [
    "array",
    "backup",
    "blob",
    "modern_sqlite",
    "chrono",
    "collation",
    "column_decltype",
    "csvtab",
    "extra_check",
    "functions",
    "hooks",
    "i128_blob",
    "limits",
    "load_extension",
    "serde_json",
    "series",
    "time",
    "trace",
    "unlock_notify",
    "url",
    "uuid",
    "vtab",
    "window",
]
modern_sqlite = ["libsqlite3-sys/bundled_bindings"]
preupdate_hook = [
    "libsqlite3-sys/preupdate_hook",
    "hooks",
]
release_memory = []
serialize = ["modern_sqlite"]
series = ["vtab"]
session = [
    "libsqlite3-sys/session",
    "hooks",
]
sqlcipher = ["libsqlite3-sys/sqlcipher"]
trace = []
unlock_notify = ["libsqlite3-sys/unlock_notify"]
vtab = []
wasm32-wasi-vfs = ["libsqlite3-sys/wasm32-wasi-vfs"]
window = ["functions"]
with-asan = ["libsqlite3-sys/with-asan"]

[badges.appveyor]
repository = "rusqlite/rusqlite"

[badges.codecov]
repository = "rusqlite/rusqlite"

[badges.maintenance]
status = "actively-developed"
