-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
41 lines (34 loc) · 1.04 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
[package]
name = "seance"
version = "0.16.0"
description = "A session library"
authors = ["Ross Nomann <[email protected]>"]
edition = "2021"
readme = "README.md"
license = "MIT"
documentation = "https://docs.rs/seance"
repository = "https://github.com/rossnomann/seance"
[features]
redis-backend = ["dep:redis"]
fs-backend = ["tokio/fs"]
[dependencies]
futures-util = "0.3"
log = "0.4"
redis = { version = "0.27", features = ["tokio-comp"], optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.42", default-features = false, features = ["sync", "time"] }
[dev-dependencies]
tempfile = "3.14"
tokio = { version = "1.42", default-features = false, features = ["sync", "time", "macros", "rt-multi-thread"] }
[[test]]
name = "fs"
required-features = ["fs-backend"]
[[test]]
name = "redis"
required-features = ["redis-backend"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "nightly"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }