Cargo Features

[dependencies]
fasttext-serving = { version = "0.7.0", default-features = false, features = ["http", "grpc"] }
default = grpc, http

These default features are set whenever fasttext-serving is added without default-features = false somewhere in the dependency tree.

http default = actix-web
grpc default = bytes, futures, prost, tokio, tonic, tonic-build, tonic-reflection

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.

actix-web http
prost grpc

Enables prost ^0.11

grpc dependencies

tonic grpc

Enables tonic ^0.8.0

tonic-reflection grpc

Enables tonic-reflection ^0.6.0

futures grpc
tokio grpc
bytes grpc
tonic-build build grpc

Enables tonic-build ^0.8.0