# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.71"
name = "zmij"
version = "1.0.23"
authors = ["David Tolnay <dtolnay@gmail.com>"]
build = "build.rs"
exclude = ["*.png"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A double-to-string conversion algorithm based on Schubfach and xjb"
documentation = "https://docs.rs/zmij"
readme = "README.md"
keywords = ["float"]
categories = [
    "value-formatting",
    "no-std",
    "no-std::no-alloc",
]
license = "MIT"
repository = "https://github.com/dtolnay/zmij"

[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",
]

[lib]
name = "zmij"
path = "src/lib.rs"

[[test]]
name = "exhaustive"
path = "tests/exhaustive.rs"

[[test]]
name = "ryu_comparison"
path = "tests/ryu_comparison.rs"

[[test]]
name = "test"
path = "tests/test.rs"

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

[dependencies.no-panic]
version = "0.1.36"
optional = true

[dev-dependencies.num-bigint]
version = "0.5"

[dev-dependencies.num-integer]
version = "0.1"

[dev-dependencies.num_cpus]
version = "1.8"

[dev-dependencies.opt-level]
version = "1"

[dev-dependencies.rand]
version = "0.10"

[dev-dependencies.ryu]
version = "1"

[target."cfg(not(miri))".dev-dependencies.criterion]
version = "0.8"
default-features = false
