# 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 = "sql-support"
version = "0.1.0"
authors = ["Thom Chiovoloni <tchiovoloni@mozilla.com>"]
license = "MPL-2.0"

[dependencies]
ffi-support = "0.4"
lazy_static = "1.4"
log = "0.4"
parking_lot = ">=0.11,<=0.12"
tempfile = "3.1.0"
thiserror = "1.0"

[dependencies.interrupt-support]
path = "../interrupt"

[dependencies.prettytable-rs]
version = "0.10"
optional = true

[dependencies.rusqlite]
version = "0.31.0"
features = [
    "functions",
    "limits",
    "bundled",
    "unlock_notify",
]

[dev-dependencies.env_logger]
version = "0.10"
default-features = false

[build-dependencies.nss_build_common]
path = "../rc_crypto/nss/nss_build_common"

[features]
debug-tools = [
    "dep:prettytable-rs",
    "rusqlite/column_decltype",
]
default = []
