# 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.39.0"
authors = ["The rusqlite developers"]
build = false
exclude = [
    "/.github/*",
    "/.gitattributes",
    "/appveyor.yml",
    "/Changelog.md",
    "/clippy.toml",
    "/codecov.yml",
    "**/*.sh",
]
autolib = false
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]
features = [
    "modern-full",
    "rusqlite-macros",
]
all-features = false
no-default-features = false
default-target = "x86_64-unknown-linux-gnu"
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

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

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

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

[features]
array = [
    "vtab",
    "pointer",
]
backup = []
blob = []
buildtime_bindgen = [
    "libsqlite3-sys/buildtime_bindgen",
    "sqlite-wasm-rs/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"]
cache = ["hashlink"]
collation = []
column_decltype = []
column_metadata = ["libsqlite3-sys/column_metadata"]
csvtab = [
    "csv",
    "vtab",
]
default = ["cache"]
extra_check = []
fallible_uint = []
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_metadata",
    "column_decltype",
    "csvtab",
    "extra_check",
    "functions",
    "hooks",
    "i128_blob",
    "jiff",
    "limits",
    "load_extension",
    "serde_json",
    "serialize",
    "series",
    "time",
    "trace",
    "unlock_notify",
    "url",
    "uuid",
    "vtab",
    "window",
]
modern_sqlite = ["libsqlite3-sys/bundled_bindings"]
pointer = []
preupdate_hook = [
    "libsqlite3-sys/preupdate_hook",
    "hooks",
]
serialize = []
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"]

[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 = "owning_rows"
path = "examples/owning_rows.rs"

[[example]]
name = "owning_statement"
path = "examples/owning_statement.rs"

[[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.42"
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.11"
optional = true

[dependencies.jiff]
version = "0.2"
features = ["std"]
optional = true
default-features = false

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

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

[dependencies.smallvec]
version = "1.6.1"

[dependencies.time]
version = "0.3.47"
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.regex]
version = "1.5.5"

[dev-dependencies.self_cell]
version = "1.1.0"

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

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

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

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.chrono]
version = "0.4.42"
features = ["wasmbind"]
optional = true
default-features = false

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.jiff]
version = "0.2"
features = ["js"]
optional = true
default-features = false

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.sqlite-wasm-rs]
version = "0.5.1"
default-features = false

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.time]
version = "0.3.47"
features = ["wasm-bindgen"]
optional = true

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies.uuid]
version = "1.0"
features = ["js"]
optional = true

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dev-dependencies.getrandom]
version = "0.4"
features = ["wasm_js"]

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dev-dependencies.uuid]
version = "1.0"
features = ["js"]

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dev-dependencies.wasm-bindgen]
version = "0.2.104"

[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
version = "0.3.54"

[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies.libsqlite3-sys]
version = "0.37.0"
