mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 03:11:36 +08:00
521f8dc481
This is essentially to get a release out that contains `in_gecko` so that this library can be used in firefox. Note: This had temporarially been 0.18.0, but as noted in https://github.com/jgallagher/rusqlite/pull/619#discussion_r370435032 there isn't an actual need for this, as it isn't a breaking change. By releasing it as 0.17.2, we can still link rusqlite 0.21 against it, which lets us avoid needing to cut a release of rusqlite just for a gecko-specific linkage flag (I imagine there are a few more rusqlite features we'd want for the next release).
108 lines
3.2 KiB
TOML
108 lines
3.2 KiB
TOML
[package]
|
|
name = "rusqlite"
|
|
version = "0.21.0"
|
|
authors = ["John Gallagher <jgallagher@bignerdranch.com>"]
|
|
edition = "2018"
|
|
description = "Ergonomic wrapper for SQLite"
|
|
repository = "https://github.com/jgallagher/rusqlite"
|
|
documentation = "http://docs.rs/rusqlite/"
|
|
readme = "README.md"
|
|
keywords = ["sqlite", "database", "ffi"]
|
|
license = "MIT"
|
|
categories = ["database"]
|
|
|
|
[badges]
|
|
travis-ci = { repository = "jgallagher/rusqlite" }
|
|
appveyor = { repository = "jgallagher/rusqlite" }
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
[lib]
|
|
name = "rusqlite"
|
|
|
|
[workspace]
|
|
members = ["libsqlite3-sys"]
|
|
|
|
[features]
|
|
load_extension = []
|
|
# 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"]
|
|
collation = []
|
|
# 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)
|
|
trace = ["libsqlite3-sys/min_sqlite_version_3_6_23"]
|
|
bundled = ["libsqlite3-sys/bundled", "modern_sqlite"]
|
|
buildtime_bindgen = ["libsqlite3-sys/buildtime_bindgen"]
|
|
limits = []
|
|
hooks = []
|
|
i128_blob = ["byteorder"]
|
|
sqlcipher = ["libsqlite3-sys/sqlcipher"]
|
|
unlock_notify = ["libsqlite3-sys/unlock_notify"]
|
|
# xSavepoint, xRelease and xRollbackTo: 3.7.7 (2011-06-23)
|
|
vtab = ["libsqlite3-sys/min_sqlite_version_3_7_7", "lazy_static"]
|
|
# xShadowName: 3.26.0
|
|
vtab_v3 = ["vtab"]
|
|
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 = []
|
|
modern_sqlite = ["libsqlite3-sys/bundled_bindings"]
|
|
unstable = []
|
|
in_gecko = ["modern_sqlite", "libsqlite3-sys/in_gecko"]
|
|
|
|
[dependencies]
|
|
time = "0.1.0"
|
|
bitflags = "1.0"
|
|
lru-cache = "0.1"
|
|
chrono = { version = "0.4", optional = true }
|
|
serde_json = { version = "1.0", optional = true }
|
|
csv = { version = "1.0", optional = true }
|
|
url = { version = "2.0", optional = true }
|
|
lazy_static = { version = "1.0", optional = true }
|
|
byteorder = { version = "1.2", features = ["i128"], optional = true }
|
|
fallible-iterator = "0.2"
|
|
fallible-streaming-iterator = "0.1"
|
|
memchr = "2.2.0"
|
|
uuid = { version = "0.8", optional = true }
|
|
|
|
[dev-dependencies]
|
|
doc-comment = "0.3"
|
|
tempfile = "3.1.0"
|
|
lazy_static = "1.0"
|
|
regex = "1.0"
|
|
uuid = { version = "0.8", features = ["v4"] }
|
|
unicase = "2.4.0"
|
|
|
|
[dependencies.libsqlite3-sys]
|
|
path = "libsqlite3-sys"
|
|
version = "0.17.2"
|
|
|
|
[[test]]
|
|
name = "config_log"
|
|
harness = false
|
|
|
|
[[test]]
|
|
name = "deny_single_threaded_sqlite_config"
|
|
|
|
[[test]]
|
|
name = "vtab"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = [ "backup", "blob", "chrono", "collation", "functions", "limits", "load_extension", "serde_json", "trace", "url", "vtab", "window", "modern_sqlite" ]
|
|
all-features = false
|
|
no-default-features = true
|
|
default-target = "x86_64-unknown-linux-gnu"
|
|
|
|
[package.metadata.playground]
|
|
features = ["array", "backup", "blob", "bundled", "chrono", "collation", "csvtab", "extra_check", "functions", "hooks", "i128_blob", "limits", "load_extension", "modern_sqlite", "serde_json", "series", "trace", "url", "vtab_v3", "vtab", "window"]
|
|
all-features = false
|