1[package]
2name = "ryu"
3version = "1.0.17" # don't forget to update html_root_url
4authors = ["David Tolnay <dtolnay@gmail.com>"]
5categories = ["value-formatting", "no-std", "no-std::no-alloc"]
6description = "Fast floating point to string conversion"
7documentation = "https://docs.rs/ryu"
8edition = "2018"
9exclude = ["performance.png", "chart/**"]
10keywords = ["float"]
11license = "Apache-2.0 OR BSL-1.0"
12repository = "https://github.com/dtolnay/ryu"
13rust-version = "1.36"
14
15[features]
16# Use smaller lookup tables. Instead of storing every required power of
17# 5, only store every 26th entry, and compute intermediate values with a
18# multiplication. This reduces the lookup table size by about 10x (only
19# one case, and only f64) at the cost of some performance.
20small = []
21
22[dependencies]
23no-panic = { version = "0.1", optional = true }
24
25[dev-dependencies]
26num_cpus = "1.8"
27rand = "0.8"
28rand_xorshift = "0.3"
29
30[lib]
31doc-scrape-examples = false
32
33[package.metadata.docs.rs]
34targets = ["x86_64-unknown-linux-gnu"]
35rustdoc-args = ["--generate-link-to-definition"]
36