-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (47 loc) · 1.77 KB
/
Copy pathCargo.toml
File metadata and controls
57 lines (47 loc) · 1.77 KB
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
[package]
name = "rmqtt-storage"
version = "0.11.0"
authors = ["rmqtt <rmqttd@126.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rmqtt/rmqtt-storage"
homepage = "https://github.com/rmqtt/rmqtt-storage"
description = "rmqtt-storage - Is a simple wrapper around some key-value storages"
keywords = ["storage", "async"]
categories = ["database"]
exclude = ["examples", ".gitignore", ".cargo/config"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.docs.rs]
all-features = true
[features]
default = []
ttl = []
map_len = []
len = []
sled = ["dep:sled"]
redis = ["dep:redis"]
redb = ["dep:redb"]
redis-cluster = ["redis", "redis/cluster", "redis/cluster-async"]
circuit-breaker = ["dep:tower", "dep:tower-resilience-circuitbreaker"]
[dependencies]
sled = { version = "0.34", optional = true }
redis = { version = "=0.32.6", features = [ "tokio-comp", "safe_iterators", "connection-manager"], optional = true }
redb = { version = "=4.1.0", optional = true }
tokio = { version = "1", features = ["sync", "rt", "time"] }
futures = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
anyhow = "1.0"
async-trait = "0.1"
postcard = { version = "1.1", features = ["use-std"] }
log = "0.4"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
dashmap = "6.1"
ahash = "0.8"
convert = { package = "box-convert", version = "0.1", features = ["bytesize"] }
tower = { version = "0.5", optional = true, default-features = false, features = ["util"] }
tower-resilience-circuitbreaker = { version = "0.10", optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["sync", "time", "macros", "rt", "rt-multi-thread"] }
cfg-if = "1"
serial_test = "3"