feat: add __rpc
This commit is contained in:
30
__rpc/dubbo-rust/Cargo.toml
Normal file
30
__rpc/dubbo-rust/Cargo.toml
Normal file
@@ -0,0 +1,30 @@
|
||||
[package]
|
||||
name = "dubbo-rust"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[[bin]]
|
||||
name = "greeter-server"
|
||||
path = "src/greeter/server.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "greeter-client"
|
||||
path = "src/greeter/client.rs"
|
||||
|
||||
[dependencies]
|
||||
http = "0.2"
|
||||
http-body = "0.4.4"
|
||||
futures-util = {version = "0.3", default-features = false}
|
||||
tokio = { version = "1.0", features = [ "rt-multi-thread", "time", "fs", "macros", "net", "signal"] }
|
||||
prost-derive = {version = "0.10", optional = true}
|
||||
prost = "0.10.4"
|
||||
async-trait = "0.1.56"
|
||||
tokio-stream = "0.1"
|
||||
|
||||
dubbo = "0.2.0"
|
||||
dubbo-config = "0.2.0"
|
||||
|
||||
[build-dependencies]
|
||||
dubbo-build = "0.2.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user