This repository was archived by the owner on Jul 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
85 lines (78 loc) · 2.42 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
[package]
name = "sso"
version = "0.11.0"
description = "Single sign-on authentication server"
authors = [ "Sam Ward <[email protected]>" ]
license = "Unlicense"
readme = "README.md"
homepage = "https://mojzu.net/sso/"
documentation = "https://docs.rs/crate/sso/"
repository = "https://github.com/mojzu/sso"
categories = [ "authentication", "web-programming", "command-line-utilities" ]
edition = "2018"
[lib]
name = "sso"
path = "sso/lib.rs"
[[bin]]
name = "sso_server"
path = "sso/bin/server.rs"
[[bin]]
name = "sso_cli"
path = "sso/bin/cli.rs"
[features]
default = [ ]
[dependencies]
actix-http = "2.2"
actix-identity = "0.3.1"
actix-rt = "1.1"
actix-server = "1.0"
actix-web = "3.3"
actix-web-httpauth = "0.5.0"
chrono = { version = "0.4.19", features = [ "serde" ] }
chrono-tz = "0.5.3"
clap = "2.33"
config = "0.10.1"
deadpool-postgres = "0.5.6"
email = "0.0.21"
env_logger = "0.8.2"
futures = "0.3.8"
handlebars = "3.5"
http = "0.2.2"
jsonwebtoken = "7.2"
lazy_static = "1.4"
lettre = "0.9.5"
lettre_email = "0.9.4"
log = "0.4.11"
native-tls = "0.2.6"
oauth2 = { version = "3.0", features = [ "futures-03", "reqwest-010" ], default-features = false }
opentelemetry = { version = "0.10.0", features = [ "serialize" ] }
opentelemetry-prometheus = { version = "0.3.0" }
paperclip = { git = "https://github.com/wafflespeanut/paperclip", features = [ "v2", "actix", "chrono", "uuid" ] }
paperclip-core = { git = "https://github.com/wafflespeanut/paperclip", features = [ "v2", "actix", "uuid" ] }
paperclip-macros = { git = "https://github.com/wafflespeanut/paperclip", features = [ "v2", "actix" ] }
percent-encoding = "2.1"
postgres-types = { version = "0.1.3", features = [ "derive" ] }
prometheus = { version = "0.10.0", features = [ "process" ] }
rand = "0.8.0"
reqwest = { version = "0.10.10", features = [ "json", "rustls-tls" ] }
rustls = "0.18.1"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
serde_urlencoded = "0.7.0"
tokio = { version = "0.2.23", features = [ "rt-threaded", "macros", "signal", "fs" ] }
tokio-postgres = { version = "0.5.5", features = [ "with-chrono-0_4", "with-uuid-0_8", "with-serde_json-1" ] }
toml = "0.5.8"
unic-langid = "0.9.0"
url = { version = "2.2", features = [ "serde" ] }
uuid = { version = "0.8.1", features = [ "serde", "v4" ] }
validator = "0.12.0"
validator_derive = "0.12.0"
[dev-dependencies]
bytes = "0.6.0"
[workspace]
members = [
".",
# todo: Fix sso_client crate, Any compilation errors
# "sso_client",
]