Skip to content

Commit af385c7

Browse files
committed
Update README.md
1 parent 567cfc6 commit af385c7

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [# 1.0.0 (2023-10-05)](https://github.com/boa-dev/ryu-js/compare/v0.2.2...v1.0.0) - ECMAScript compliant implementation of `Number.prototype.toFixed()`
44

5-
### Breaking changes
5+
### Breaking Changes
66

77
- Minimum rust version has been bumped from `1.36.0` to `1.64.0`.
88

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Ryū-js
22

3-
Ryū-js is a fork of the [ryu][ryu-crate] crate adjusted to comply to the ECMAScript [number-to-string][number-to-string] algorithm.
3+
Ryū-js is a fork of the [ryu][ryu-crate] crate adjusted to comply to the ECMAScript [number-to-string][number-to-string] algorithm, also implementing [`Number.prototype.toFixed()`][number-to-fixed] compliant conversion.
44

55
[ryu-crate]: https://crates.io/crates/ryu
66
[number-to-string]: https://tc39.es/ecma262/#sec-numeric-types-number-tostring
7+
[number-to-fixed]: https://tc39.es/ecma262/#sec-number.prototype.tofixed
78

89
Pure Rust implementation of Ryū, an algorithm to quickly convert floating point
910
numbers to decimal strings.
@@ -23,7 +24,7 @@ uses nothing from the Rust standard library so is usable from no_std crates.*
2324

2425
```toml
2526
[dependencies]
26-
ryu-js = "0.2"
27+
ryu-js = "1.0"
2728
```
2829

2930
<br>
@@ -38,8 +39,6 @@ fn main() {
3839
}
3940
```
4041

41-
<br>
42-
4342
## Performance
4443

4544
<!--

0 commit comments

Comments
 (0)