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QC 2Z4EGCWQV2GF3CZC6IBGLTOS6JN3NMNBNQMUOZTIOCRO54VB6DSQC use std::error::Error;use icu_datagen::BakedOptions;use icu_datagen::CldrLocaleSubset;use icu_datagen::Out;use icu_datagen::SourceData;use icu_decimal::provider::DecimalSymbolsV1Marker;use icu_locid::langid;use icu_provider::marker::KeyedDataMarker as _;fn main() -> Result<(), Box<dyn Error>> {let source_data = SourceData::default().with_cldr_for_tag(SourceData::LATEST_TESTED_CLDR_TAG, CldrLocaleSubset::Modern)?.with_icuexport_for_tag(SourceData::LATEST_TESTED_ICUEXPORT_TAG)?;let mod_directory = {let mut package_path = cargo_px_env::generated_pkg_manifest_path()?;package_path.pop();package_path.push("src");package_path.push("icu_data");package_path};let outputs = vec![{let mut options = BakedOptions::default();options.pretty = true;options.use_separate_crates = true;options.overwrite = true;Out::Baked {mod_directory,options,}}];icu_datagen::datagen(Some(&[langid!("en")]),&[DecimalSymbolsV1Marker::KEY],&source_data,outputs,)?;Ok(())}
[package]name = "beancount-importers-generators"publish = falseedition.workspace = truerust-version.workspace = trueversion.workspace = true[dependencies]# inherited dependenciescamino.workspace = truecargo_px_env.workspace = trueicu_datagen.workspace = trueicu_decimal.workspace = trueicu_locid.workspace = trueicu_provider.workspace = trueicu_testdata.workspace = true
//! Build scriptuse icu_datagen::BakedOptions;use std::error::Error;use icu_datagen::CldrLocaleSubset;use icu_datagen::Out;use icu_datagen::SourceData;use icu_decimal::provider::DecimalSymbolsV1Marker;use icu_locid::langid;use icu_provider::marker::KeyedDataMarker as _;use std::path::PathBuf;// Prevent rerunning unless build script changesprintln!("cargo:rerun-if-changed=build.rs");let source_data = SourceData::default()icu_datagen::datagen(Some(&[langid!("en")]),&[DecimalSymbolsV1Marker::KEY],&source_data,}outputs,)?;Ok(()).with_cldr_for_tag(SourceData::LATEST_TESTED_CLDR_TAG, CldrLocaleSubset::Modern)?.with_icuexport_for_tag(SourceData::LATEST_TESTED_ICUEXPORT_TAG)?;let outputs = vec![{let mut options = BakedOptions::default();options.pretty = true;options.use_separate_crates = true;options.overwrite = true;Out::Baked {mod_directory: PathBuf::from("src/icu_data/"),options,}}];fn main() -> Result<(), Box<dyn Error>> {
bstr.workspace = truefixed_decimal.workspace = trueicu_decimal.workspace = trueicu_locid.workspace = trueicu_provider.workspace = truelitemap.workspace = trueonce_cell.workspace = truerayon.workspace = truerust_decimal.workspace = true
bstr.workspace = truefixed_decimal.workspace = trueicu_decimal.workspace = trueicu_locid.workspace = trueicu_provider.workspace = truelitemap.workspace = trueonce_cell.workspace = truerayon.workspace = truerust_decimal.workspace = trueserde.workspace = true
[build-dependencies]# Inherited dependenciesicu_datagen.workspace = trueicu_decimal.workspace = trueicu_locid.workspace = trueicu_provider.workspace = true
[package.metadata.px.generate]# The generator is a binary in the current workspace.# It's the only generator type we support at the moment.generator_type = "cargo_workspace_binary"# The name of the binary.generator_name = "icu-data"
arrayvec = "0.7.2"bstr = "1.4.0"clap-verbosity-flag = "2.0.1"color-eyre = "0.6.2"csv = "1.2.1"delegate = "0.9.0"extend = "1.2.0"fixed_decimal = "0.5.3"hard-xml = "1.21.0"icu_datagen = "1.2.5"icu_decimal = "1.2.0"icu_locid = "1.2.0"icu_provider = "1.2.0"icu_testdata = "1.2.0"insta = "1.29.0"inventory = "0.3.5"itertools = "0.10.5"lazy-regex = "2.5.0"linkme = "0.3.9"litemap = "0.7.0"momo = "0.2.2"miette = "5.8.0"once_cell = "1.17.1"pretty_assertions = "1.3.0"proptest = "1.1.0"rayon = "1.7.0"regex = "1.8.1"ron = "0.8.0"rust_decimal = "1.29.1"rust_decimal_macros = "1.29.1"serde_json = "1.0.96"snafu = "0.7.4"static_assertions = "1.1.0"tap = "1.0.1"test-case = "3.1.0"tracing = "0.1.37"tracing-error = "0.2.0"tracing-log = "0.1.3"typetag = "0.2.8"
arrayvec = "0.7.2"beef = "0.5.2"bstr = "1.4.0"cargo_px_env = "0.1.0"clap-verbosity-flag = "2.0.1"color-eyre = "0.6.2"csv = "1.2.1"delegate = "0.9.0"extend = "1.2.0"fixed_decimal = "0.5.3"hard-xml = "1.21.0"icu_datagen = "1.2.5"icu_decimal = "1.2.0"icu_locid = "1.2.0"icu_provider = "1.2.0"icu_testdata = "1.2.0"insta = "1.29.0"inventory = "0.3.5"itertools = "0.10.5"lazy-regex = "2.5.0"linkme = "0.3.9"litemap = "0.7.0"miette = "5.8.0"momo = "0.2.2"once_cell = "1.17.1"pretty_assertions = "1.3.0"proptest = "1.1.0"rayon = "1.7.0"regex = "1.8.1"ron = "0.8.0"rust_decimal = "1.29.1"rust_decimal_macros = "1.29.1"serde_json = "1.0.96"snafu = "0.7.4"static_assertions = "1.1.0"tap = "1.0.1"test-case = "3.1.0"tracing = "0.1.37"tracing-error = "0.2.0"tracing-log = "0.1.3"typetag = "0.2.8"