-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
112 lines (92 loc) · 1.99 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[package]
name = "grafton-auth"
version = "0.1.0"
authors = ["Grant Sparks <[email protected]>"]
edition = "2021"
description = "The Auth layer for grafton-server"
license = "Apache-2.0"
repository = "https://github.com/GrantSparks/grafton-auth"
homepage = "https://www.grafton.ai"
categories = ["network-programming", "web-programming"]
keywords = ["api", "web", "http", "server", "networking", "ai"]
publish = false
readme = "README.md"
include = [
"Cargo.toml",
"LICENSE",
"README.md",
"build.rs",
"examples/**/*",
"migrations/**/*",
"templates/**/*",
"src/**/*",
]
[features]
default = ["rbac", "graphql"]
graphql = []
grpc = ["tonic"]
rbac = ["oso"]
[dependencies]
askama_axum = "*"
derivative = "2"
oauth2 = "4"
oxide-auth = "*"
oxide-auth-axum = "*"
tokio-rustls = "*"
serde_json = "1"
typed-builder = "*"
thiserror = "1"
time = "*"
url = "2"
[dependencies.grafton-config]
path = "../grafton-config"
[dependencies.grafton-server]
path = "../grafton-server"
[dependencies.askama]
features = ["with-axum"]
version = "*"
[dependencies.axum]
features = ["macros", "json"]
version = "0.7.4"
[dependencies.axum-login]
version = "*"
[dependencies.reqwest]
features = ["json"]
version = "*"
[dependencies.hyper]
features = ["http1", "http2", "server"]
version = "1"
[dependencies.hyper-util]
features = ["tokio", "server-auto"]
version = "*"
[dependencies.oso]
features = ["uuid-10"]
optional = true
version = "*"
[dependencies.pki-types]
package = "rustls-pki-types"
version = "1"
[dependencies.serde]
features = ["derive"]
version = "1"
[dependencies.sqlx]
features = ["sqlite", "time", "runtime-tokio"]
version = "*"
[dependencies.strum]
features = ["derive"]
version = ">=0.26.1"
[dependencies.tokio]
features = ["signal", "rt-multi-thread"]
version = "1"
[dependencies.tonic]
features = ["transport", "tls"]
optional = true
version = "*"
[dependencies.tower]
features = ["util"]
version = "*"
[dependencies.tower-http]
features = ["fs"]
version = "*"
[dev-dependencies]
tempfile = "3"