Attribute Macro tarpc_plugins::derive_serde

source ·
#[derive_serde]
Expand description

A helper attribute to avoid a direct dependency on Serde.

Adds the following annotations to the annotated item:

#[derive(::tarpc::serde::Serialize, ::tarpc::serde::Deserialize)]
#[serde(crate = "tarpc::serde")]