178 lines
3.7 KiB
TOML
178 lines
3.7 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-core"
|
|
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 = "Lexical, to- and from-string conversion routines."
|
|
readme = "README.md"
|
|
keywords = [
|
|
"parsing",
|
|
"lexical",
|
|
"encoding",
|
|
"no_std",
|
|
]
|
|
categories = [
|
|
"parsing",
|
|
"encoding",
|
|
"no-std",
|
|
"value-formatting",
|
|
]
|
|
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 = [
|
|
"lexical-write-integer?/compact",
|
|
"lexical-write-float?/compact",
|
|
"lexical-parse-integer?/compact",
|
|
"lexical-parse-float?/compact",
|
|
]
|
|
default = [
|
|
"std",
|
|
"write-integers",
|
|
"write-floats",
|
|
"parse-integers",
|
|
"parse-floats",
|
|
]
|
|
f128 = [
|
|
"lexical-util/f128",
|
|
"lexical-parse-float?/f128",
|
|
"lexical-write-float?/f128",
|
|
]
|
|
f16 = [
|
|
"lexical-util/f16",
|
|
"lexical-parse-float?/f16",
|
|
"lexical-write-float?/f16",
|
|
]
|
|
floats = [
|
|
"parse-floats",
|
|
"write-floats",
|
|
]
|
|
format = [
|
|
"lexical-util/format",
|
|
"lexical-parse-integer?/format",
|
|
"lexical-parse-float?/format",
|
|
"lexical-write-integer?/format",
|
|
"lexical-write-float?/format",
|
|
]
|
|
integers = [
|
|
"parse-integers",
|
|
"write-integers",
|
|
]
|
|
lint = [
|
|
"lexical-util/lint",
|
|
"lexical-write-integer?/lint",
|
|
"lexical-write-float?/lint",
|
|
"lexical-parse-integer?/lint",
|
|
"lexical-parse-float?/lint",
|
|
]
|
|
parse = [
|
|
"parse-integers",
|
|
"parse-floats",
|
|
]
|
|
parse-floats = ["lexical-parse-float"]
|
|
parse-integers = ["lexical-parse-integer"]
|
|
power-of-two = [
|
|
"lexical-util/power-of-two",
|
|
"lexical-write-integer?/power-of-two",
|
|
"lexical-write-float?/power-of-two",
|
|
"lexical-parse-integer?/power-of-two",
|
|
"lexical-parse-float?/power-of-two",
|
|
]
|
|
radix = [
|
|
"power-of-two",
|
|
"lexical-util/radix",
|
|
"lexical-write-integer?/radix",
|
|
"lexical-write-float?/radix",
|
|
"lexical-parse-integer?/radix",
|
|
"lexical-parse-float?/radix",
|
|
]
|
|
std = [
|
|
"lexical-util/std",
|
|
"lexical-write-integer/std",
|
|
"lexical-write-float/std",
|
|
"lexical-parse-integer/std",
|
|
"lexical-parse-float/std",
|
|
]
|
|
write = [
|
|
"write-integers",
|
|
"write-floats",
|
|
]
|
|
write-floats = ["lexical-write-float"]
|
|
write-integers = ["lexical-write-integer"]
|
|
|
|
[lib]
|
|
name = "lexical_core"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "api_tests"
|
|
path = "tests/api_tests.rs"
|
|
|
|
[[test]]
|
|
name = "issue_97_tests"
|
|
path = "tests/issue_97_tests.rs"
|
|
|
|
[dependencies.lexical-parse-float]
|
|
version = "1.0.6"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.lexical-parse-integer]
|
|
version = "1.0.6"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.lexical-util]
|
|
version = "1.0.7"
|
|
default-features = false
|
|
|
|
[dependencies.lexical-write-float]
|
|
version = "1.0.6"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.lexical-write-integer]
|
|
version = "1.0.6"
|
|
optional = true
|
|
default-features = false
|