Cargo Features

[dependencies]
schema_registry_converter_sf = { version = "4.1.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_sf is added without default-features = false somewhere in the dependency tree.

native_tls default

Enables native-tls of reqwest

reqwest:

Enables native-tls specific functionality not available by default.

rustls_tls

Enables rustls-tls of reqwest

avro = apache-avro

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

blocking

Enables blocking of reqwest

Affects schema_registry_converter_sf::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_sf::proto_resolver

proto_raw = integer-encoding, logos

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

easy = tokio

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

kafka_test

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.

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

Affects schema_registry_converter_sf::async_impl

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