blob: 85a1c825110f34dcf68aa0ff6d88df339edbb3c6 (
plain)
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
|
[package]
name = "shared-svc"
version = "0.1.0"
edition = "2024"
license.workspace = true
readme.workspace = true
documentation.workspace = true
[dependencies]
bb8-redis = { version = "0.26.0", optional = true }
log = "0.4.29"
redis = { version = "1.0.3", optional = true }
secrecy.workspace = true
sqlx = { workspace = true, optional = true }
thiserror.workspace = true
tokio = { workspace = true, optional = true }
tracing.workspace = true
url.workspace = true
[features]
default = ["cache", "database"]
cache = [
"dep:bb8-redis",
"redis/cluster-async",
"redis/connection-manager",
"redis/sentinel",
"redis/tokio-comp",
"tokio/sync"
]
database = ["dep:sqlx"]
|