-
Notifications
You must be signed in to change notification settings - Fork 27
/
Cargo.toml
76 lines (66 loc) · 1.77 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[package]
name = "clerk-rs"
version = "0.4.0"
authors = ["DarrenBaldwin07"]
description = "The official community Rust SDK for the Clerk API"
repository = "https://github.com/DarrenBaldwin07/clerk-rs"
homepage = "https://github.com/DarrenBaldwin07/clerk-rs"
readme = "README.md"
keywords = ["clerk", "auth", "actix", "axum", "sdk"]
license = "MIT"
edition = "2021"
[[example]]
name = "http"
path = "examples/http.rs"
[[example]]
name = "api"
path = "examples/api.rs"
[[example]]
name = "actix"
path = "examples/actix.rs"
required-features = ["actix"]
[[example]]
name = "axum"
path = "examples/axum.rs"
required-features = ["axum"]
[[example]]
name = "rocket"
path = "examples/rocket.rs"
required-features = ["rocket"]
[lib]
doctest = false
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_derive = "^1.0"
serde_with = "^2.0"
serde_json = "^1.0"
url = "^2.2"
regex = "1.10.6"
jsonwebtoken = "9.3.0"
futures-util = "0.3.28"
actix-rt = { version = "2.10.0", optional = true }
actix-web = { version = "4.9.0", optional = true }
axum = { version = "0.7.5", optional = true }
rocket = { version = "0.5.0", optional = true }
axum-extra = { version = "0.9.3", features = ["cookie"], optional = true }
tower = { version = "0.5.0", optional = true }
async-trait = "0.1.81"
arc-swap = "1.7.1"
[dependencies.reqwest]
version = "^0.12"
default-features = false
features = ["json", "multipart"]
[dev-dependencies]
base64 = "0.22.1"
clerk-rs = { path = "../clerk-rs" }
mockito = "1.4.0"
rand = "0.8.5"
rsa = "0.9.6"
tokio = { version = "1.39.3", features = ["full"] }
[features]
default = ["rustls-tls"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]
actix = ["dep:actix-rt", "dep:actix-web"]
axum = ["dep:axum", "dep:axum-extra", "dep:tower"]
rocket = ["dep:rocket"]