Gate definitions with internals feature.

This commit is contained in:
Stephen Chung
2022-07-28 17:58:22 +08:00
parent 0f92eb05bd
commit 87687ebf25
4 changed files with 48 additions and 19 deletions

View File

@@ -182,9 +182,6 @@ pub use types::{
#[cfg(not(feature = "no_custom_syntax"))]
pub use api::custom_syntax::Expression;
#[cfg(feature = "metadata")]
pub use api::definitions::Definitions;
/// _(debugging)_ Module containing types for debugging.
/// Exported under the `debugging` feature only.
#[cfg(feature = "debugging")]
@@ -268,6 +265,9 @@ pub type OptimizationLevel = ();
// Expose internal data structures.
#[cfg(feature = "metadata")]
pub use api::definitions::Definitions;
#[cfg(feature = "internals")]
pub use types::dynamic::{AccessMode, DynamicReadLock, DynamicWriteLock, Variant};