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]
6name = "writeable"
7description = "A more efficient alternative to fmt::Display"
8version = "0.5.5"
9
10authors.workspace = true
11edition.workspace = true
12include.workspace = true
13license.workspace = true
14repository.workspace = true
15rust-version.workspace = true
16
17[package.metadata.workspaces]
18independent = true
19
20[package.metadata.docs.rs]
21all-features = true
22
23[dependencies]
24either = { workspace = true, optional = true }
25
26[dev-dependencies]
27icu_benchmark_macros = { path = "../../tools/benchmark/macros" }
28rand = { workspace = true, features = ["small_rng"] }
29
30[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
31criterion = { workspace = true }
32
33[features]
34bench = []
35either = ["dep:either"]
36
37[package.metadata.cargo-all-features]
38# Bench feature gets tested separately and is only relevant for CI
39denylist = ["bench"]
40
41[lib]
42bench = false # This option is required for Benchmark CI
43
44[[bench]]
45name = "writeable"
46harness = false
47