-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
36 lines (31 loc) · 1.1 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
[package]
name = "async-sqlx-session"
version = "0.4.0"
authors = ["Jacob Rothstein <hi@jbr.me>"]
edition = "2018"
description = "sqlx session store for async-session"
readme = "README.md"
repository = "https://github.com/jbr/async-sqlx-session"
documentation = "https://docs.rs/async-sqlx-session"
license = "MIT OR Apache-2.0"
keywords = ["sessions", "sqlx", "sqlite", "postgres", "mysql"]
categories = ["web-programming::http-server", "web-programming", "database"]
[package.metadata.docs.rs]
features = ["pg", "sqlite", "mysql", "async_std"]
[features]
default = ["native-tls"]
sqlite = ["sqlx/sqlite"]
pg = ["sqlx/postgres", "sqlx/json"]
native-tls = ["sqlx/runtime-async-std-native-tls"]
rustls = ["sqlx/runtime-async-std-rustls"]
async_std = ["async-std"]
mysql = ["sqlx/mysql", "sqlx/json"]
[dependencies]
async-session = "2.0.1"
sqlx = { version = "0.5.5", features = ["chrono"] }
async-std = { version = "1.9.0", optional = true }
[dev-dependencies]
async-std = { version = "1.9.0", features = ["attributes"] }
[dev-dependencies.sqlx]
version = "0.5.5"
features = ["chrono", "runtime-async-std-native-tls"]