Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/rust/icu_calendar/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 2 kB image not shown  

Quelle  Cargo.toml.orig   Sprache: unbekannt

 
Spracherkennung für: .orig vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

# 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 = "icu_calendar"
description = "Date APIs for Gregorian and non-Gregorian calendars"
version.workspace = true

authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
include.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true

[package.metadata.docs.rs]
all-features = true

[dependencies]
calendrical_calculations = { workspace = true }
displaydoc = { workspace = true }
icu_provider = { workspace = true }
icu_locale_core = { workspace = true }
ixdtf = { workspace = true, optional = true }
tinystr = { workspace = true, features = ["zerovec"] }
zerovec = { workspace = true, features = ["derive"] }

databake = { workspace = true, features = ["derive"], optional = true }
serde = { workspace = true, features = ["derive"], optional = true }

icu_calendar_data = { workspace = true, optional = true }
icu_locale = { workspace = true, optional = true }

[dev-dependencies]
icu_provider = { path = "../../provider/core", features = ["logging"] }
icu = { path = "../../components/icu", default-features = false }
itertools = { workspace = true }
serde = { workspace = true, features = ["derive", "alloc"] }
serde_json = { workspace = true }
simple_logger = { workspace = true }
ureq = { workspace = true }


[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = { workspace = true }


[features]
default = ["compiled_data", "ixdtf"]
ixdtf = ["dep:ixdtf"]
logging = ["calendrical_calculations/logging"]
serde = ["dep:serde", "zerovec/serde", "tinystr/serde", "icu_provider/serde"]
datagen = ["serde", "dep:databake", "zerovec/databake", "tinystr/databake", "alloc", "icu_provider/export"]
compiled_data = ["dep:icu_calendar_data", "dep:icu_locale", "icu_locale?/compiled_data", "icu_provider/baked"]
unstable = []

alloc = ["icu_locale_core/alloc", "tinystr/alloc", "serde?/alloc"]

[[bench]]
name = "date"
harness = false

[[bench]]
name = "convert"
harness = false

[[test]]
name = "arithmetic"
required-features = ["ixdtf"]

[package.metadata.cargo-semver-checks.lints]
workspace = true

[Dauer der Verarbeitung: 0.18 Sekunden, vorverarbeitet 2026-08-25]