Cargo Features

tarpc has no features set by default.

[dependencies]
tarpc = { version = "0.34.0", features = ["full", "serde1", "tokio1", "serde-transport", "serde-transport-json", "serde-transport-bincode", "tcp", "unix"] }
full = serde-transport, serde-transport-bincode, serde-transport-json, serde1, tcp, tokio1, unix
serde1 full? serde-transport? = serde

Enables serde1 of tarpc-plugins and rc of serde

serde:

Opt into impls for Rc<T> and Arc<T>. Serializing and deserializing these types does not preserve identity and may result in multiple copies of the same data.
Be sure that this is what you want before enabling this feature.

Affects util::serde

tokio1 full? serde-transport?

Enables rt of tokio

tokio:

Includes basic task execution capabilities

Affects incoming::spawn_incoming

serde-transport full? = serde1, tokio-serde, tokio1

Enables codec of tokio-util

Affects tarpc::serde_transport

serde-transport-json full?

Enables json of tokio-serde ^0.8

serde-transport-bincode full?

Enables bincode of tokio-serde ^0.8

tcp full?

Enables net of tokio

Affects serde_transport::tcp

unix full?

Enables net of tokio

Affects serde_transport::unix

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

serde serde1?
tokio-serde serde-transport? serde-transport-bincode? serde-transport-json?

Enables tokio-serde ^0.8