49 lines
1.3 KiB
TOML
49 lines
1.3 KiB
TOML
[package]
|
|
authors = ["Alex Huszagh <ahuszagh@gmail.com>"]
|
|
autobenches = false
|
|
categories = ["value-formatting", "encoding", "no-std"]
|
|
description = "Efficient formatting of integers to strings."
|
|
edition = "2021"
|
|
keywords = ["encoding", "lexical", "no_std"]
|
|
license = "MIT/Apache-2.0"
|
|
name = "lexical-write-integer"
|
|
readme = "README.md"
|
|
repository = "https://github.com/Alexhuszagh/rust-lexical"
|
|
version = "1.0.6"
|
|
rust-version = "1.60.0"
|
|
exclude = [
|
|
"assets/*",
|
|
"docs/*",
|
|
"etc/*",
|
|
"cargo-timing*.html"
|
|
]
|
|
|
|
[dependencies.lexical-util]
|
|
version = "1.0.7"
|
|
path = "../lexical-util"
|
|
default-features = false
|
|
features = ["write-integers"]
|
|
|
|
[features]
|
|
default = ["std"]
|
|
# Use the standard library.
|
|
std = ["lexical-util/std"]
|
|
# Add support for writing power-of-two integer strings.
|
|
power-of-two = ["lexical-util/power-of-two"]
|
|
# Add support for writing non-decimal integer strings.
|
|
radix = ["lexical-util/radix", "power-of-two"]
|
|
# Add support for writing custom integer formats.
|
|
format = ["lexical-util/format"]
|
|
# Reduce code size at the cost of performance.
|
|
compact = ["lexical-util/compact"]
|
|
|
|
# INTERNAL ONLY
|
|
# -------------
|
|
# Internal only features. These are not meant to be used directly.
|
|
# Enable the lint checks.
|
|
lint = ["lexical-util/lint"]
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["radix", "format"]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|