-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
43 lines (36 loc) · 1.16 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "ryu-js"
version = "1.0.1"
authors = ["David Tolnay <[email protected]>", "boa-dev"]
categories = ["value-formatting", "no-std", "no-std::no-alloc"]
description = "Fast floating point to string conversion, ECMAScript compliant."
documentation = "https://docs.rs/ryu-js"
edition = "2018"
exclude = ["performance.png", "chart/**"]
keywords = ["float"]
license = "Apache-2.0 OR BSL-1.0"
repository = "https://github.com/boa-dev/ryu-js"
rust-version = "1.64"
[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.8"
rand_xorshift = "0.3"
criterion = "0.5"
[lib]
bench = false
doc-scrape-examples = false
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
# See: https://github.com/rust-lang/rust/pull/84176
rustdoc-args = ["--generate-link-to-definition"]
[[bench]]
name = "bench"
harness = false