Move FastFloat to separate crate (archival)
This commit is contained in:
@@ -6,7 +6,5 @@ edition = "2018"
|
||||
|
||||
[features]
|
||||
f32 = []
|
||||
fast-float = []
|
||||
|
||||
[dependencies]
|
||||
num-traits = "0.2.14"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//! The Float type used throughout the ecosystem
|
||||
#![no_std]
|
||||
#![cfg_attr(feature = "fast-float", feature(core_intrinsics))]
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
/// Type used for floats, configure with the `f32` feature
|
||||
#[cfg(feature = "f32")]
|
||||
@@ -16,8 +16,3 @@ pub mod consts {
|
||||
#[cfg(not(feature = "f32"))]
|
||||
pub use core::f64::consts::*;
|
||||
}
|
||||
|
||||
#[cfg(feature = "fast-float")]
|
||||
mod fastfloat;
|
||||
#[cfg(feature = "fast-float")]
|
||||
pub use fastfloat::FastFloat;
|
||||
|
||||
Reference in New Issue
Block a user