Cargo Features
tarpc-lib has no features set by default.
[dependencies]
tarpc-lib = { version = "0.7.0", features = ["serde1", "tokio1"] }
- serde1 = serde
-
Enables serde of tarpc-trace and derive of serde
serde:
Provide derive(Serialize, Deserialize) macros.
- tokio1 = tokio
-
Affects
server::Handler.respond_with
,server::Running
…
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?
-
Affects
util::serde
… - tokio tokio1?
-
Enables tokio ^0.2.0-alpha.4