Cargo Features

[dependencies]
fs2db = { version = "7.3.0", default-features = false, features = ["source", "target", "async", "gzip_tokio_async", "grpc_tonic", "async_tokio", "json"] }
default = async, async_tokio, grpc_tonic, gzip_tokio_async, json, source, target

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

source default

Affects fs2db::proto.source, rpc::src2tgt

target default

Affects fs2db::proto.target, rpc::src2tgt

async default = futures, tonic
gzip_tokio_async default = async-compression

Affects gzip::gz_tokio, conv::gzip

grpc_tonic default = prost, tonic, tonic-build

Affects conv::rpc

async_tokio default = tokio, tokio-stream

Affects json::async_tokio, plain::async_tokio, output::async_tokio

json default = serde_json

Affects lines::json

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-compression gzip_tokio_async
futures async
prost grpc_tonic

Enables prost ^0.12

serde_json json
tokio async_tokio
tokio-stream async_tokio
tonic-build build grpc_tonic

Enables tonic-build ^0.10

tonic async grpc_tonic

Enables tonic ^0.10