Skip to main content

mediacast_netcatalog/
lib.rs

1//! # mediacast-netcatalog
2//!
3//! Vendor command catalog + version matcher + protocol probe for
4//! multi-vendor network automation.
5//!
6//! See the [README](https://github.com/Mediacastnet/mediacast-netcatalog)
7//! for an overview and the `catalog/` directory for the YAML data files.
8//!
9//! ## Status
10//!
11//! v0.1 — scaffold. The catalog YAML is research-grade; the Rust API
12//! is unstable until v0.2.
13
14#![cfg_attr(docsrs, feature(doc_cfg))]
15#![warn(missing_docs)]
16#![warn(rust_2018_idioms)]
17
18pub mod catalog;
19pub mod command_types;
20pub mod error;
21pub mod probe;
22pub mod version;
23
24#[cfg(feature = "python")]
25mod python;
26
27pub use catalog::{Catalog, CommandEntry, ProtocolAlternatives, VendorFile};
28pub use command_types::CommandType;
29pub use error::{Error, Result};
30pub use probe::{probe_device, ProbeConfig, ProbeReport};
31pub use version::{FirmwareVersion, VersionRange};