| # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| # |
| # When uploading crates to the registry Cargo will automatically |
| # "normalize" Cargo.toml files for maximal compatibility |
| # with all versions of Cargo and also rewrite `path` dependencies |
| # to registry (e.g., crates.io) dependencies. |
| # |
| # If you are reading this file be aware that the original Cargo.toml |
| # will likely look very different (and much more reasonable). |
| # See Cargo.toml.orig for the original contents. |
| |
| [package] |
| edition = "2021" |
| rust-version = "1.81" |
| name = "icu_capi" |
| version = "2.0.0-beta2" |
| authors = ["The ICU4X Project Developers"] |
| build = false |
| include = [ |
| "bindings/**/*", |
| "!bindings/dart/**/*", |
| "src/**/*", |
| "tests/**/*", |
| "Cargo.toml", |
| "LICENSE", |
| "README.md", |
| ] |
| autolib = false |
| autobins = false |
| autoexamples = false |
| autotests = false |
| autobenches = false |
| description = "C interface to ICU4X" |
| homepage = "https://icu4x.unicode.org" |
| readme = "README.md" |
| categories = ["internationalization"] |
| license = "Unicode-3.0" |
| repository = "https://github.com/unicode-org/icu4x" |
| |
| [package.metadata.cargo-all-features] |
| denylist = [ |
| "looping_panic_handler", |
| "libc_alloc", |
| ] |
| max_combination_size = 2 |
| |
| [package.metadata.docs.rs] |
| all-features = true |
| |
| [features] |
| any_provider = [] |
| buffer_provider = [ |
| "dep:icu_provider_blob", |
| "dep:serde", |
| "icu_calendar?/serde", |
| "icu_casemap?/serde", |
| "icu_collator?/serde", |
| "icu_datetime?/serde", |
| "icu_decimal?/serde", |
| "icu_list?/serde", |
| "icu_locale?/serde", |
| "icu_locale_core/serde", |
| "icu_normalizer?/serde", |
| "icu_plurals?/serde", |
| "icu_properties?/serde", |
| "icu_provider/serde", |
| "icu_provider_adapters/serde", |
| "icu_segmenter?/serde", |
| "icu_time?/serde", |
| "icu_experimental?/serde", |
| ] |
| calendar = [ |
| "dep:icu_calendar", |
| "dep:icu_time", |
| ] |
| casemap = ["dep:icu_casemap"] |
| collator = ["dep:icu_collator"] |
| compiled_data = [ |
| "icu_calendar?/compiled_data", |
| "icu_casemap?/compiled_data", |
| "icu_collator?/compiled_data", |
| "icu_datetime?/compiled_data", |
| "icu_decimal?/compiled_data", |
| "icu_list?/compiled_data", |
| "icu_locale?/compiled_data", |
| "icu_normalizer?/compiled_data", |
| "icu_plurals?/compiled_data", |
| "icu_properties?/compiled_data", |
| "icu_segmenter?/compiled_data", |
| "icu_time?/compiled_data", |
| "icu_experimental?/compiled_data", |
| ] |
| datetime = [ |
| "dep:icu_datetime", |
| "dep:icu_calendar", |
| "dep:icu_time", |
| "dep:icu_decimal", |
| "dep:icu_plurals", |
| "icu_datetime?/experimental", |
| ] |
| decimal = [ |
| "dep:icu_decimal", |
| "dep:fixed_decimal", |
| ] |
| default = [ |
| "compiled_data", |
| "default_components", |
| "logging", |
| "simple_logger", |
| "std", |
| ] |
| default_components = [ |
| "calendar", |
| "casemap", |
| "collator", |
| "datetime", |
| "decimal", |
| "list", |
| "locale", |
| "normalizer", |
| "plurals", |
| "properties", |
| "segmenter", |
| "timezone", |
| ] |
| experimental = ["dep:icu_experimental"] |
| libc_alloc = ["dep:libc_alloc"] |
| list = ["dep:icu_list"] |
| locale = ["dep:icu_locale"] |
| logging = [ |
| "icu_provider/logging", |
| "dep:log", |
| "diplomat-runtime/log", |
| "std", |
| ] |
| looping_panic_handler = [] |
| normalizer = [ |
| "dep:icu_normalizer", |
| "icu_normalizer?/utf8_iter", |
| "icu_normalizer?/utf16_iter", |
| ] |
| plurals = [ |
| "dep:icu_plurals", |
| "dep:fixed_decimal", |
| ] |
| properties = [ |
| "dep:icu_properties", |
| "dep:icu_collections", |
| "dep:unicode-bidi", |
| ] |
| provider_fs = [ |
| "dep:icu_provider_fs", |
| "buffer_provider", |
| "std", |
| ] |
| segmenter = ["dep:icu_segmenter"] |
| simple_logger = [ |
| "dep:simple_logger", |
| "logging", |
| ] |
| std = [] |
| timezone = [ |
| "dep:icu_time", |
| "dep:icu_calendar", |
| ] |
| |
| [lib] |
| name = "icu_capi" |
| path = "src/lib.rs" |
| |
| [dependencies.diplomat] |
| version = "0.10.0" |
| default-features = false |
| |
| [dependencies.diplomat-runtime] |
| version = "0.10.0" |
| default-features = false |
| |
| [dependencies.fixed_decimal] |
| version = "0.7.0" |
| features = ["ryu"] |
| optional = true |
| default-features = false |
| |
| [dependencies.icu_calendar] |
| version = "~2.0.0-beta2" |
| features = [ |
| "alloc", |
| "ixdtf", |
| ] |
| optional = true |
| default-features = false |
| |
| [dependencies.icu_casemap] |
| version = "~2.0.0-beta2" |
| optional = true |
| default-features = false |
| |
| [dependencies.icu_collator] |
| version = "~2.0.0-beta2" |
| optional = true |
| default-features = false |
| |
| [dependencies.icu_collections] |
| version = "~2.0.0-beta2" |
| optional = true |
| default-features = false |
| |
| [dependencies.icu_datetime] |
| version = "~2.0.0-beta2" |
| optional = true |
| default-features = false |
| |
| [dependencies.icu_decimal] |
| version = "~2.0.0-beta2" |
| optional = true |
| default-features = false |
| |
| [dependencies.icu_experimental] |
| version = "~0.3.0-beta2" |
| optional = true |
| default-features = false |
| |
| [dependencies.icu_list] |
| version = "~2.0.0-beta2" |
| optional = true |
| default-features = false |
| |
| [dependencies.icu_locale] |
| version = "~2.0.0-beta2" |
| optional = true |
| default-features = false |
| |
| [dependencies.icu_locale_core] |
| version = "2.0.0-beta2" |
| default-features = false |
| |
| [dependencies.icu_normalizer] |
| version = "~2.0.0-beta2" |
| optional = true |
| default-features = false |
| |
| [dependencies.icu_plurals] |
| version = "~2.0.0-beta2" |
| optional = true |
| default-features = false |
| |
| [dependencies.icu_properties] |
| version = "~2.0.0-beta2" |
| features = [ |
| "alloc", |
| "unicode_bidi", |
| ] |
| optional = true |
| default-features = false |
| |
| [dependencies.icu_provider] |
| version = "2.0.0-beta2" |
| default-features = false |
| |
| [dependencies.icu_provider_adapters] |
| version = "~2.0.0-beta2" |
| default-features = false |
| |
| [dependencies.icu_provider_blob] |
| version = "~2.0.0-beta2" |
| optional = true |
| default-features = false |
| |
| [dependencies.icu_segmenter] |
| version = "~2.0.0-beta2" |
| features = ["auto"] |
| optional = true |
| default-features = false |
| |
| [dependencies.icu_time] |
| version = "~2.0.0-beta2" |
| features = [ |
| "alloc", |
| "ixdtf", |
| ] |
| optional = true |
| default-features = false |
| |
| [dependencies.log] |
| version = "0.4.17" |
| optional = true |
| default-features = false |
| |
| [dependencies.potential_utf] |
| version = "0.1.1" |
| features = ["writeable"] |
| default-features = false |
| |
| [dependencies.serde] |
| version = "1.0.110" |
| optional = true |
| default-features = false |
| |
| [dependencies.tinystr] |
| version = "0.8.0" |
| default-features = false |
| |
| [dependencies.unicode-bidi] |
| version = "0.3.11" |
| optional = true |
| default-features = false |
| |
| [dependencies.writeable] |
| version = "0.6.0" |
| default-features = false |
| |
| [dependencies.zerovec] |
| version = "0.11.1" |
| default-features = false |
| |
| [target.'cfg(not(any(target_arch = "wasm32", target_os = "none")))'.dependencies.icu_provider_fs] |
| version = "~2.0.0-beta2" |
| optional = true |
| default-features = false |
| |
| [target.'cfg(not(target_arch = "wasm32"))'.dependencies.libc_alloc] |
| version = "1.0.6" |
| features = ["global"] |
| optional = true |
| default-features = false |
| |
| [target.'cfg(not(target_arch = "wasm32"))'.dependencies.simple_logger] |
| version = "4.0.0" |
| optional = true |