Skip to content

Commit

Permalink
login page (backend)
Browse files Browse the repository at this point in the history
  • Loading branch information
archeoss committed Oct 12, 2023
1 parent 66c6be0 commit 1ec7937
Show file tree
Hide file tree
Showing 17 changed files with 3,014 additions and 107 deletions.
15 changes: 12 additions & 3 deletions backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,16 @@ thiserror = "1.0"

## General
tokio = { version = "1.32", features = ["rt", "macros", "rt-multi-thread" ] }
hyper = "0.14"
hyper = { version = "0.14", features = ["http2", "client"] }
nutype = { version = "0.3", features = ["serde", "regex"] }
lazy_static = "1.4"
regex = "1.10"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
frunk = "0.4"
uuid = { version = "1.4", features = ["v4"] }
futures = "0.3"
rand = { version = "0.8", features = ["min_const_gen"] }

## OpenAPI + Swagger
utoipa = { version = "4.0", features = ["yaml", "axum_extras", "chrono", "openapi_extensions"], optional = true }
Expand All @@ -49,10 +57,11 @@ utoipa-rapidoc = { version = "1.0", features = ["axum"], optional = true }
cli = { path = "../cli" }

## Frontend
frontend = { path = "../frontend", optional = true }
# frontend = { path = "../frontend", optional = true }

[features]
default = [ "swagger", "frontend-bundle" ]
swagger = [ "dep:utoipa", "dep:utoipa-swagger-ui" , "dep:utoipa-redoc", "dep:utoipa-rapidoc" ]
frontend-bundle = [ "dep:frontend" ]
# frontend-bundle = [ "dep:frontend" ]
frontend-bundle = [ ]
gen_api = [ "dep:utoipa" ]
Loading

0 comments on commit 1ec7937

Please sign in to comment.