refactor(gossipsub): remove derive-builder dev-dependency (#3270)

Remove the `derive_builder` dev-dependency in gossipsub. We can manually implement the builder functionality on top of the `Default` instance of `InjectNodes`.

Resolved #3228.
This commit is contained in:
StemCll
2022-12-23 00:47:23 +01:00
committed by GitHub
parent d5f4acc6ed
commit aca3454c91
3 changed files with 44 additions and 19 deletions

View File

@ -154,10 +154,6 @@ mod topic;
mod transform;
mod types;
#[cfg(test)]
#[macro_use]
extern crate derive_builder;
mod rpc_proto;
pub use self::behaviour::{Gossipsub, GossipsubEvent, MessageAuthenticity};