Gate definitions with internals feature.
This commit is contained in:
@@ -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};
|
||||
|
||||
|
Reference in New Issue
Block a user