-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
69 lines (56 loc) · 1.42 KB
/
Cargo.toml
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
61
62
63
64
65
66
67
68
69
[package]
name = "tide-sqlx"
version = "0.6.1"
authors = [
"Jeremiah Senkpiel <fishrock123@rocketmail.com>",
"Chris Dickinson <christopher.s.dickinson@gmail.com>",
"C J Silverio <ceejceej@gmail.com>",
"Kyle Anne Laymon <kyle.laymon@gmail.com>",
]
edition = "2018"
license = "BlueOak-1.0.0"
description = "Tide middleware for SQLx pooled connections & transactions."
readme = "README.md"
repository = "https://github.com/eaze/tide-sqlx"
keywords = ["tide", "middleware", "sqlx", "postgres", "transaction"]
categories = [
"web-programming::http-server"
]
[package.metadata.docs.rs]
features = ["docs"]
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = []
docs = ["rustls", "postgres"]
test = ["rustls", "postgres", "tracing"]
tracing = ["tracing_crate", "tracing-futures"]
# database
any = ["sqlx/any"]
postgres = ["sqlx/postgres"]
# tls implementation
native-tls = ["sqlx/runtime-async-std-native-tls"]
rustls = ["sqlx/runtime-async-std-rustls"]
[dependencies]
async-std = "1"
sqlx = "0.5"
[dependencies.tracing_crate]
version = "0.1"
optional = true
package = "tracing"
[dependencies.tracing-futures]
version = "0.2"
optional = true
[dependencies.tide]
version = "0.16"
default-features = false
# Dev-deps
[dev-dependencies]
anyhow = "1"
log = "0.4"
[dev-dependencies.async-std]
version = "1"
features = ["attributes"]
[dev-dependencies.cargo-husky]
version = "1"
default-features = false
features = ["user-hooks"]