mirror of
https://github.com/tursodatabase/libsql.git
synced 2024-12-15 05:09:50 +00:00
156 lines
3.5 KiB
TOML
156 lines
3.5 KiB
TOML
[package]
|
|
name = "libsql-rusqlite"
|
|
# Note: Update version in README.md when you change this.
|
|
version = "0.32.0"
|
|
authors = ["The rusqlite developers"]
|
|
edition = "2018"
|
|
description = "Ergonomic wrapper for SQLite (libsql fork)"
|
|
# repository = "https://github.com/rusqlite/rusqlite"
|
|
documentation = "http://docs.rs/rusqlite/"
|
|
readme = "README.md"
|
|
keywords = ["sqlite", "database", "ffi"]
|
|
license = "MIT"
|
|
categories = ["database"]
|
|
|
|
exclude = [
|
|
"/.github/*",
|
|
"/.gitattributes",
|
|
"/appveyor.yml",
|
|
"/Changelog.md",
|
|
"/clippy.toml",
|
|
"/codecov.yml",
|
|
]
|
|
|
|
[badges]
|
|
appveyor = { repository = "rusqlite/rusqlite" }
|
|
codecov = { repository = "rusqlite/rusqlite" }
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
[lib]
|
|
name = "rusqlite"
|
|
|
|
[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 = []
|
|
limits = []
|
|
hooks = []
|
|
i128_blob = []
|
|
sqlcipher = []
|
|
libsql-experimental = []
|
|
libsql-wasm-experimental = ["libsql-experimental"]
|
|
# xSavepoint, xRelease and xRollbackTo: 3.7.7 (2011-06-23)
|
|
vtab = []
|
|
csvtab = ["csv", "vtab"]
|
|
# pointer passing interfaces: 3.20.0
|
|
array = ["vtab"]
|
|
# session extension: 3.13.0
|
|
session = ["libsql-ffi/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 = []
|
|
# Build bundled sqlite with -fsanitize=address
|
|
column_decltype = []
|
|
unlock_notify = []
|
|
bundled = []
|
|
|
|
# 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",
|
|
"url",
|
|
"uuid",
|
|
"vtab",
|
|
"window",
|
|
]
|
|
|
|
[dependencies]
|
|
time = { version = "0.3.0", features = ["formatting", "macros", "parsing"], optional = true }
|
|
bitflags = "2.0"
|
|
hashlink = "0.8"
|
|
chrono = { version = "0.4", optional = true, default-features = false, features = ["clock"] }
|
|
serde_json = { version = "1.0", optional = true }
|
|
csv = { version = "1.1", optional = true }
|
|
url = { version = "2.1", optional = true }
|
|
fallible-iterator = "0.2"
|
|
fallible-streaming-iterator = "0.1"
|
|
uuid = { version = "1.0", optional = true }
|
|
smallvec = "1.6.1"
|
|
libsql-ffi = { version = "0.4", path = "../../libsql-ffi" }
|
|
|
|
[dev-dependencies]
|
|
doc-comment = "0.3"
|
|
tempfile = "3.1.0"
|
|
lazy_static = "1.4"
|
|
regex = "1.5.5"
|
|
uuid = { version = "1.0", features = ["v4"] }
|
|
unicase = "2.6.0"
|
|
# Use `bencher` over criterion because it builds much faster and we don't have
|
|
# many benchmarks
|
|
bencher = "0.1"
|
|
|
|
[[test]]
|
|
name = "config_log"
|
|
harness = false
|
|
|
|
[[test]]
|
|
name = "deny_single_threaded_sqlite_config"
|
|
|
|
[[test]]
|
|
name = "vtab"
|
|
|
|
[[bench]]
|
|
name = "cache"
|
|
harness = false
|
|
|
|
[[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"
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[package.metadata.playground]
|
|
features = ["bundled-full"]
|
|
all-features = false
|
|
|
|
[package.metadata.dist]
|
|
dist = false
|