# 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 = "2018"
rust-version = "1.36"
name = "ryu"
version = "1.0.18"
authors = ["David Tolnay <dtolnay@gmail.com>"]
build = false
exclude = [
    "build.rs",
    "performance.png",
    "chart/**",
]
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]
rustdoc-args = ["--generate-link-to-definition"]
targets = ["x86_64-unknown-linux-gnu"]

[lib]
name = "ryu"
path = "src/lib.rs"
doc-scrape-examples = false

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[features]
small = []
