# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.65.0" name = "tarpc-example-service" version = "0.16.0" authors = ["Tim Kuehn "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An example server built on tarpc." homepage = "https://github.com/google/tarpc" documentation = "https://docs.rs/tarpc-example-service" readme = "README.md" keywords = [ "rpc", "network", "server", "microservices", "example", ] categories = [ "asynchronous", "network-programming", ] license = "MIT" repository = "https://github.com/google/tarpc" [lib] name = "service" path = "src/lib.rs" [[bin]] name = "client" path = "src/client.rs" [[bin]] name = "server" path = "src/server.rs" [dependencies.anyhow] version = "1.0" [dependencies.clap] version = "4.4.18" features = ["derive"] [dependencies.futures] version = "0.3" [dependencies.log] version = "0.4" [dependencies.opentelemetry] version = "0.26.0" [dependencies.opentelemetry-otlp] version = "0.26.0" [dependencies.opentelemetry-semantic-conventions] version = "0.16.0" [dependencies.opentelemetry_sdk] version = "0.26.0" features = ["rt-tokio"] [dependencies.rand] version = "0.8" [dependencies.tarpc] version = "0.35" features = ["full"] [dependencies.tokio] version = "1" features = [ "macros", "net", "rt-multi-thread", ] [dependencies.tracing] version = "0.1" [dependencies.tracing-opentelemetry] version = "0.27.0" [dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"]