[package] name = "kafka-sr-serdes" version = "3.0.1" authors = ["Siva Shanmugam ", "Gerard Klijs "] include = ["src/**/*", "Cargo.toml"] description = "Encode/decode data from/to kafka using the Confluent Schema Registry" homepage = "https://github.com/gklijs/schema_registry_converter" repository = "https://github.com/gklijs/schema_registry_converter" readme = "README.md" keywords = ["kafka", "schema", "avro", "protobuf", "jsonschema"] categories = ["encoding", "parsing"] license = "MIT/Apache-2.0" edition = "2021" [features] native_tls = ["reqwest/native-tls"] rustls_tls = ["reqwest/rustls-tls"] avro = ["apache-avro"] blocking = ["reqwest/blocking"] json = ["url", "valico"] proto_decoder = ["bytes", "integer-encoding", "logos", "protofish"] proto_raw = ["integer-encoding", "logos"] easy = ["tokio"] kafka_test = [] default = ["futures","native_tls"] [dependencies.byteorder] version = "^1.4" [dependencies.dashmap] version = "^5.3" [dependencies.reqwest] version = "^0.11" default-features = false features = ["json"] [dependencies.serde] version = "^1.0" features = ["derive"] [dependencies.serde_json] version = "^1.0" [dependencies.apache-avro] version = "^0.14" optional = true [dependencies.bytes] version = "^1.0" optional = true [dependencies.futures] version = "^0.3" optional = true [dependencies.integer-encoding] version = "^3.0" optional = true [dependencies.logos] version = "^0.12" optional = true [dependencies.protofish] version = "^0.5" optional = true [dependencies.url] version = "^2.2" optional = true [dependencies.tokio] version = "^1.8" features = ["macros"] optional = true [dependencies.valico] version = "^3.6" optional = true [dev-dependencies] mockito = "^0.31.0" rdkafka = { version = "^0.28.0", features = ["cmake-build"] } rand = "^0.8.4" test_utils = {path = "test_utils"} [package.metadata.docs.rs] all-features = true