-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
69 lines (58 loc) · 2.34 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
# Schema Allowed Properties in the Cargo.toml manifest: https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
name = "authress_local"
# Use the published binary or container instead
publish = false
version = "0.0.0"
edition = "2021"
description = "Authress Local - Authorization running directly on your local machine. Used to provide an Authress compatible API for local development."
authors = ["Authress Developers <[email protected]>"]
documentation = "https://authress.io/app/#/api"
homepage = "https://authress.io"
repository = "https://github.com/Authress/authress-local"
license = "Apache-2.0"
keywords = ["authentication", "authorization", "roles", "permission-policy", "oauth-openid-saml"]
categories = ["authentication", "api-bindings", "config", "database", "development-tools"]
[features]
default = ["server"]
server = ["serde_ignored", "hyper", "regex", "percent-encoding", "url", "lazy_static"]
conversion = ["frunk", "frunk_derives", "frunk_core", "frunk-enum-core", "frunk-enum-derive"]
[dependencies]
async-trait = "0.1.24"
chrono = { version = "0.4", features = ["serde"] }
futures = "0.3"
swagger = { version = "6.1", features = ["serdejson", "server", "tls", "tcp"] }
log = "0.4.0"
mime = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Common between server and client features
hyper = {version = "0.14", features = ["full"], optional = true}
serde_ignored = {version = "0.1.1", optional = true}
url = {version = "2.1", optional = true}
# Server, and client callback-specific
lazy_static = { version = "1.4", optional = true }
percent-encoding = {version = "2.1.0", optional = true}
regex = {version = "1.8.4", optional = true}
# Conversion
frunk = { version = "0.3.0", optional = true }
frunk_derives = { version = "0.3.0", optional = true }
frunk_core = { version = "0.3.0", optional = true }
frunk-enum-derive = { version = "0.2.0", optional = true }
frunk-enum-core = { version = "0.2.0", optional = true }
authress = "0.1.45"
nanoid = "0.4.0"
ctrlc = "3.4.0"
ed25519-dalek = { version = "2.1.0", features = ["rand_core", "alloc", "pem", "pkcs8"] }
ed25519 = "2.2.3"
rand_core = "0.6.4"
jsonwebtoken = "9.2.0"
base64 = "0.21.5"
[dev-dependencies]
clap = "2.25"
simple_logger = "4.2.0"
tokio = { version = "1.14", features = ["full"] }
native-tls = "0.2"
[[example]]
name = "server"
required-features = ["server"]