rusqlite/Cargo.toml

169 lines
4.1 KiB
TOML
Raw Normal View History

2014-10-20 07:56:41 +08:00
[package]
name = "rusqlite"
# Note: Update version in README.md when you change this.
2023-03-26 16:24:57 +08:00
version = "0.29.0"
2020-04-16 12:07:23 +08:00
authors = ["The rusqlite developers"]
edition = "2021"
2014-11-21 22:48:57 +08:00
description = "Ergonomic wrapper for SQLite"
2020-04-16 12:07:23 +08:00
repository = "https://github.com/rusqlite/rusqlite"
documentation = "https://docs.rs/rusqlite/"
2014-11-21 22:48:57 +08:00
readme = "README.md"
keywords = ["sqlite", "database", "ffi"]
license = "MIT"
categories = ["database"]
exclude = [
"/.github/*",
"/.gitattributes",
"/appveyor.yml",
"/Changelog.md",
"/clippy.toml",
"/codecov.yml",
]
[badges]
2020-04-16 12:07:23 +08:00
appveyor = { repository = "rusqlite/rusqlite" }
codecov = { repository = "rusqlite/rusqlite" }
2018-08-26 13:23:41 +08:00
maintenance = { status = "actively-developed" }
2014-10-20 07:56:41 +08:00
[lib]
name = "rusqlite"
2019-02-02 18:00:12 +08:00
[workspace]
members = ["libsqlite3-sys"]
2015-02-24 08:52:48 +08:00
[features]
load_extension = []
# hot-backup interface: 3.6.11 (2009-02-18)
backup = []
# sqlite3_blob_reopen: 3.7.4
blob = []
collation = []
# sqlite3_create_function_v2: 3.7.3 (2010-10-08)
functions = []
# sqlite3_log: 3.6.23 (2010-03-09)
trace = []
# sqlite3_db_release_memory: 3.7.10 (2012-01-16)
release_memory = []
bundled = ["libsqlite3-sys/bundled", "modern_sqlite"]
bundled-sqlcipher = ["libsqlite3-sys/bundled-sqlcipher", "bundled"]
bundled-sqlcipher-vendored-openssl = ["libsqlite3-sys/bundled-sqlcipher-vendored-openssl", "bundled-sqlcipher"]
buildtime_bindgen = ["libsqlite3-sys/buildtime_bindgen"]
2017-02-04 18:01:38 +08:00
limits = []
hooks = []
i128_blob = []
2017-10-24 16:54:48 +08:00
sqlcipher = ["libsqlite3-sys/sqlcipher"]
2017-09-21 03:28:19 +08:00
unlock_notify = ["libsqlite3-sys/unlock_notify"]
# xSavepoint, xRelease and xRollbackTo: 3.7.7 (2011-06-23)
vtab = []
2018-05-01 04:09:41 +08:00
csvtab = ["csv", "vtab"]
# pointer passing interfaces: 3.20.0
array = ["vtab"]
# session extension: 3.13.0
session = ["libsqlite3-sys/session", "hooks"]
# window functions: 3.25.0
window = ["functions"]
# 3.9.0
series = ["vtab"]
# check for invalid query.
extra_check = []
# ]3.14.0, last]
modern_sqlite = ["libsqlite3-sys/bundled_bindings"]
in_gecko = ["modern_sqlite", "libsqlite3-sys/in_gecko"]
bundled-windows = ["libsqlite3-sys/bundled-windows"]
2020-04-16 17:38:40 +08:00
# Build bundled sqlite with -fsanitize=address
with-asan = ["libsqlite3-sys/with-asan"]
column_decltype = []
wasm32-wasi-vfs = ["libsqlite3-sys/wasm32-wasi-vfs"]
2022-04-03 02:42:28 +08:00
# Note: doesn't support 32-bit.
winsqlite3 = ["libsqlite3-sys/winsqlite3"]
2015-02-24 08:52:48 +08:00
# Helper feature for enabling most non-build-related optional features
# or dependencies (except `session`). This is useful for running tests / clippy
# / etc. New features and optional dependencies that don't conflict with anything
# else should be added here.
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",
]
bundled-full = ["modern-full", "bundled"]
[dependencies]
2021-07-31 03:31:52 +08:00
time = { version = "0.3.0", features = ["formatting", "macros", "parsing"], optional = true }
bitflags = "2.0"
2022-03-17 01:24:27 +08:00
hashlink = "0.8"
chrono = { version = "0.4", optional = true, default-features = false, features = ["clock"] }
serde_json = { version = "1.0", optional = true }
2020-10-05 02:44:49 +08:00
csv = { version = "1.1", optional = true }
url = { version = "2.1", optional = true }
fallible-iterator = "0.3"
fallible-streaming-iterator = "0.1"
2022-04-20 23:08:00 +08:00
uuid = { version = "1.0", optional = true }
smallvec = "1.6.1"
[dev-dependencies]
2020-03-08 22:36:56 +08:00
doc-comment = "0.3"
tempfile = "3.1.0"
2020-10-05 02:44:49 +08:00
lazy_static = "1.4"
2022-05-26 13:34:50 +08:00
regex = "1.5.5"
2022-04-20 23:08:00 +08:00
uuid = { version = "1.0", features = ["v4"] }
2020-10-05 02:44:49 +08:00
unicase = "2.6.0"
2021-05-02 19:46:04 +08:00
# Use `bencher` over criterion because it builds much faster and we don't have
# many benchmarks
bencher = "0.1"
[dependencies.libsqlite3-sys]
path = "libsqlite3-sys"
2023-03-26 16:24:57 +08:00
version = "0.26.0"
[[test]]
name = "config_log"
harness = false
[[test]]
name = "deny_single_threaded_sqlite_config"
[[test]]
name = "vtab"
[[bench]]
name = "cache"
harness = false
2020-06-27 15:54:33 +08:00
[[bench]]
name = "exec"
harness = false
[package.metadata.docs.rs]
features = ["modern-full"]
all-features = false
no-default-features = true
default-target = "x86_64-unknown-linux-gnu"
2021-06-13 15:17:35 +08:00
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.playground]
features = ["bundled-full"]
all-features = false