1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2021" 14rust-version = "1.81" 15name = "icu_casemap" 16version = "2.0.0-beta2" 17authors = ["The ICU4X Project Developers"] 18build = false 19include = [ 20 "data/**/*", 21 "src/**/*", 22 "examples/**/*", 23 "benches/**/*", 24 "tests/**/*", 25 "Cargo.toml", 26 "LICENSE", 27 "README.md", 28] 29autolib = false 30autobins = false 31autoexamples = false 32autotests = false 33autobenches = false 34description = "Unicode case mapping and folding algorithms" 35homepage = "https://icu4x.unicode.org" 36readme = "README.md" 37categories = ["internationalization"] 38license = "Unicode-3.0" 39repository = "https://github.com/unicode-org/icu4x" 40 41[package.metadata.cargo-all-features] 42skip_optional_dependencies = true 43 44[package.metadata.docs.rs] 45all-features = true 46 47[features] 48compiled_data = [ 49 "dep:icu_casemap_data", 50 "icu_properties/compiled_data", 51] 52datagen = [ 53 "serde", 54 "dep:databake", 55 "zerovec/databake", 56 "icu_collections/databake", 57] 58default = ["compiled_data"] 59serde = [ 60 "dep:serde", 61 "zerovec/serde", 62 "icu_collections/serde", 63 "icu_provider/serde", 64 "icu_properties/serde", 65 "potential_utf/serde", 66] 67 68[lib] 69name = "icu_casemap" 70path = "src/lib.rs" 71 72[[example]] 73name = "casemapping" 74path = "examples/casemapping.rs" 75 76[[test]] 77name = "conversions" 78path = "tests/conversions.rs" 79required-features = ["compiled_data"] 80 81[[test]] 82name = "gen_greek_to_me" 83path = "tests/gen_greek_to_me.rs" 84harness = false 85required-features = [ 86 "compiled_data", 87 "datagen", 88] 89 90[[bench]] 91name = "casemap" 92path = "benches/casemap.rs" 93harness = false 94required-features = ["compiled_data"] 95 96[dependencies.databake] 97version = "0.2.0" 98features = ["derive"] 99optional = true 100default-features = false 101 102[dependencies.displaydoc] 103version = "0.2.3" 104default-features = false 105 106[dependencies.icu_casemap_data] 107version = "~2.0.0-beta2" 108optional = true 109default-features = false 110 111[dependencies.icu_collections] 112version = "~2.0.0-beta2" 113features = ["alloc"] 114default-features = false 115 116[dependencies.icu_locale_core] 117version = "2.0.0-beta2" 118features = ["alloc"] 119default-features = false 120 121[dependencies.icu_properties] 122version = "~2.0.0-beta2" 123default-features = false 124 125[dependencies.icu_provider] 126version = "2.0.0-beta2" 127default-features = false 128 129[dependencies.potential_utf] 130version = "0.1.1" 131features = [ 132 "alloc", 133 "zerovec", 134] 135default-features = false 136 137[dependencies.serde] 138version = "1.0.110" 139features = [ 140 "derive", 141 "alloc", 142] 143optional = true 144default-features = false 145 146[dependencies.writeable] 147version = "0.6.0" 148default-features = false 149 150[dependencies.zerovec] 151version = "0.11.1" 152features = [ 153 "alloc", 154 "yoke", 155] 156default-features = false 157 158[dev-dependencies] 159 160[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion] 161version = "0.5.0" 162