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_capi" 16version = "2.0.0-beta2" 17authors = ["The ICU4X Project Developers"] 18build = false 19include = [ 20 "bindings/**/*", 21 "!bindings/dart/**/*", 22 "src/**/*", 23 "tests/**/*", 24 "Cargo.toml", 25 "LICENSE", 26 "README.md", 27] 28autolib = false 29autobins = false 30autoexamples = false 31autotests = false 32autobenches = false 33description = "C interface to ICU4X" 34homepage = "https://icu4x.unicode.org" 35readme = "README.md" 36categories = ["internationalization"] 37license = "Unicode-3.0" 38repository = "https://github.com/unicode-org/icu4x" 39 40[package.metadata.cargo-all-features] 41denylist = [ 42 "looping_panic_handler", 43 "libc_alloc", 44] 45max_combination_size = 2 46 47[package.metadata.docs.rs] 48all-features = true 49 50[features] 51any_provider = [] 52buffer_provider = [ 53 "dep:icu_provider_blob", 54 "dep:serde", 55 "icu_calendar?/serde", 56 "icu_casemap?/serde", 57 "icu_collator?/serde", 58 "icu_datetime?/serde", 59 "icu_decimal?/serde", 60 "icu_list?/serde", 61 "icu_locale?/serde", 62 "icu_locale_core/serde", 63 "icu_normalizer?/serde", 64 "icu_plurals?/serde", 65 "icu_properties?/serde", 66 "icu_provider/serde", 67 "icu_provider_adapters/serde", 68 "icu_segmenter?/serde", 69 "icu_time?/serde", 70 "icu_experimental?/serde", 71] 72calendar = [ 73 "dep:icu_calendar", 74 "dep:icu_time", 75] 76casemap = ["dep:icu_casemap"] 77collator = ["dep:icu_collator"] 78compiled_data = [ 79 "icu_calendar?/compiled_data", 80 "icu_casemap?/compiled_data", 81 "icu_collator?/compiled_data", 82 "icu_datetime?/compiled_data", 83 "icu_decimal?/compiled_data", 84 "icu_list?/compiled_data", 85 "icu_locale?/compiled_data", 86 "icu_normalizer?/compiled_data", 87 "icu_plurals?/compiled_data", 88 "icu_properties?/compiled_data", 89 "icu_segmenter?/compiled_data", 90 "icu_time?/compiled_data", 91 "icu_experimental?/compiled_data", 92] 93datetime = [ 94 "dep:icu_datetime", 95 "dep:icu_calendar", 96 "dep:icu_time", 97 "dep:icu_decimal", 98 "dep:icu_plurals", 99 "icu_datetime?/experimental", 100] 101decimal = [ 102 "dep:icu_decimal", 103 "dep:fixed_decimal", 104] 105default = [ 106 "compiled_data", 107 "default_components", 108 "logging", 109 "simple_logger", 110 "std", 111] 112default_components = [ 113 "calendar", 114 "casemap", 115 "collator", 116 "datetime", 117 "decimal", 118 "list", 119 "locale", 120 "normalizer", 121 "plurals", 122 "properties", 123 "segmenter", 124 "timezone", 125] 126experimental = ["dep:icu_experimental"] 127libc_alloc = ["dep:libc_alloc"] 128list = ["dep:icu_list"] 129locale = ["dep:icu_locale"] 130logging = [ 131 "icu_provider/logging", 132 "dep:log", 133 "diplomat-runtime/log", 134 "std", 135] 136looping_panic_handler = [] 137normalizer = [ 138 "dep:icu_normalizer", 139 "icu_normalizer?/utf8_iter", 140 "icu_normalizer?/utf16_iter", 141] 142plurals = [ 143 "dep:icu_plurals", 144 "dep:fixed_decimal", 145] 146properties = [ 147 "dep:icu_properties", 148 "dep:icu_collections", 149 "dep:unicode-bidi", 150] 151provider_fs = [ 152 "dep:icu_provider_fs", 153 "buffer_provider", 154 "std", 155] 156segmenter = ["dep:icu_segmenter"] 157simple_logger = [ 158 "dep:simple_logger", 159 "logging", 160] 161std = [] 162timezone = [ 163 "dep:icu_time", 164 "dep:icu_calendar", 165] 166 167[lib] 168name = "icu_capi" 169path = "src/lib.rs" 170 171[dependencies.diplomat] 172version = "0.10.0" 173default-features = false 174 175[dependencies.diplomat-runtime] 176version = "0.10.0" 177default-features = false 178 179[dependencies.fixed_decimal] 180version = "0.7.0" 181features = ["ryu"] 182optional = true 183default-features = false 184 185[dependencies.icu_calendar] 186version = "~2.0.0-beta2" 187features = [ 188 "alloc", 189 "ixdtf", 190] 191optional = true 192default-features = false 193 194[dependencies.icu_casemap] 195version = "~2.0.0-beta2" 196optional = true 197default-features = false 198 199[dependencies.icu_collator] 200version = "~2.0.0-beta2" 201optional = true 202default-features = false 203 204[dependencies.icu_collections] 205version = "~2.0.0-beta2" 206optional = true 207default-features = false 208 209[dependencies.icu_datetime] 210version = "~2.0.0-beta2" 211optional = true 212default-features = false 213 214[dependencies.icu_decimal] 215version = "~2.0.0-beta2" 216optional = true 217default-features = false 218 219[dependencies.icu_experimental] 220version = "~0.3.0-beta2" 221optional = true 222default-features = false 223 224[dependencies.icu_list] 225version = "~2.0.0-beta2" 226optional = true 227default-features = false 228 229[dependencies.icu_locale] 230version = "~2.0.0-beta2" 231optional = true 232default-features = false 233 234[dependencies.icu_locale_core] 235version = "2.0.0-beta2" 236default-features = false 237 238[dependencies.icu_normalizer] 239version = "~2.0.0-beta2" 240optional = true 241default-features = false 242 243[dependencies.icu_plurals] 244version = "~2.0.0-beta2" 245optional = true 246default-features = false 247 248[dependencies.icu_properties] 249version = "~2.0.0-beta2" 250features = [ 251 "alloc", 252 "unicode_bidi", 253] 254optional = true 255default-features = false 256 257[dependencies.icu_provider] 258version = "2.0.0-beta2" 259default-features = false 260 261[dependencies.icu_provider_adapters] 262version = "~2.0.0-beta2" 263default-features = false 264 265[dependencies.icu_provider_blob] 266version = "~2.0.0-beta2" 267optional = true 268default-features = false 269 270[dependencies.icu_segmenter] 271version = "~2.0.0-beta2" 272features = ["auto"] 273optional = true 274default-features = false 275 276[dependencies.icu_time] 277version = "~2.0.0-beta2" 278features = [ 279 "alloc", 280 "ixdtf", 281] 282optional = true 283default-features = false 284 285[dependencies.log] 286version = "0.4.17" 287optional = true 288default-features = false 289 290[dependencies.potential_utf] 291version = "0.1.1" 292features = ["writeable"] 293default-features = false 294 295[dependencies.serde] 296version = "1.0.110" 297optional = true 298default-features = false 299 300[dependencies.tinystr] 301version = "0.8.0" 302default-features = false 303 304[dependencies.unicode-bidi] 305version = "0.3.11" 306optional = true 307default-features = false 308 309[dependencies.writeable] 310version = "0.6.0" 311default-features = false 312 313[dependencies.zerovec] 314version = "0.11.1" 315default-features = false 316 317[target.'cfg(not(any(target_arch = "wasm32", target_os = "none")))'.dependencies.icu_provider_fs] 318version = "~2.0.0-beta2" 319optional = true 320default-features = false 321 322[target.'cfg(not(target_arch = "wasm32"))'.dependencies.libc_alloc] 323version = "1.0.6" 324features = ["global"] 325optional = true 326default-features = false 327 328[target.'cfg(not(target_arch = "wasm32"))'.dependencies.simple_logger] 329version = "4.0.0" 330optional = true 331