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