Yi Kong | ce81bb6 | 2020-08-31 01:21:33 +0800 | [diff] [blame] | 1 | [package] |
| 2 | name = "ryu" |
| 3 | version = "1.0.5" # don't forget to update html_root_url |
| 4 | authors = ["David Tolnay <dtolnay@gmail.com>"] |
| 5 | license = "Apache-2.0 OR BSL-1.0" |
| 6 | description = "Fast floating point to string conversion" |
| 7 | repository = "https://github.com/dtolnay/ryu" |
| 8 | documentation = "https://docs.rs/ryu" |
| 9 | readme = "README.md" |
| 10 | edition = "2018" |
| 11 | |
| 12 | [features] |
| 13 | # Use smaller lookup tables. Instead of storing every required power of |
| 14 | # 5, only store every 26th entry, and compute intermediate values with a |
| 15 | # multiplication. This reduces the lookup table size by about 10x (only |
| 16 | # one case, and only f64) at the cost of some performance. |
| 17 | small = [] |
| 18 | |
| 19 | [dependencies] |
| 20 | no-panic = { version = "0.1", optional = true } |
| 21 | |
| 22 | [dev-dependencies] |
| 23 | num_cpus = "1.8" |
| 24 | rand = "0.7" |
| 25 | rand_xorshift = "0.2" |
| 26 | |
| 27 | [package.metadata.docs.rs] |
| 28 | targets = ["x86_64-unknown-linux-gnu"] |