This repository has been archived by the owner on Jul 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
64 lines (54 loc) · 1.56 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
[package]
name = "rowdy"
version = "0.0.9"
license = "Apache-2.0"
authors = ["Yong Wen Chua <me@yongwen.xyz>"]
build = "build.rs"
description = "`rowdy` is a Rocket based JSON Web token based authentication server."
homepage = "https://github.com/lawliet89/rowdy"
repository = "https://github.com/lawliet89/rowdy"
documentation = "https://docs.rs/rowdy/"
keywords = ["jwt", "rocket", "token", "authentication"]
categories = ["authentication", "web-programming"]
edition = "2018"
[badges]
travis-ci = { repository = "lawliet89/rowdy" }
[lib]
name = "rowdy"
path = "src/lib.rs"
test = true
doctest = true
doc = true
[features]
default = ["simple_authenticator"]
# A simple file based authenticator
simple_authenticator = ["argon2rs", "csv", "ring"]
# LDAP based authenticator
ldap_authenticator = ["ldap3", "strfmt"]
[dependencies]
biscuit = "0.1.0"
chrono = { version = "0.4", features = ["serde"] }
hyper = "0.10"
lazy_static = "1.3.0"
log = "0.4"
rocket = "0.4.0"
rocket_cors = "0.4.0"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
uuid = { version = "0.4", features = ["use_std", "serde"] }
# Optional dependencies that are activated by the various features
argon2rs = { version = "0.2.5", optional = true }
csv = { version = "1.0.5", optional = true }
ldap3 = { version = "0.6", optional = true }
ring = { version = "0.13.5", optional = true }
strfmt = { version = "0.1.6", optional = true }
[dev-dependencies]
serde_test = "1.0"
[build-dependencies]
ansi_term = "0.9"
version_check = "0.1"
[workspace]
members = ["cli", "diesel"]
[package.metadata.docs.rs]
all-features = true