blob: af29dff59d61d6e038a767733fb40d65089dea48 [file] [log] [blame]
Yi Kongce81bb62020-08-31 01:21:33 +08001[package]
2name = "ryu"
David LeGare7461d202022-03-02 16:21:20 +00003version = "1.0.9" # don't forget to update html_root_url
Yi Kongce81bb62020-08-31 01:21:33 +08004authors = ["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"
David LeGare7461d202022-03-02 16:21:20 +00009categories = ["value-formatting"]
Yi Kongce81bb62020-08-31 01:21:33 +080010readme = "README.md"
David LeGare7461d202022-03-02 16:21:20 +000011exclude = ["performance.png", "chart/**"]
Yi Kongce81bb62020-08-31 01:21:33 +080012edition = "2018"
David LeGare7461d202022-03-02 16:21:20 +000013rust-version = "1.36"
Yi Kongce81bb62020-08-31 01:21:33 +080014
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"
David LeGare7461d202022-03-02 16:21:20 +000027rand = "0.8"
28rand_xorshift = "0.3"
Yi Kongce81bb62020-08-31 01:21:33 +080029
30[package.metadata.docs.rs]
31targets = ["x86_64-unknown-linux-gnu"]