mirror of
https://github.com/OMGeeky/tarpc.git
synced 2025-12-26 17:02:32 +01:00
42 lines
1.2 KiB
TOML
42 lines
1.2 KiB
TOML
[package]
|
|
name = "tarpc-example-service"
|
|
version = "0.15.0"
|
|
rust-version = "1.56"
|
|
authors = ["Tim Kuehn <tikue@google.com>"]
|
|
edition = "2021"
|
|
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]
|
|
anyhow = "1.0"
|
|
clap = { version = "3.0.0-rc.9", features = ["derive"] }
|
|
log = "0.4"
|
|
futures = "0.3"
|
|
opentelemetry = { version = "0.21.0" }
|
|
opentelemetry-jaeger = { version = "0.20.0", features = ["rt-tokio"] }
|
|
rand = "0.8"
|
|
tarpc = { version = "0.34", path = "../tarpc", features = ["full"] }
|
|
tokio = { version = "1", features = ["macros", "net", "rt-multi-thread"] }
|
|
tracing = { version = "0.1" }
|
|
tracing-opentelemetry = "0.22.0"
|
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
|
|
opentelemetry_sdk = "0.21.1"
|
|
|
|
[lib]
|
|
name = "service"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "server"
|
|
path = "src/server.rs"
|
|
|
|
[[bin]]
|
|
name = "client"
|
|
path = "src/client.rs"
|