-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(runtime): improve overall documentation (#219)
Signed-off-by: Julien Loudet <[email protected]>
- Loading branch information
Showing
8 changed files
with
480 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,16 @@ | |
// ZettaScale Zenoh Team, <[email protected]> | ||
// | ||
|
||
//! This crate exposes the structures driving the execution of a data flow: the [Runtime] and the [DataFlowInstance]. | ||
//! | ||
//! If the feature `zenoh` is enabled (it is by default), this crate additionally re-exports the structures from | ||
//! [Zenoh](zenoh) that allow opening a [Session](zenoh::Session) *asynchronously*. | ||
//! | ||
//! Users interested in exposing a Zenoh-Flow runtime should find everything in the [Runtime] and [RuntimeBuilder]. | ||
//! | ||
//! Users interested in fetching the state of a data flow instance should look into the [DataFlowInstance], | ||
//! [InstanceState] and [InstanceStatus] structures. These structures are leveraged by the `zfctl` command line tool. | ||
mod instance; | ||
pub use instance::{DataFlowInstance, InstanceState, InstanceStatus}; | ||
|
||
|
@@ -26,6 +36,7 @@ mod runners; | |
mod runtime; | ||
pub use runtime::{DataFlowErr, Runtime, RuntimeBuilder}; | ||
|
||
/// A re-export of the Zenoh structures needed to open a [Session](zenoh::Session) asynchronously. | ||
#[cfg(feature = "zenoh")] | ||
pub mod zenoh { | ||
pub use zenoh::config::{client, empty, peer}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.