-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
157 lines (140 loc) · 4.48 KB
/
Cargo.toml
File metadata and controls
157 lines (140 loc) · 4.48 KB
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
[package]
name = "openstack_keystone"
description = "OpenStack Keystone service"
version = "0.1.2"
edition = "2024"
license = "Apache-2.0"
authors = ["Artem Goncharov (gtema)"]
rust-version = "1.90" # MSRV
repository = "https://github.com/openstack-experimental/keystone"
# Exclude content not relevant for the package
exclude = [
".github",
"doc",
"tests",
"tools"
]
[package.metadata.clippy]
warn = ["clippy::unused_results"]
[[bin]]
name="keystone"
path="src/bin/keystone.rs"
[[bin]]
name="keystone-db"
path="src/bin/keystone_db.rs"
[[bench]]
name = "fernet_token"
harness = false
[dependencies]
async-trait = { version = "0.1" }
axum = { version = "0.8", features = ["macros"] }
base64 = { version = "0.22" }
bcrypt = { version = "0.17", features = ["alloc"] }
byteorder = { version = "1.5" }
bytes = { version = "1.11" }
chrono = { version = "0.4" }
clap = { version = "4.5", features = ["derive"] }
color-eyre = { version = "0.6" }
config = { version = "0.15", default-features = false, features = ["async",
"ini"] }
derive_builder = { version = "0.20" }
dyn-clone = { version = "1.0" }
eyre = { version = "0.6" }
fernet = { version = "0.2", default-features = false, features = ["rustcrypto"] }
# futures = { version = "0.3" }
futures-util = { version = "0.3" }
itertools = { version = "0.14" }
mockall_double = { version = "0.3" }
nix = { version = "0.30", default-features = false, features = ["fs", "user"] }
# opa-wasm = { version = "^0.1", optional = true }
openidconnect = { version = "4.0" }
rand = { version = "0.9" }
regex = { version = "1.12" }
reqwest = { version = "0.12", features = ["json", "http2", "gzip", "deflate"] }
rmp = { version = "0.8" }
schemars = { version = "1.2" }
scopeguard = "1.2.0"
sea-orm = { version = "1.1", features = ["debug-print", "sqlx-mysql", "sqlx-postgres", "runtime-tokio", "runtime-tokio-native-tls"] }
sea-orm-migration = { version = "1.1", features = ["sqlx-mysql", "sqlx-postgres", "runtime-tokio"] }
secrecy = { version = "0.10", features = ["serde"] }
serde = { version = "1.0" }
serde_bytes = { version = "0.11" }
serde_json = { version = "1.0" }
serde_urlencoded = { version = "0.7" }
tempfile = { version = "3.24" }
thiserror = { version = "2.0" }
tokio = { version = "1.49", features = ["fs", "macros", "signal", "rt-multi-thread"] }
tokio-util = { version = "0.7" }
tower = { version = "0.5" }
tower-http = { version = "0.6", features = ["compression-full", "request-id", "sensitive-headers", "trace", "util"] }
tracing = { version = "0.1" }
tracing-subscriber = { version = "0.3", features = [] }
url = { version = "2.5", features = ["serde"] }
url-macro = { version = "0.2" }
utoipa = { version = "5.4", features = ["axum_extras", "chrono", "yaml"] }
utoipa-axum = { version = "0.2" }
utoipa-swagger-ui = { version = "9.0", features = ["axum", "vendored"], default-features = false }
uuid = { version = "1.19", features = ["v4"] }
validator = { version = "0.20", features = ["derive"] }
webauthn-rs = { version = "0.5", features = ["danger-allow-state-serialisation"] }
webauthn-rs-proto = { version = "0.5" }
[dev-dependencies]
base64urlsafedata = "0.5"
criterion = { version = "0.8", features = ["async_tokio"] }
http-body-util = "0.1"
hyper = { version = "1.8", features = ["http1"] }
hyper-util = { version = "0.1", features = ["tokio", "http1"] }
keycloak = { version = "26.4" }
mockall = { version = "0.14" }
reqwest = { version = "0.12", features = ["json", "multipart"] }
rstest = "0.26"
sea-orm = { version = "1.1", features = ["mock", "sqlx-sqlite" ]}
serde_urlencoded = { version = "0.7" }
thirtyfour = "0.36"
tracing-test = { version = "0.2", features = ["no-env-filter"] }
url = { version = "2.5" }
webauthn-rs = { version = "0.5", features = ["danger-credential-internals"] }
[features]
default = []
# wasm = ["dep:opa-wasm"]
bench_internals = []
[profile.release]
strip = true
debug = false
lto = "thin"
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
#codegen-units = 1
[[test]]
name = "interop"
path = "tests/interop/main.rs"
test = false
[[test]]
name = "keycloak"
path = "tests/federation/keycloak.rs"
test = false
[[test]]
name = "github"
path = "tests/federation/github.rs"
test = false
[[test]]
name = "dex"
path = "tests/federation/dex.rs"
test = false
[[test]]
name = "integration"
path = "tests/integration/main.rs"
test = false
[[test]]
name = "api"
path = "tests/api/main.rs"
test = false
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
enum_glob_use = "deny"
expect_used = "deny"
print_stdout = "deny"
unwrap_used = "deny"