• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name = "rusqlite"
3version = "0.24.2"
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
14[badges]
15travis-ci = { repository = "rusqlite/rusqlite" }
16appveyor = { repository = "rusqlite/rusqlite" }
17codecov = { repository = "rusqlite/rusqlite" }
18maintenance = { status = "actively-developed" }
19
20[lib]
21name = "rusqlite"
22
23[workspace]
24members = ["libsqlite3-sys"]
25
26[features]
27load_extension = []
28# hot-backup interface: 3.6.11 (2009-02-18)
29backup = ["libsqlite3-sys/min_sqlite_version_3_6_23"]
30# sqlite3_blob_reopen: 3.7.4
31blob = ["libsqlite3-sys/min_sqlite_version_3_7_7"]
32collation = []
33# sqlite3_create_function_v2: 3.7.3 (2010-10-08)
34functions = ["libsqlite3-sys/min_sqlite_version_3_7_7"]
35# sqlite3_log: 3.6.23 (2010-03-09)
36trace = ["libsqlite3-sys/min_sqlite_version_3_6_23"]
37bundled = ["libsqlite3-sys/bundled", "modern_sqlite"]
38buildtime_bindgen = ["libsqlite3-sys/buildtime_bindgen"]
39limits = []
40hooks = []
41i128_blob = ["byteorder"]
42sqlcipher = ["libsqlite3-sys/sqlcipher"]
43unlock_notify = ["libsqlite3-sys/unlock_notify"]
44# xSavepoint, xRelease and xRollbackTo: 3.7.7 (2011-06-23)
45vtab = ["libsqlite3-sys/min_sqlite_version_3_7_7", "lazy_static"]
46csvtab = ["csv", "vtab"]
47# pointer passing interfaces: 3.20.0
48array = ["vtab"]
49# session extension: 3.13.0
50session = ["libsqlite3-sys/session", "hooks"]
51# window functions: 3.25.0
52window = ["functions"]
53# 3.9.0
54series = ["vtab"]
55# check for invalid query.
56extra_check = []
57modern_sqlite = ["libsqlite3-sys/bundled_bindings"]
58in_gecko = ["modern_sqlite", "libsqlite3-sys/in_gecko"]
59bundled-windows = ["libsqlite3-sys/bundled-windows"]
60# Build bundled sqlite with -fsanitize=address
61with-asan = ["libsqlite3-sys/with-asan"]
62column_decltype = []
63wasm32-wasi-vfs = ["libsqlite3-sys/wasm32-wasi-vfs"]
64winsqlite3 = ["libsqlite3-sys/winsqlite3"]
65
66# Helper feature for enabling both `bundled` and most non-build-related optional
67# features or dependencies. This is useful for running tests / clippy / etc. New
68# features and optional dependencies that don't conflict with anything else
69# should be added here.
70bundled-full = [
71    "array",
72    "backup",
73    "blob",
74    "bundled",
75    "chrono",
76    "collation",
77    "column_decltype",
78    "csvtab",
79    "extra_check",
80    "functions",
81    "hooks",
82    "i128_blob",
83    "limits",
84    "load_extension",
85    "serde_json",
86    "series",
87    # time v0.2 does not work with tarpaulin v0.14.0. See time-rs/time#265.
88    # Re-enable when time v0.3 is released with the fix.
89    # "time",
90    "trace",
91    "unlock_notify",
92    "url",
93    "uuid",
94    "vtab",
95    "window",
96]
97
98[dependencies]
99time = { version = "0.2", optional = true }
100bitflags = "1.2"
101hashlink = "0.6"
102chrono = { version = "0.4", optional = true }
103serde_json = { version = "1.0", optional = true }
104csv = { version = "1.1", optional = true }
105url = { version = "2.1", optional = true }
106lazy_static = { version = "1.4", optional = true }
107byteorder = { version = "1.3", features = ["i128"], optional = true }
108fallible-iterator = "0.2"
109fallible-streaming-iterator = "0.1"
110memchr = "2.3"
111uuid = { version = "0.8", optional = true }
112smallvec = "1.0"
113
114[dev-dependencies]
115doc-comment = "0.3"
116tempfile = "3.1.0"
117lazy_static = "1.4"
118regex = "1.3"
119uuid = { version = "0.8", features = ["v4"] }
120unicase = "2.6.0"
121# Use `bencher` over criterion becasue it builds much faster and we don't have
122# many benchmarks
123bencher = "0.1"
124
125[dependencies.libsqlite3-sys]
126path = "libsqlite3-sys"
127version = "0.20.1"
128
129[[test]]
130name = "config_log"
131harness = false
132
133[[test]]
134name = "deny_single_threaded_sqlite_config"
135
136[[test]]
137name = "vtab"
138
139[[bench]]
140name = "cache"
141harness = false
142
143[[bench]]
144name = "exec"
145harness = false
146
147[package.metadata.docs.rs]
148features = [ "array", "backup", "blob", "chrono", "collation", "functions", "limits", "load_extension", "serde_json", "time", "trace", "url", "vtab", "window", "modern_sqlite", "column_decltype" ]
149all-features = false
150no-default-features = true
151default-target = "x86_64-unknown-linux-gnu"
152
153[package.metadata.playground]
154features = ["bundled-full"]
155all-features = false
156