every.channel: sanitized baseline
This commit is contained in:
commit
897e556bea
258 changed files with 74298 additions and 0 deletions
25
third_party/iroh-org/iroh-gossip/src/lib.rs
vendored
Normal file
25
third_party/iroh-org/iroh-gossip/src/lib.rs
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#![cfg_attr(feature = "net", doc = include_str!("../README.md"))]
|
||||
//! Broadcast messages to peers subscribed to a topic
|
||||
//!
|
||||
//! The crate is designed to be used from the [iroh] crate, which provides a
|
||||
//! [high level interface](https://docs.rs/iroh/latest/iroh/client/gossip/index.html),
|
||||
//! but can also be used standalone.
|
||||
//!
|
||||
//! [iroh]: https://docs.rs/iroh
|
||||
#![deny(missing_docs, rustdoc::broken_intra_doc_links)]
|
||||
#![cfg_attr(iroh_docsrs, feature(doc_cfg))]
|
||||
|
||||
#[cfg(feature = "net")]
|
||||
pub use net::Gossip;
|
||||
#[cfg(feature = "net")]
|
||||
#[doc(inline)]
|
||||
pub use net::GOSSIP_ALPN as ALPN;
|
||||
|
||||
#[cfg(any(feature = "net", feature = "rpc"))]
|
||||
pub mod api;
|
||||
pub mod metrics;
|
||||
#[cfg(feature = "net")]
|
||||
pub mod net;
|
||||
pub mod proto;
|
||||
|
||||
pub use proto::TopicId;
|
||||
Loading…
Add table
Add a link
Reference in a new issue