forked from rynoV/tower-sessions-surrealdb-store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (38 loc) · 1.28 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
[package]
name = "tower-sessions-surrealdb-store"
version = "0.2.0"
edition = "2021"
description = "SurrealDB session store. Not for direct use; see the `tower-sessions` crate for details."
authors = ["Calum Sieppert <[email protected]>"]
license = "MIT"
homepage = "https://github.com/rynoV/tower-sessions-surrealdb-store"
keywords = ["axum", "sessions", "cookie", "tower", "surrealdb"]
categories = ["asynchronous", "network-programming", "web-programming"]
repository = "https://github.com/rynoV/tower-sessions-surrealdb-store"
documentation = "https://docs.rs/tower-sessions-surrealdb-store"
readme = "README.md"
resolver = "2"
[dependencies]
async-trait = "0.1.75"
rmp-serde = "1.1.2"
serde = "1.0.193"
surrealdb = { version = "1.0.2", optional = true }
surrealdb-nightly = { version = "1.20231219.1034735", optional = true }
thiserror = "1.0.51"
tower-sessions-core = "0.9.0"
tracing = "0.1.40"
[features]
default = ["surrealdb"]
surrealdb = ["dep:surrealdb"]
surrealdb-nightly = ["dep:surrealdb-nightly"]
[dev-dependencies]
axum = "0.7.2"
axum-core = "0.4.1"
serde_json = "1.0.108"
surrealdb = { version = "1.0.2", features = ["kv-mem"] }
tokio = "1.35.1"
tokio-test = "0.4.3"
tower = "0.4.13"
tower-sessions = { version = "0.9.0", features = ["deletion-task"] }
[[example]]
name = "counter"