Add orizentic and file-service to the build

This commit is contained in:
Savanni D'Gerinel 2023-09-19 19:01:09 -04:00
parent 7077724e15
commit e36657591b
5 changed files with 1253 additions and 268 deletions

1483
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -7,6 +7,7 @@ members = [
"cyberpunk-splash",
"dashboard",
"emseries",
"file-service",
"flow",
"fluent-ergonomics",
"geo-types",
@ -16,6 +17,7 @@ members = [
"kifu/core",
"kifu/gtk",
"memorycache",
"orizentic",
"screenplay",
"sgf",
"nom-training",

View File

@ -10,6 +10,7 @@ RUST_ALL_TARGETS=(
"cyberpunk-splash"
"dashboard"
"emseries"
"file-service"
"flow"
"fluent-ergonomics"
"geo-types"
@ -19,6 +20,7 @@ RUST_ALL_TARGETS=(
"kifu-core"
"kifu-gtk"
"memorycache"
"orizentic"
"screenplay"
"sgf"
)

View File

@ -9,17 +9,17 @@ edition = "2018"
[dependencies]
chrono = { version = "0.4", features = ["serde"] }
hex-string = "0.1.0"
image = "0.23.5"
iron = "0.6.1"
logger = "*"
mime = "0.3.16"
mime_guess = "2.0.3"
mustache = "0.9.0"
orizentic = "1.0.0"
orizentic = { path = "../orizentic" }
params = "*"
router = "*"
serde_json = "*"
serde = { version = "1.0", features = ["derive"] }
sha2 = "0.8.2"
uuid = { version = "0.4", features = ["serde", "v4"] }
thiserror = "1.0.20"
image = "0.23.5"
uuid = { version = "0.4", features = ["serde", "v4"] }

View File

@ -26,7 +26,7 @@ impl Authentication {
&self,
token_str: String,
) -> Result<orizentic::VerifiedToken, orizentic::Error> {
self.auth.decode_and_validate_text(&token_str)
self.auth.decode_and_validate_text(token_str)
}
}