Cargo Features

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

native_tls default

Enables native-tls of reqwest ^0.11

reqwest:

Enables native-tls specific functionality not available by default.

rustls_tls

Enables rustls-tls of reqwest ^0.11

avro = apache-avro

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

blocking

Enables blocking of reqwest ^0.11

Affects kafka_schema_reg_serdes::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

proto_raw = integer-encoding, logos

Affects async_impl::proto_raw, blocking::proto_raw, kafka_schema_reg_serdes::proto_raw_common, async_impl::easy_proto_raw

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.

apache-avro avro?

Enables apache-avro ^0.14

bytes proto_decoder?
futures default

Affects kafka_schema_reg_serdes::async_impl

protofish proto_decoder?
tokio easy?
url json?
valico json?

Enables valico ^3.6

integer-encoding proto_decoder? proto_raw?

Enables integer-encoding ^3.0

logos proto_decoder? proto_raw?

Enables logos ^0.12