Skip to content

Commit

Permalink
main branch disable grpc , for rust workflow failed
Browse files Browse the repository at this point in the history
  • Loading branch information
youngday committed Jun 16, 2024
1 parent 4c60262 commit a603e5f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 65 deletions.
35 changes: 0 additions & 35 deletions Cargo.lock

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

25 changes: 13 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ async-stream = "0.3"
axum = { version="0.7", features = ["ws"] }
axum-extra = { version="0.9", features = ["typed-header"] }
poem="3.0.1"
poem-grpc = { version = "0.4.1", features = ["json-codec"] }
# # please uncomment for grpc
# poem-grpc = { version = "0.4.1", features = ["json-codec"] }

futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
headers = "0.4"
Expand Down Expand Up @@ -206,14 +207,14 @@ path = "examples/quic/client.rs"
name = "quic_server"
path = "examples/quic/server.rs"

# please uncomment for grpc
[[example]]
name = "grpc-client"
path = "examples/grpc_poem/helloworld/src/client.rs"

[[example]]
name = "grpc-server"
path = "examples/grpc_poem/helloworld/src/server.rs"
[[example]]
name = "grpc-jsoncodec-server"
path = "examples/grpc_poem/jsoncodec/src/server.rs"
# # please uncomment for grpc
# [[example]]
# name = "grpc-client"
# path = "examples/grpc_poem/helloworld/src/client.rs"

# [[example]]
# name = "grpc-server"
# path = "examples/grpc_poem/helloworld/src/server.rs"
# [[example]]
# name = "grpc-jsoncodec-server"
# path = "examples/grpc_poem/jsoncodec/src/server.rs"
18 changes: 0 additions & 18 deletions build.rs

This file was deleted.

0 comments on commit a603e5f

Please sign in to comment.