47 lines
1.3 KiB
TOML
47 lines
1.3 KiB
TOML
[package]
|
|
name = "ryu"
|
|
version = "1.0.23"
|
|
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
|
categories = ["value-formatting", "no-std", "no-std::no-alloc"]
|
|
description = "Fast floating point to string conversion"
|
|
documentation = "https://docs.rs/ryu"
|
|
edition = "2021"
|
|
exclude = ["build.rs", "*.png"]
|
|
keywords = ["float"]
|
|
license = "Apache-2.0 OR BSL-1.0"
|
|
repository = "https://github.com/dtolnay/ryu"
|
|
rust-version = "1.71"
|
|
|
|
[features]
|
|
# Use smaller lookup tables. Instead of storing every required power of
|
|
# 5, only store every 26th entry, and compute intermediate values with a
|
|
# multiplication. This reduces the lookup table size by about 10x (only
|
|
# one case, and only f64) at the cost of some performance.
|
|
small = []
|
|
|
|
[dependencies]
|
|
no-panic = { version = "0.1", optional = true }
|
|
|
|
[dev-dependencies]
|
|
num_cpus = "1.8"
|
|
rand = "0.10"
|
|
rand_core = "0.10"
|
|
rand_xorshift = "0.5"
|
|
|
|
[target.'cfg(not(miri))'.dev-dependencies]
|
|
criterion = { version = "0.8", default-features = false }
|
|
|
|
[[bench]]
|
|
name = "bench"
|
|
harness = false
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
rustdoc-args = [
|
|
"--generate-link-to-definition",
|
|
"--generate-macro-expansion",
|
|
"--extern-html-root-url=core=https://doc.rust-lang.org",
|
|
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
|
|
"--extern-html-root-url=std=https://doc.rust-lang.org",
|
|
]
|