Expose Variant under internals.

This commit is contained in:
Stephen Chung
2021-03-05 14:18:36 +08:00
parent 2052942d9d
commit 8f0830af1c
2 changed files with 59 additions and 37 deletions

View File

@@ -180,6 +180,10 @@ pub mod serde;
#[cfg(not(feature = "no_optimize"))]
pub use optimize::OptimizationLevel;
#[cfg(feature = "internals")]
#[deprecated = "this type is volatile and may change"]
pub use dynamic::Variant;
// Expose internal data structures.
#[cfg(feature = "internals")]
#[deprecated = "this type is volatile and may change"]