Skip to content

Commit

Permalink
support protobuf-code without grpcio
Browse files Browse the repository at this point in the history
  • Loading branch information
glorv committed Jun 13, 2024
1 parent 80fe149 commit ef91689
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ edition = "2021"

[features]
default = ["protobuf-codec"]
protobuf-codec = ["grpcio", "protobuf-build/protobuf-codec", "grpcio/protobuf-codec"]
protobuf-codec = ["protobuf-build/protobuf-codec"]
prost-codec = ["prost", "prost-derive", "lazy_static", "protobuf-build/prost-codec"]
grpcio-protobuf-codec = ["grpcio", "protobuf-codec", "grpcio/protobuf-codec"]
grpcio-prost-codec = ["prost-codec", "grpcio", "grpcio/prost-codec"]
tonic-prost-codec = ["prost-codec", "tonic", "protobuf-build/tonic-prost-codec"]

Expand Down

0 comments on commit ef91689

Please sign in to comment.