# 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 = "ryu"
version = "1.0.23"
authors = ["David Tolnay <dtolnay@gmail.com>"]
build = false
exclude = [
    "build.rs",
    "*.png",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast floating point to string conversion"
documentation = "https://docs.rs/ryu"
readme = "README.md"
keywords = ["float"]
categories = [
    "value-formatting",
    "no-std",
    "no-std::no-alloc",
]
license = "Apache-2.0 OR BSL-1.0"
repository = "https://github.com/dtolnay/ryu"

[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",
    "--extern-html-root-url=alloc=https://doc.rust-lang.org",
    "--extern-html-root-url=std=https://doc.rust-lang.org",
]

[features]
small = []

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

[[example]]
name = "upstream_benchmark"
path = "examples/upstream_benchmark.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

[dev-dependencies.rand_xorshift]
version = "0.5"

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