Files
2026-08-01 16:11:49 +03:00

133 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-util"
version = "1.0.7"
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 = "Shared utilities for lexical creates."
readme = "README.md"
keywords = ["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",
"write-integers",
"write-floats",
"parse-integers",
"parse-floats",
"f16",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
compact = []
default = ["std"]
f128 = [
"parse-floats",
"write-floats",
]
f16 = [
"parse-floats",
"write-floats",
"float16",
]
format = []
lint = []
parse-floats = []
parse-integers = []
power-of-two = []
radix = ["power-of-two"]
std = []
write-floats = []
write-integers = []
[lib]
name = "lexical_util"
path = "src/lib.rs"
[[test]]
name = "algorithm_tests"
path = "tests/algorithm_tests.rs"
[[test]]
name = "ascii_tests"
path = "tests/ascii_tests.rs"
[[test]]
name = "bf16_tests"
path = "tests/bf16_tests.rs"
[[test]]
name = "digit_tests"
path = "tests/digit_tests.rs"
[[test]]
name = "f16_tests"
path = "tests/f16_tests.rs"
[[test]]
name = "feature_format_tests"
path = "tests/feature_format_tests.rs"
[[test]]
name = "format_builder_tests"
path = "tests/format_builder_tests.rs"
[[test]]
name = "format_flags_tests"
path = "tests/format_flags_tests.rs"
[[test]]
name = "iterator_tests"
path = "tests/iterator_tests.rs"
[[test]]
name = "not_feature_format_tests"
path = "tests/not_feature_format_tests.rs"
[[test]]
name = "num_tests"
path = "tests/num_tests.rs"
[[test]]
name = "skip_tests"
path = "tests/skip_tests.rs"
[dependencies.float16]
version = "0.1.0"
optional = true