mirror of
https://github.com/OMGeeky/tarpc.git
synced 2025-12-26 17:02:32 +01:00
35 lines
883 B
TOML
35 lines
883 B
TOML
[package]
|
|
name = "tarpc-example-service"
|
|
version = "0.6.0"
|
|
authors = ["Tim Kuehn <tikue@google.com>"]
|
|
edition = "2018"
|
|
license = "MIT"
|
|
documentation = "https://docs.rs/tarpc-example-service"
|
|
homepage = "https://github.com/google/tarpc"
|
|
repository = "https://github.com/google/tarpc"
|
|
keywords = ["rpc", "network", "server", "microservices", "example"]
|
|
categories = ["asynchronous", "network-programming"]
|
|
readme = "../README.md"
|
|
description = "An example server built on tarpc."
|
|
|
|
[dependencies]
|
|
clap = "2.0"
|
|
futures = "0.3"
|
|
serde = { version = "1.0" }
|
|
tarpc = { version = "0.20", path = "../tarpc", features = ["full"] }
|
|
tokio = { version = "0.2", features = ["full"] }
|
|
tokio-serde = { version = "0.6", features = ["json"] }
|
|
env_logger = "0.6"
|
|
|
|
[lib]
|
|
name = "service"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "server"
|
|
path = "src/server.rs"
|
|
|
|
[[bin]]
|
|
name = "client"
|
|
path = "src/client.rs"
|