Skip to content

Commit

Permalink
Cleanup main crate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q committed May 28, 2024
1 parent 5dec197 commit b2ef149
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hugr/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@
#![cfg_attr(test, allow(non_local_definitions))]

// These modules are re-exported as-is. If more control is needed, define a new module in this crate with the desired exports.
// The doc inline directive is necessary for renamed modules to appear as if they were defined in this crate.
pub use hugr_core::{builder, core, extension, hugr, ops, std_extensions, types, utils};
#[doc(inline)]
pub use hugr_passes as algorithms;

// Top-level re-exports for convenience.
Expand All @@ -151,4 +153,5 @@ pub use hugr_core::core::{
pub use hugr_core::extension::Extension;
pub use hugr_core::hugr::{Hugr, HugrView, SimpleReplacement};

// Re-export macros.
pub use hugr_core::macros::{const_extension_ids, type_row};

0 comments on commit b2ef149

Please sign in to comment.