Cargo Features

schema_registry_converter = { version = "4.0.0", default-features = false, features = ["native_tls", "rustls_tls", "avro", "blocking", "json", "proto_decoder", "proto_raw", "easy", "kafka_test", "futures"] }
default = futures, native_tls

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

native_tls default

Enables native-tls of reqwest


Enables native-tls specific functionality not available by default.


Enables rustls-tls of reqwest

avro = apache-avro

Affects async_impl::avro, blocking::avro, schema_registry_converter::avro_common, async_impl::easy_avro


Enables blocking of reqwest

Affects schema_registry_converter::blocking

json = url, valico

Affects async_impl::json, blocking::json, async_impl::easy_json

proto_decoder = bytes, integer-encoding, logos, protofish

Affects async_impl::proto_decoder, blocking::proto_decoder, async_impl::easy_proto_decoder, schema_registry_converter::proto_resolver

proto_raw = integer-encoding, logos

Affects async_impl::proto_raw, blocking::proto_raw, schema_registry_converter::proto_raw_common, async_impl::easy_proto_raw, schema_registry_converter::proto_resolver

easy = tokio

Affects async_impl::easy_avro, async_impl::easy_json, async_impl::easy_proto_decoder, async_impl::easy_proto_raw


Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

tokio easy?
apache-avro avro?
bytes proto_decoder?
futures default

Affects schema_registry_converter::async_impl

protofish proto_decoder?
url json?
valico json?
integer-encoding proto_decoder? proto_raw?
logos proto_decoder? proto_raw?

Enables logos ^0.13