# 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.79"
name = "dragonbox_ecma"
version = "0.1.12"
authors = [
    "David Tolnay <dtolnay@gmail.com>",
    "magic-akari <akari.ccino@gmail.com>",
]
build = "build.rs"
exclude = [
    "performance.png",
    "chart/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast floating point to string conversion conforming to ECMAScript specification"
documentation = "https://docs.rs/dragonbox_ecma"
readme = "README.md"
keywords = ["float"]
categories = [
    "value-formatting",
    "no-std",
    "no-std::no-alloc",
]
license = "Apache-2.0 WITH LLVM-exception OR BSL-1.0"
repository = "https://github.com/magic-akari/dragonbox"

[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]
default = ["ecma"]
ecma = []
original_dragonbox = []

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

[[test]]
name = "binary64_test"
path = "tests/binary64_test.rs"
required-features = ["original_dragonbox"]

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

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

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

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