1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
-
-
+
+
-
+
+
+
-
+
-
+
-
-
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
|
[package]
name = "sqlsrv"
version = "0.5.0"
edition = "2021"
version = "0.10.0"
edition = "2024"
license = "0BSD"
# https://crates.io/category_slugs
categories = [ "database" ]
keywords = [ "sqlite", "server" ]
repository = "https://repos.qrnch.tech/pub/sqlsrv"
description = "Utility functions for managing SQLite connections in a server application."
rust-version = "1.56"
rust-version = "1.85"
exclude = [
".fossil-settings",
".efiles",
".fslckout",
"bacon.toml",
"build_docs.sh",
"examples",
"www",
"bacon.toml",
"rustfmt.toml"
]
# https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section
[badges]
maintenance = { status = "experimental" }
[features]
tpool = ["dep:swctx", "dep:threadpool"]
[dependencies]
parking_lot = { version = "0.12.3" }
parking_lot = { version = "0.12.4" }
r2d2 = { version = "0.8.10" }
r2d2_sqlite = { version = "0.25.0" }
r2d2_sqlite = { version = "0.29.0" }
# Need to add the `hooks` feature. Unfortunately the version needs to be
# specified here. It would be much more convenient if it could use the version
# from r2d2_sqlite. Allegedely one can use the version "*", which apparently
# does not mean "latest", but have not yet confirmed this.
rusqlite = { version = "0.32.1", features = ["hooks"] }
swctx = { version = "0.2.2", optional = true }
rusqlite = { version = "0.36.0", features = ["hooks"] }
swctx = { version = "0.3.0", optional = true }
threadpool = { version = "1.8.1", optional = true }
[dev-dependencies]
hex = { version = "0.4.3" }
rand = { version = "0.8.5" }
rusqlite = { version = "0.32.1", features = ["functions"] }
sha2 = { version = "0.10.8" }
rand = { version = "0.9.1" }
rusqlite = { version = "0.36.0", features = ["functions"] }
sha2 = { version = "0.10.9" }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
multiple_crate_versions = "allow"
|