mirror of
https://github.com/openharmony/third_party_rust_ryu.git
synced 2026-07-01 07:14:56 -04:00
32 lines
833 B
TOML
32 lines
833 B
TOML
[package]
|
|
name = "ryu"
|
|
version = "0.2.5"
|
|
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
|
license = "Apache-2.0 OR BSL-1.0"
|
|
description = "Fast floating point to string conversion"
|
|
repository = "https://github.com/dtolnay/ryu"
|
|
documentation = "https://docs.rs/ryu"
|
|
readme = "README.md"
|
|
build = "build.rs"
|
|
|
|
[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 = []
|
|
|
|
[[example]]
|
|
name = "benchmark"
|
|
path = "benchmark/benchmark.rs"
|
|
|
|
[dependencies]
|
|
no-panic = { version = "0.1", optional = true }
|
|
|
|
[dev-dependencies]
|
|
num_cpus = "1.8"
|
|
rand = "0.5"
|
|
|
|
[badges]
|
|
travis-ci = { repository = "dtolnay/ryu" }
|