blob: ad0ba2c6f7f6b58cf5a95bf6f79a54daea659fae [file] [log] [blame]
Yi Kongce81bb62020-08-31 01:21:33 +08001[package]
2name = "ryu"
3version = "1.0.5" # don't forget to update html_root_url
4authors = ["David Tolnay <dtolnay@gmail.com>"]
5license = "Apache-2.0 OR BSL-1.0"
6description = "Fast floating point to string conversion"
7repository = "https://github.com/dtolnay/ryu"
8documentation = "https://docs.rs/ryu"
9readme = "README.md"
10edition = "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.
17small = []
18
19[dependencies]
20no-panic = { version = "0.1", optional = true }
21
22[dev-dependencies]
23num_cpus = "1.8"
24rand = "0.7"
25rand_xorshift = "0.2"
26
27[package.metadata.docs.rs]
28targets = ["x86_64-unknown-linux-gnu"]