| 1 |
# This file is part of ICU4X. For terms of use, please see the file |
| 2 |
# called LICENSE at the top level of the ICU4X source tree |
| 3 |
# (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). |
| 4 |
|
| 5 |
[package] |
| 6 |
name = "writeable" |
| 7 |
description = "A more efficient alternative to fmt::Display" |
| 8 |
version = "0.6.2" |
| 9 |
|
| 10 |
authors.workspace = true |
| 11 |
edition.workspace = true |
| 12 |
include.workspace = true |
| 13 |
license.workspace = true |
| 14 |
repository.workspace = true |
| 15 |
rust-version = "1.82" |
| 16 |
|
| 17 |
[package.metadata.workspaces] |
| 18 |
independent = true |
| 19 |
|
| 20 |
[package.metadata.docs.rs] |
| 21 |
all-features = true |
| 22 |
|
| 23 |
[dependencies] |
| 24 |
either = { workspace = true, optional = true } |
| 25 |
|
| 26 |
[dev-dependencies] |
| 27 |
icu_benchmark_macros = { path = "../../tools/benchmark/macros" } |
| 28 |
rand = { workspace = true, features = ["small_rng"] } |
| 29 |
|
| 30 |
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] |
| 31 |
criterion = { workspace = true } |
| 32 |
|
| 33 |
[features] |
| 34 |
default = ["alloc"] |
| 35 |
either = ["dep:either"] |
| 36 |
alloc = [] |
| 37 |
|
| 38 |
[lib] |
| 39 |
bench = false # This option is required for Benchmark CI |
| 40 |
|
| 41 |
[[bench]] |
| 42 |
name = "writeable" |
| 43 |
harness = false |