-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
45 lines (39 loc) · 1.07 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
43
44
45
[package]
name = "upstash-ratelimit-rs"
version = "1.0.2"
edition = "2021"
authors = ["Sourab Pramanik <shubpramanik241@gmail.com>"]
description = "An unofficial Upstash rate limiting SDK in Rust"
repository = "https://github.com/sourabpramanik/upstash-ratelimit-rs"
homepage = "https://github.com/sourabpramanik/upstash-ratelimit-rs"
keywords = ["redis", "ratelimit", "sdk", "upstash", "kv"]
license = "MIT"
[[example]]
name = "with-actix"
path = "examples/actix.rs"
[[example]]
name = "with-axum"
path = "examples/axum.rs"
[[example]]
name = "with-rocket"
path = "examples/rocket.rs"
[lib]
doctest = false
[dependencies]
assert-panic = "1.0.1"
chrono = "0.4"
dotenv = "0.15"
futures = "0.3"
nanoid = "0.4.0"
redis = {version = "0.24.0", features = ["tokio-comp"]}
regex = "1.10.3"
tokio = { version = "1.36.0", features = ["full"] }
[dev-dependencies]
actix-web = "4"
axum = "0.7.4"
dotenv = "0.15"
redis = {version = "0.24.0", features = ["tokio-comp"]}
rocket = "0.5.0"
tracing-subscriber = "0.3.18"
tokio = { version = "1.0", features = ["full"] }
upstash-ratelimit-rs = {path = "./"}