diff --git a/CHANGELOG.md b/CHANGELOG.md index 121f589e..73928b0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ Rhai Release Notes ================== +Version 1.0.5 +============= + +* `FloatWrapper` is no longer erroneously exported under `no_float+internals`. + + Version 1.0.4 ============= diff --git a/src/lib.rs b/src/lib.rs index 614a8fb8..f26ad35b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -227,10 +227,15 @@ pub use token::{InputStream, Token, TokenizeState, TokenizerControl, TokenizerCo #[cfg(feature = "internals")] #[deprecated = "this type is volatile and may change"] pub use ast::{ - ASTNode, BinaryExpr, CustomExpr, Expr, FloatWrapper, FnCallExpr, FnCallHashes, Ident, - OpAssignment, OptionFlags, ReturnType, ScriptFnDef, Stmt, StmtBlock, AST_OPTION_FLAGS::*, + ASTNode, BinaryExpr, CustomExpr, Expr, FnCallExpr, FnCallHashes, Ident, OpAssignment, + OptionFlags, ReturnType, ScriptFnDef, Stmt, StmtBlock, AST_OPTION_FLAGS::*, }; +#[cfg(feature = "internals")] +#[cfg(not(feature = "no_float"))] +#[deprecated = "this type is volatile and may change"] +pub use ast::FloatWrapper; + #[cfg(feature = "internals")] #[deprecated = "this type is volatile and may change"] pub use engine::{EvalState, FnResolutionCache, FnResolutionCacheEntry, Imports};