feat(tonic-web): implement grpc <-> grpc-web protocol translation (#455)
tonic-web enables tonic servers to handle requests from grpc-web clients directly, without the need of an external proxy. Co-authored-by: John Hernandez <[email protected]> Co-authored-by: zancas <[email protected]>
This commit is contained in:
co-authored by
John Hernandez
zancas
parent
352b0f584b
commit
c309063254
@@ -0,0 +1,19 @@
|
||||
[package]
|
||||
name = "integration"
|
||||
version = "0.1.0"
|
||||
authors = ["Juan Alvarez <[email protected]>"]
|
||||
publish = false
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
tonic = { path = "../../../tonic" }
|
||||
tonic-web = { path = "../../tonic-web" }
|
||||
prost = "0.7"
|
||||
tokio = { version = "1.0.1", features = ["macros", "rt", "net"] }
|
||||
base64 = "0.13"
|
||||
bytes = "1.0"
|
||||
tokio-stream = { version = "0.1", features = ["net"] }
|
||||
hyper = "0.14"
|
||||
|
||||
[build-dependencies]
|
||||
tonic-build = { path = "../../../tonic-build" }
|
||||
Reference in New Issue
Block a user