mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-30 02:01:35 +00:00
feat: migrate to quick-protobuf
Instead of relying on `protoc` and buildscripts, we generate the bindings using `pb-rs` and version them within our codebase. This makes for a better IDE integration, a faster build and an easier use of `rust-libp2p` because we don't force the `protoc` dependency onto them. Resolves #3024. Pull-Request: #3312.
This commit is contained in:
@ -34,7 +34,7 @@ pub use self::{
|
||||
};
|
||||
pub use libp2p_request_response::{InboundFailure, OutboundFailure};
|
||||
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
mod structs_proto {
|
||||
include!(concat!(env!("OUT_DIR"), "/structs.rs"));
|
||||
mod proto {
|
||||
include!("generated/mod.rs");
|
||||
pub use self::structs::{mod_Message::*, Message};
|
||||
}
|
||||
|
Reference in New Issue
Block a user