Cargo Features

libp2p-pubsub-proto has no features set by default.

[dependencies]
libp2p-pubsub-proto = { version = "0.1.0", features = ["proto-gen"] }
proto-gen

Enable to run protobuf messages code generation at compile time (requires Buf CLI, protoc, etc.).