[package] name = "tonic-codec-protobuf" version = "0.1.0" edition = "2021" license = "MIT" readme = "README.md" authors = ["Neil Shen "] repository = "https://github.com/overvenus/tonic-protobuf" description = "A tonic::Codec that implements `application/grpc+proto` via the rust-protobuf." documentation = "https://docs.rs/tonic-codec-protobuf" categories = ["network-programming"] homepage = "https://github.com/overvenus/tonic-protobuf" keywords = ["tonic", "codec", "codegen", "protobuf"] [features] default = ["protobuf-v3"] protobuf-v3 = ["dep:protobuf"] protobuf-v2 = ["dep:protobuf2"] [dependencies] protobuf2 = { package = "protobuf", version = "2", optional = true } protobuf = { version = "3", optional = true } tonic = "0.11" bytes = "1.0" [package.metadata.docs.rs] all-features = true