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

View File

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

View File

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

View File

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