| 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.71" |
| 15 |
name = "zmij" |
| 16 |
version = "1.0.23" |
| 17 |
authors = ["David Tolnay <[email protected]>"] |
| 18 |
build = "build.rs" |
| 19 |
exclude = ["*.png"] |
| 20 |
autolib = false |
| 21 |
autobins = false |
| 22 |
autoexamples = false |
| 23 |
autotests = false |
| 24 |
autobenches = false |
| 25 |
description = "A double-to-string conversion algorithm based on Schubfach and xjb" |
| 26 |
documentation = "https://docs.rs/zmij" |
| 27 |
readme = "README.md" |
| 28 |
keywords = ["float"] |
| 29 |
categories = [ |
| 30 |
"value-formatting", |
| 31 |
"no-std", |
| 32 |
"no-std::no-alloc", |
| 33 |
] |
| 34 |
license = "MIT" |
| 35 |
repository = "https://github.com/dtolnay/zmij" |
| 36 |
|
| 37 |
[package.metadata.docs.rs] |
| 38 |
targets = ["x86_64-unknown-linux-gnu"] |
| 39 |
rustdoc-args = [ |
| 40 |
"--generate-link-to-definition", |
| 41 |
"--generate-macro-expansion", |
| 42 |
"--extern-html-root-url=core=https://doc.rust-lang.org", |
| 43 |
] |
| 44 |
|
| 45 |
[lib] |
| 46 |
name = "zmij" |
| 47 |
path = "src/lib.rs" |
| 48 |
|
| 49 |
[[test]] |
| 50 |
name = "exhaustive" |
| 51 |
path = "tests/exhaustive.rs" |
| 52 |
|
| 53 |
[[test]] |
| 54 |
name = "ryu_comparison" |
| 55 |
path = "tests/ryu_comparison.rs" |
| 56 |
|
| 57 |
[[test]] |
| 58 |
name = "test" |
| 59 |
path = "tests/test.rs" |
| 60 |
|
| 61 |
[[bench]] |
| 62 |
name = "bench" |
| 63 |
path = "benches/bench.rs" |
| 64 |
harness = false |
| 65 |
|
| 66 |
[dependencies.no-panic] |
| 67 |
version = "0.1.36" |
| 68 |
optional = true |
| 69 |
|
| 70 |
[dev-dependencies.num-bigint] |
| 71 |
version = "0.5" |
| 72 |
|
| 73 |
[dev-dependencies.num-integer] |
| 74 |
version = "0.1" |
| 75 |
|
| 76 |
[dev-dependencies.num_cpus] |
| 77 |
version = "1.8" |
| 78 |
|
| 79 |
[dev-dependencies.opt-level] |
| 80 |
version = "1" |
| 81 |
|
| 82 |
[dev-dependencies.rand] |
| 83 |
version = "0.10" |
| 84 |
|
| 85 |
[dev-dependencies.ryu] |
| 86 |
version = "1" |
| 87 |
|
| 88 |
[target."cfg(not(miri))".dev-dependencies.criterion] |
| 89 |
version = "0.8" |
| 90 |
default-features = false |