Cargo Features
[dependencies]
schema_registry_converter = { version = "4.2.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
somewhere in the dependency tree.default-features = false - 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::avro_common
,async_impl::easy_avro
… - blocking
-
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
… - 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::async_impl
… - protofish proto_decoder?
- url json?
- valico json?
- integer-encoding proto_decoder? proto_raw?
- logos proto_decoder? proto_raw?