Skip to content

Commit

Permalink
Increment versions for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexhuszagh committed Apr 21, 2021
1 parent 1585e94 commit 1876a23
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [4.2.1] 2021-04-21
### Changed
- Updated cfg_if version.

## [4.2.0] 2020-01-27
- Fixed bug in API with improper method order.

Expand Down
8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = "MIT/Apache-2.0"
name = "lexical"
readme = "README.md"
repository = "https://github.com/Alexhuszagh/rust-lexical"
version = "4.2.0"
version = "4.2.1"
build = "build.rs"
exclude = [
"data/*",
Expand Down Expand Up @@ -136,26 +136,32 @@ required-features = ["comprehensive_float_test"]

[[bench]]
name = "atof"
path = "benches/atof.rs"
harness = false

[[bench]]
name = "atof_malicious"
path = "benches/atof_malicious.rs"
harness = false

[[bench]]
name = "atof_real"
path = "benches/atof_real.rs"
harness = false

[[bench]]
name = "atoi"
path = "benches/atoi.rs"
harness = false

[[bench]]
name = "itoa"
path = "benches/itoa.rs"
harness = false

[[bench]]
name = "ftoa"
path = "benches/ftoa.rs"
harness = false

[profile.dev]
Expand Down
4 changes: 3 additions & 1 deletion lexical-core/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.6.8] 2021-04-21
### Changed
- Patched an implementation of insert_many due to a security advisory which does not affect lexical.
- Fixed build script for cross-compiling.

- Updated cfg_if version.

## [0.6.7] 2020-01-27
### Changed
Expand Down
2 changes: 1 addition & 1 deletion lexical-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = "MIT/Apache-2.0"
name = "lexical-core"
readme = "README.md"
repository = "https://github.com/Alexhuszagh/rust-lexical/tree/master/lexical-core"
version = "0.6.7"
version = "0.6.8"
build = "build.rs"
exclude = [
"fuzz/*",
Expand Down
20 changes: 10 additions & 10 deletions lexical-core/src/ftoa/grisu2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ use util::*;

// CACHED POWERS

/// Find cached power of 10 from the exponent.
// Find cached power of 10 from the exponent.
perftools_inline!{
fn cached_grisu_power(exp: i32, k: &mut i32)
-> &'static ExtendedFloat80
Expand Down Expand Up @@ -208,7 +208,7 @@ const TENS: [u64; 20] = [

// FPCONV GRISU

/// Round digit to sane approximation.
// Round digit to sane approximation.
perftools_inline!{
fn round_digit(digits: &mut [u8], ndigits: usize, delta: u64, mut rem: u64, kappa: u64, mant: u64)
{
Expand Down Expand Up @@ -410,10 +410,10 @@ fn fpconv_dtoa(d: f64, dest: &mut [u8]) -> usize

// DECIMAL

/// Forward to double_decimal.
///
/// `f` must be non-special (NaN or infinite), non-negative,
/// and non-zero.
// Forward to double_decimal.
//
// `f` must be non-special (NaN or infinite), non-negative,
// and non-zero.
perftools_inline!{
pub(crate) fn float_decimal<'a>(f: f32, bytes: &'a mut [u8])
-> usize
Expand All @@ -423,10 +423,10 @@ pub(crate) fn float_decimal<'a>(f: f32, bytes: &'a mut [u8])

// F64

/// Optimized algorithm for decimal numbers.
///
/// `d` must be non-special (NaN or infinite), non-negative,
/// and non-zero.
// Optimized algorithm for decimal numbers.
//
// `d` must be non-special (NaN or infinite), non-negative,
// and non-zero.
perftools_inline!{
pub(crate) fn double_decimal<'a>(d: f64, bytes: &'a mut [u8])
-> usize
Expand Down

0 comments on commit 1876a23

Please sign in to comment.