Import and update the file service application and orizentic #72

Merged
savanni merged 36 commits from file-service into main 2023-10-03 23:50:54 +00:00
5 changed files with 1253 additions and 268 deletions
Showing only changes of commit e36657591b - Show all commits

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)
}
}