Cargo Features

ort-grpc has no features set by default.

[dependencies]
ort-grpc = { version = "0.2.0", features = ["rustfmt", "transport", "client", "server"] }
rustfmt build

Enables rustfmt of tonic-build ^0.5

transport client? server?

Enables transport of tonic ^0.5 and tonic-build ^0.5

client = async-trait, http, ort-core, tracing, transport

Affects ort-grpc::client

server = async-trait, drain, futures, ort-core, tracing, transport

Enables time of tokio

Affects ort-grpc::server

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.

async-trait client? server?
drain server?
futures server?
http client?

Enables http ^0.2

ort-core client? server?
tokio server?
tracing client? server?