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