-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
31 lines (29 loc) · 1.11 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
[package]
name = "cosmodrome"
version = "0.2.0"
authors = ["Lewin Probst <[email protected]>"]
edition = "2021"
description = "Access control for your rocket application."
categories = ["authentication", "web-programming"]
keywords = ["rocket", "auth", "access-control"]
license = "MIT OR Apache-2.0"
homepage = "https://github.com/emirror-de/cosmodrome"
repository = "https://github.com/emirror-de/cosmodrome"
documentation = "https://docs.rs/cosmodrome"
readme = "README.md"
[features]
default = ["server", "client"]
server = ["dep:rocket", "dep:argon2", "dep:chrono", "dep:jsonwebtoken", "dep:log", "dep:rand", "dep:anyhow"]
client = ["serde"]
[dependencies]
anyhow = { version = "1", optional = true }
argon2 = { version = "0.5.3", optional = true }
chrono = { version = "0.4", features = ["serde"], optional = true }
cookie = "0.18"
http = "1"
jsonwebtoken = { version = "9", optional = true }
log = { version = "0.4", optional = true }
rand = { version = "0.8", optional = true }
rocket = { version = "0.5", features = ["secrets"], optional = true }
serde = { version = "1", features = ["derive"], optional = true }
time = "0.3"