Skip to content

Commit

Permalink
Merge pull request #45 from mdcpp/staging
Browse files Browse the repository at this point in the history
Sync Staging to master
  • Loading branch information
KAIYOHUGO authored Jul 16, 2024
2 parents 8f68bc6 + 468686d commit bbb5428
Show file tree
Hide file tree
Showing 21 changed files with 541 additions and 184 deletions.
304 changes: 304 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ members = [
"frontend",
"backend",
"judger",
# "testsuit",
# "testsuit",
"backend/migration",
"grpc",
"judger/plugins/rlua-54",
Expand Down
16 changes: 12 additions & 4 deletions frontend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ pulldown-cmark = "0.10.0"
thiserror = "1.0.56"
tonic-web-wasm-client = "0.5.1"
serde_qs = "0.12.0"
serde_json = "1.0.120"
leptos_icons = "0.3.1"
# git = "https://github.com/mdcpp/tonic-web-wasm-client.git"

[dependencies.uuid]
Expand All @@ -50,7 +52,7 @@ features = ["serde"]

[dependencies.tonic]
workspace = true
features = ["codegen", "prost"]
features = ["codegen", "prost", "channel"]

[dependencies.serde]
workspace = true
Expand All @@ -62,7 +64,12 @@ features = ["rt-multi-thread", "fs", "sync"]

[dependencies.grpc]
path = "../grpc"
features = ["serde", "backend", "client"]
features = ["backend", "client", "serde", "extra_trait"]

[dependencies.tailwind_fuse]
version = "0.3.1"
features = ["variant"]


[build-dependencies.tonic-build]
features = ["prost"]
Expand All @@ -76,14 +83,15 @@ ssr = [
"dep:actix-web",
"dep:leptos_actix",
"dep:tokio",
"tonic/transport",
"grpc/transport",
"leptos/ssr",
"leptos_meta/ssr",
"leptos_router/ssr",
"leptos-use/ssr",
"leptos-use/actix",
"tonic/transport",
"tonic/channel",
]
compress = []

[package.metadata.leptos]
# The name used by wasm-bindgen/cargo-leptos for the JS/WASM bundle. Defaults to the crate name
Expand Down
Loading

0 comments on commit bbb5428

Please sign in to comment.