Cargo Features

tarpc has no features set by default.

[dependencies]
tarpc = { version = "0.35.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? serde-transport-bincode? serde-transport-json? = serde1, tokio-serde, tokio1

Enables codec of tokio-util

Affects tarpc::serde_transport

serde-transport-json full? = serde-transport

Enables json of tokio-serde

serde-transport-bincode full? = serde-transport

Enables bincode of tokio-serde

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. These features may have been created by mistake, and this functionality may be removed in the future.

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