| 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 = "potential_utf" |
| 7 |
description = "Unvalidated string and character types" |
| 8 |
version = "0.1.4" |
| 9 |
rust-version = "1.82" |
| 10 |
authors.workspace = true |
| 11 |
edition.workspace = true |
| 12 |
repository.workspace = true |
| 13 |
homepage.workspace = true |
| 14 |
license.workspace = true |
| 15 |
categories.workspace = true |
| 16 |
include.workspace = true |
| 17 |
|
| 18 |
[dependencies] |
| 19 |
databake = { workspace = true, optional = true } |
| 20 |
serde_core = { workspace = true, optional = true } |
| 21 |
zerovec = { workspace = true, optional = true } |
| 22 |
writeable = { workspace = true, optional = true } |
| 23 |
|
| 24 |
[dev-dependencies] |
| 25 |
serde_json = { workspace = true } |
| 26 |
bincode = { workspace = true } |
| 27 |
|
| 28 |
[features] |
| 29 |
default = ["alloc"] |
| 30 |
alloc = ["serde_core?/alloc", "writeable/alloc", "zerovec?/alloc"] |
| 31 |
databake = ["dep:databake"] |
| 32 |
serde = ["dep:serde_core"] |
| 33 |
writeable = ["dep:writeable"] |
| 34 |
zerovec = ["dep:zerovec"] |