| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.60.0" |
| 15 |
name = "lexical-util" |
| 16 |
version = "1.0.7" |
| 17 |
authors = ["Alex Huszagh <[email protected]>"] |
| 18 |
build = false |
| 19 |
exclude = [ |
| 20 |
"assets/*", |
| 21 |
"docs/*", |
| 22 |
"etc/*", |
| 23 |
"cargo-timing*.html", |
| 24 |
] |
| 25 |
autolib = false |
| 26 |
autobins = false |
| 27 |
autoexamples = false |
| 28 |
autotests = false |
| 29 |
autobenches = false |
| 30 |
description = "Shared utilities for lexical creates." |
| 31 |
readme = "README.md" |
| 32 |
keywords = ["no_std"] |
| 33 |
categories = [ |
| 34 |
"value-formatting", |
| 35 |
"encoding", |
| 36 |
"no-std", |
| 37 |
] |
| 38 |
license = "MIT/Apache-2.0" |
| 39 |
repository = "https://github.com/Alexhuszagh/rust-lexical" |
| 40 |
|
| 41 |
[package.metadata.docs.rs] |
| 42 |
features = [ |
| 43 |
"radix", |
| 44 |
"format", |
| 45 |
"write-integers", |
| 46 |
"write-floats", |
| 47 |
"parse-integers", |
| 48 |
"parse-floats", |
| 49 |
"f16", |
| 50 |
] |
| 51 |
rustdoc-args = [ |
| 52 |
"--cfg", |
| 53 |
"docsrs", |
| 54 |
] |
| 55 |
|
| •56 |
[dev-dependencies.quickcheck] |
| 57 |
version = "1.0.3" |
| 58 |
|
| 59 |
[features] |
| 60 |
compact = [] |
| 61 |
default = ["std"] |
| 62 |
f128 = [ |
| 63 |
"parse-floats", |
| 64 |
"write-floats", |
| 65 |
] |
| 66 |
f16 = [ |
| 67 |
"parse-floats", |
| 68 |
"write-floats", |
| 69 |
"float16", |
| 70 |
] |
| 71 |
format = [] |
| 72 |
lint = [] |
| 73 |
parse-floats = [] |
| 74 |
parse-integers = [] |
| 75 |
power-of-two = [] |
| 76 |
radix = ["power-of-two"] |
| 77 |
std = [] |
| 78 |
write-floats = [] |
| 79 |
write-integers = [] |
| 80 |
|
| 81 |
[lib] |
| 82 |
name = "lexical_util" |
| 83 |
path = "src/lib.rs" |
| 84 |
|
| 85 |
[[test]] |
| 86 |
name = "algorithm_tests" |
| 87 |
path = "tests/algorithm_tests.rs" |
| 88 |
|
| 89 |
[[test]] |
| 90 |
name = "ascii_tests" |
| 91 |
path = "tests/ascii_tests.rs" |
| 92 |
|
| 93 |
[[test]] |
| 94 |
name = "bf16_tests" |
| 95 |
path = "tests/bf16_tests.rs" |
| 96 |
|
| 97 |
[[test]] |
| 98 |
name = "digit_tests" |
| 99 |
path = "tests/digit_tests.rs" |
| 100 |
|
| 101 |
[[test]] |
| 102 |
name = "f16_tests" |
| 103 |
path = "tests/f16_tests.rs" |
| 104 |
|
| 105 |
[[test]] |
| 106 |
name = "feature_format_tests" |
| 107 |
path = "tests/feature_format_tests.rs" |
| 108 |
|
| 109 |
[[test]] |
| 110 |
name = "format_builder_tests" |
| 111 |
path = "tests/format_builder_tests.rs" |
| 112 |
|
| 113 |
[[test]] |
| 114 |
name = "format_flags_tests" |
| 115 |
path = "tests/format_flags_tests.rs" |
| 116 |
|
| 117 |
[[test]] |
| 118 |
name = "iterator_tests" |
| 119 |
path = "tests/iterator_tests.rs" |
| 120 |
|
| 121 |
[[test]] |
| 122 |
name = "not_feature_format_tests" |
| 123 |
path = "tests/not_feature_format_tests.rs" |
| 124 |
|
| 125 |
[[test]] |
| 126 |
name = "num_tests" |
| 127 |
path = "tests/num_tests.rs" |
| 128 |
|
| 129 |
[[test]] |
| 130 |
name = "skip_tests" |
| 131 |
path = "tests/skip_tests.rs" |
| 132 |
|
| 133 |
[dependencies.float16] |
| 134 |
version = "0.1.0" |
| 135 |
optional = true |