| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.79" |
| 15 |
name = "dragonbox_ecma" |
| 16 |
version = "0.1.12" |
| 17 |
authors = [ |
| 18 |
"David Tolnay <[email protected]>", |
| 19 |
"magic-akari <[email protected]>", |
| 20 |
] |
| 21 |
build = "build.rs" |
| 22 |
exclude = [ |
| 23 |
"performance.png", |
| 24 |
"chart/**", |
| 25 |
] |
| 26 |
autolib = false |
| 27 |
autobins = false |
| 28 |
autoexamples = false |
| 29 |
autotests = false |
| 30 |
autobenches = false |
| 31 |
description = "Fast floating point to string conversion conforming to ECMAScript specification" |
| 32 |
documentation = "https://docs.rs/dragonbox_ecma" |
| 33 |
readme = "README.md" |
| 34 |
keywords = ["float"] |
| 35 |
categories = [ |
| 36 |
"value-formatting", |
| 37 |
"no-std", |
| 38 |
"no-std::no-alloc", |
| 39 |
] |
| 40 |
license = "Apache-2.0 WITH LLVM-exception OR BSL-1.0" |
| 41 |
repository = "https://github.com/magic-akari/dragonbox" |
| 42 |
|
| 43 |
[package.metadata.docs.rs] |
| 44 |
targets = ["x86_64-unknown-linux-gnu"] |
| 45 |
rustdoc-args = [ |
| 46 |
"--generate-link-to-definition", |
| 47 |
"--generate-macro-expansion", |
| 48 |
"--extern-html-root-url=core=https://doc.rust-lang.org", |
| 49 |
"--extern-html-root-url=alloc=https://doc.rust-lang.org", |
| 50 |
"--extern-html-root-url=std=https://doc.rust-lang.org", |
| 51 |
] |
| 52 |
|
| 53 |
[features] |
| 54 |
default = ["ecma"] |
| 55 |
ecma = [] |
| 56 |
original_dragonbox = [] |
| 57 |
|
| 58 |
[lib] |
| 59 |
name = "dragonbox_ecma" |
| 60 |
path = "src/lib.rs" |
| 61 |
|
| 62 |
[[test]] |
| 63 |
name = "binary64_test" |
| 64 |
path = "tests/binary64_test.rs" |
| 65 |
required-features = ["original_dragonbox"] |
| 66 |
|
| 67 |
[[test]] |
| 68 |
name = "binary64_test_ecma" |
| 69 |
path = "tests/binary64_test_ecma.rs" |
| 70 |
|
| 71 |
[[bench]] |
| 72 |
name = "bench" |
| 73 |
path = "benches/bench.rs" |
| 74 |
harness = false |
| 75 |
|
| 76 |
[dev-dependencies.rand] |
| 77 |
version = "0.10" |
| 78 |
|
| 79 |
[target."cfg(not(miri))".dev-dependencies.criterion] |
| 80 |
version = "0.8" |
| 81 |
default-features = false |