| # This file is part of ICU4X. For terms of use, please see the file | |
| # called LICENSE at the top level of the ICU4X source tree | |
| # (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). | |
| [package] | |
| name = "writeable" | |
| description = "A more efficient alternative to fmt::Display" | |
| version = "0.6.4" | |
| keywords = ["formatting", "write", "string", "no-std"] | |
| authors.workspace = true | |
| edition = "2021" | |
| include.workspace = true | |
| license.workspace = true | |
| repository.workspace = true | |
| rust-version = "1.82" | |
| [package.metadata.workspaces] | |
| independent = true | |
| [package.metadata.docs.rs] | |
| all-features = true | |
| [dependencies] | |
| either = { workspace = true, optional = true } | |
| [dev-dependencies] | |
| icu_benchmark_macros = { path = "../../tools/benchmark/macros" } | |
| rand = { workspace = true, features = ["small_rng"] } | |
| [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] | |
| criterion = { workspace = true } | |
| [features] | |
| default = ["alloc"] | |
| either = ["dep:either"] | |
| alloc = [] | |
| [lib] | |
| bench = false # This option is required for Benchmark CI | |
| [[bench]] | |
| name = "writeable" | |
| harness = false | |
| [lints] | |
| workspace = true |