# 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" version = "0.35.0" authors = [ "Adam Wright ", "Tim Kuehn ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An RPC framework for Rust with a focus on ease of use." homepage = "https://github.com/google/tarpc" documentation = "https://docs.rs/tarpc" readme = "README.md" keywords = [ "rpc", "network", "server", "api", "microservices", ] categories = [ "asynchronous", "network-programming", ] license = "MIT" repository = "https://github.com/google/tarpc" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "tarpc" path = "src/lib.rs" [[example]] name = "compression" path = "examples/compression.rs" required-features = [ "serde-transport", "tcp", ] [[example]] name = "custom_transport" path = "examples/custom_transport.rs" required-features = [ "serde1", "tokio1", "serde-transport", ] [[example]] name = "pubsub" path = "examples/pubsub.rs" required-features = ["full"] [[example]] name = "readme" path = "examples/readme.rs" required-features = ["full"] [[example]] name = "tls_over_tcp" path = "examples/tls_over_tcp.rs" required-features = ["full"] [[example]] name = "tracing" path = "examples/tracing.rs" required-features = ["full"] [[test]] name = "compile_fail" path = "tests/compile_fail.rs" [[test]] name = "dataservice" path = "tests/dataservice.rs" required-features = [ "serde-transport", "tcp", ] [[test]] name = "proc_macro_hygene" path = "tests/proc_macro_hygene.rs" [[test]] name = "service_functional" path = "tests/service_functional.rs" required-features = ["serde-transport"] [dependencies.anyhow] version = "1.0" [dependencies.fnv] version = "1.0" [dependencies.futures] version = "0.3" [dependencies.humantime] version = "2.0" [dependencies.opentelemetry] version = "0.26.0" default-features = false [dependencies.opentelemetry-semantic-conventions] version = "0.16.0" [dependencies.pin-project] version = "1.0" [dependencies.rand] version = "0.8" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.static_assertions] version = "1.1.0" [dependencies.tarpc-plugins] version = "0.14" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1" features = ["time"] [dependencies.tokio-serde] version = "0.9" optional = true [dependencies.tokio-util] version = "0.7.3" features = ["time"] [dependencies.tracing] version = "0.1" features = [ "attributes", "log", ] default-features = false [dependencies.tracing-opentelemetry] version = "0.27.0" default-features = false [dev-dependencies.assert_matches] version = "1.4" [dev-dependencies.bincode] version = "1.3" [dev-dependencies.bytes] version = "1" features = ["serde"] [dev-dependencies.console-subscriber] version = "0.4" [dev-dependencies.flate2] version = "1.0" [dev-dependencies.futures-test] version = "0.3" [dev-dependencies.opentelemetry] version = "0.26.0" default-features = false [dev-dependencies.opentelemetry-otlp] version = "0.26.0" [dev-dependencies.opentelemetry_sdk] version = "0.26.0" features = ["rt-tokio"] [dev-dependencies.pin-utils] version = "0.1.0" [dev-dependencies.rustls-pemfile] version = "2.0" [dev-dependencies.serde_bytes] version = "0.11" [dev-dependencies.tokio] version = "1" features = [ "full", "test-util", "tracing", ] [dev-dependencies.tokio-rustls] version = "0.26" [dev-dependencies.tokio-serde] version = "0.9" features = [ "json", "bincode", ] [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [dev-dependencies.trybuild] version = "1.0" [features] default = [] full = [ "serde1", "tokio1", "serde-transport", "serde-transport-json", "serde-transport-bincode", "tcp", "unix", ] serde-transport = [ "serde1", "tokio1", "tokio-serde", "tokio-util/codec", ] serde-transport-bincode = [ "serde-transport", "tokio-serde/bincode", ] serde-transport-json = [ "serde-transport", "tokio-serde/json", ] serde1 = [ "tarpc-plugins/serde1", "serde", "serde/derive", "serde/rc", ] tcp = ["tokio/net"] tokio1 = ["tokio/rt"] unix = ["tokio/net"] [badges.travis-ci] repository = "google/tarpc"