124 lines
2.4 KiB
TOML
124 lines
2.4 KiB
TOML
# 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.60.0"
|
|
name = "lexical-write-float"
|
|
version = "1.0.6"
|
|
authors = ["Alex Huszagh <ahuszagh@gmail.com>"]
|
|
build = false
|
|
exclude = [
|
|
"assets/*",
|
|
"docs/*",
|
|
"etc/*",
|
|
"cargo-timing*.html",
|
|
]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Efficient formatting of floats to strings."
|
|
readme = "README.md"
|
|
keywords = [
|
|
"encoding",
|
|
"lexical",
|
|
"no_std",
|
|
]
|
|
categories = [
|
|
"value-formatting",
|
|
"encoding",
|
|
"no-std",
|
|
]
|
|
license = "MIT/Apache-2.0"
|
|
repository = "https://github.com/Alexhuszagh/rust-lexical"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = [
|
|
"radix",
|
|
"format",
|
|
"f16",
|
|
]
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[features]
|
|
compact = [
|
|
"lexical-util/compact",
|
|
"lexical-write-integer/compact",
|
|
]
|
|
default = ["std"]
|
|
f128 = ["lexical-util/f128"]
|
|
f16 = ["lexical-util/f16"]
|
|
format = ["lexical-util/format"]
|
|
lint = [
|
|
"lexical-util/lint",
|
|
"lexical-write-integer/lint",
|
|
]
|
|
power-of-two = [
|
|
"lexical-util/power-of-two",
|
|
"lexical-write-integer/power-of-two",
|
|
]
|
|
radix = [
|
|
"lexical-util/radix",
|
|
"lexical-write-integer/radix",
|
|
"power-of-two",
|
|
]
|
|
std = [
|
|
"lexical-util/std",
|
|
"lexical-write-integer/std",
|
|
]
|
|
|
|
[lib]
|
|
name = "lexical_write_float"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "algorithm_tests"
|
|
path = "tests/algorithm_tests.rs"
|
|
|
|
[[test]]
|
|
name = "api_tests"
|
|
path = "tests/api_tests.rs"
|
|
|
|
[[test]]
|
|
name = "binary_tests"
|
|
path = "tests/binary_tests.rs"
|
|
|
|
[[test]]
|
|
name = "compact_tests"
|
|
path = "tests/compact_tests.rs"
|
|
|
|
[[test]]
|
|
name = "hex_tests"
|
|
path = "tests/hex_tests.rs"
|
|
|
|
[[test]]
|
|
name = "issue_94_tests"
|
|
path = "tests/issue_94_tests.rs"
|
|
|
|
[[test]]
|
|
name = "options_tests"
|
|
path = "tests/options_tests.rs"
|
|
|
|
[dependencies.lexical-util]
|
|
version = "1.0.7"
|
|
features = ["write-floats"]
|
|
default-features = false
|
|
|
|
[dependencies.lexical-write-integer]
|
|
version = "1.0.6"
|
|
features = []
|
|
default-features = false
|