1[package] 2name = "rusqlite" 3version = "0.27.0" 4authors = ["The rusqlite developers"] 5edition = "2018" 6description = "Ergonomic wrapper for SQLite" 7repository = "https://github.com/rusqlite/rusqlite" 8documentation = "http://docs.rs/rusqlite/" 9readme = "README.md" 10keywords = ["sqlite", "database", "ffi"] 11license = "MIT" 12categories = ["database"] 13 14exclude = [ 15 "/.github/*", 16 "/.gitattributes", 17 "/appveyor.yml", 18 "/Changelog.md", 19 "/clippy.toml", 20 "/codecov.yml", 21] 22 23[badges] 24appveyor = { repository = "rusqlite/rusqlite" } 25codecov = { repository = "rusqlite/rusqlite" } 26maintenance = { status = "actively-developed" } 27 28[lib] 29name = "rusqlite" 30 31[workspace] 32members = ["libsqlite3-sys"] 33 34[features] 35load_extension = [] 36# hot-backup interface: 3.6.11 (2009-02-18) 37backup = ["libsqlite3-sys/min_sqlite_version_3_6_23"] 38# sqlite3_blob_reopen: 3.7.4 39blob = ["libsqlite3-sys/min_sqlite_version_3_7_7"] 40collation = [] 41# sqlite3_create_function_v2: 3.7.3 (2010-10-08) 42functions = ["libsqlite3-sys/min_sqlite_version_3_7_7"] 43# sqlite3_log: 3.6.23 (2010-03-09) 44trace = ["libsqlite3-sys/min_sqlite_version_3_6_23"] 45bundled = ["libsqlite3-sys/bundled", "modern_sqlite"] 46bundled-sqlcipher = ["libsqlite3-sys/bundled-sqlcipher", "bundled"] 47bundled-sqlcipher-vendored-openssl = ["libsqlite3-sys/bundled-sqlcipher-vendored-openssl", "bundled-sqlcipher"] 48buildtime_bindgen = ["libsqlite3-sys/buildtime_bindgen"] 49limits = [] 50hooks = [] 51i128_blob = [] 52sqlcipher = ["libsqlite3-sys/sqlcipher"] 53unlock_notify = ["libsqlite3-sys/unlock_notify"] 54# xSavepoint, xRelease and xRollbackTo: 3.7.7 (2011-06-23) 55vtab = ["libsqlite3-sys/min_sqlite_version_3_7_7"] 56csvtab = ["csv", "vtab"] 57# pointer passing interfaces: 3.20.0 58array = ["vtab"] 59# session extension: 3.13.0 60session = ["libsqlite3-sys/session", "hooks"] 61# window functions: 3.25.0 62window = ["functions"] 63# 3.9.0 64series = ["vtab"] 65# check for invalid query. 66extra_check = [] 67modern_sqlite = ["libsqlite3-sys/bundled_bindings"] 68in_gecko = ["modern_sqlite", "libsqlite3-sys/in_gecko"] 69bundled-windows = ["libsqlite3-sys/bundled-windows"] 70# Build bundled sqlite with -fsanitize=address 71with-asan = ["libsqlite3-sys/with-asan"] 72column_decltype = [] 73wasm32-wasi-vfs = ["libsqlite3-sys/wasm32-wasi-vfs"] 74winsqlite3 = ["libsqlite3-sys/winsqlite3"] 75 76# Helper feature for enabling most non-build-related optional features 77# or dependencies (except `session`). This is useful for running tests / clippy 78# / etc. New features and optional dependencies that don't conflict with anything 79# else should be added here. 80modern-full = [ 81 "array", 82 "backup", 83 "blob", 84 "modern_sqlite", 85 "chrono", 86 "collation", 87 "column_decltype", 88 "csvtab", 89 "extra_check", 90 "functions", 91 "hooks", 92 "i128_blob", 93 "limits", 94 "load_extension", 95 "serde_json", 96 "series", 97 "time", 98 "trace", 99 "unlock_notify", 100 "url", 101 "uuid", 102 "vtab", 103 "window", 104] 105 106bundled-full = ["modern-full", "bundled"] 107 108[dependencies] 109time = { version = "0.3.0", features = ["formatting", "macros", "parsing"], optional = true } 110bitflags = "1.2" 111hashlink = "0.7" 112chrono = { version = "0.4", optional = true, default-features = false, features = ["clock"] } 113serde_json = { version = "1.0", optional = true } 114csv = { version = "1.1", optional = true } 115url = { version = "2.1", optional = true } 116lazy_static = { version = "1.4", optional = true } 117fallible-iterator = "0.2" 118fallible-streaming-iterator = "0.1" 119memchr = "2.3" 120uuid = { version = "0.8", optional = true } 121smallvec = "1.6.1" 122 123[dev-dependencies] 124doc-comment = "0.3" 125tempfile = "3.1.0" 126lazy_static = "1.4" 127regex = "1.3" 128uuid = { version = "0.8", features = ["v4"] } 129unicase = "2.6.0" 130# Use `bencher` over criterion because it builds much faster and we don't have 131# many benchmarks 132bencher = "0.1" 133 134[dependencies.libsqlite3-sys] 135path = "libsqlite3-sys" 136version = "0.24.0" 137 138[[test]] 139name = "config_log" 140harness = false 141 142[[test]] 143name = "deny_single_threaded_sqlite_config" 144 145[[test]] 146name = "vtab" 147 148[[bench]] 149name = "cache" 150harness = false 151 152[[bench]] 153name = "exec" 154harness = false 155 156[package.metadata.docs.rs] 157features = ["modern-full"] 158all-features = false 159no-default-features = true 160default-target = "x86_64-unknown-linux-gnu" 161rustdoc-args = ["--cfg", "docsrs"] 162 163[package.metadata.playground] 164features = ["bundled-full"] 165all-features = false 166