icu_normalizer_data
Advanced tools
| { | ||
| "git": { | ||
| "sha1": "38a49da495248dd1ded84cf306e4ca42e64d5bb3" | ||
| }, | ||
| "path_in_vcs": "provider/data/normalizer" | ||
| } |
| // 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 ). | ||
| fn main() { | ||
| if std::env::var("ICU4X_DATA_DIR").is_ok() { | ||
| println!("cargo:rustc-cfg=icu4x_custom_data"); | ||
| } | ||
| println!("cargo:rerun-if-env-changed=ICU4X_DATA_DIR"); | ||
| println!("cargo:rustc-check-cfg=cfg(icu4c_enable_renaming)"); | ||
| } |
| # This file is automatically @generated by Cargo. | ||
| # It is not intended for manual editing. | ||
| version = 3 | ||
| [[package]] | ||
| name = "icu_normalizer_data" | ||
| version = "2.1.1" |
| # 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.83" | ||
| name = "icu_normalizer_data" | ||
| version = "2.1.1" | ||
| authors = ["The ICU4X Project Developers"] | ||
| build = "build.rs" | ||
| include = [ | ||
| "data/**/*", | ||
| "src/**/*", | ||
| "examples/**/*", | ||
| "benches/**/*", | ||
| "tests/**/*", | ||
| "Cargo.toml", | ||
| "LICENSE", | ||
| "README.md", | ||
| "build.rs", | ||
| ] | ||
| autolib = false | ||
| autobins = false | ||
| autoexamples = false | ||
| autotests = false | ||
| autobenches = false | ||
| description = "Data for the icu_normalizer crate" | ||
| homepage = "https://icu4x.unicode.org" | ||
| readme = "README.md" | ||
| categories = ["internationalization"] | ||
| license = "Unicode-3.0" | ||
| repository = "https://github.com/unicode-org/icu4x" | ||
| [package.metadata.sources.cldr] | ||
| tagged = "48.0.0" | ||
| [package.metadata.sources.icuexport] | ||
| tagged = "release-78.1rc" | ||
| [package.metadata.sources.segmenter_lstm] | ||
| tagged = "v0.1.0" | ||
| [lib] | ||
| name = "icu_normalizer_data" | ||
| path = "src/lib.rs" | ||
| [dependencies] | ||
| [lints.rust.unexpected_cfgs] | ||
| level = "warn" | ||
| priority = 0 | ||
| check-cfg = ["cfg(icu4x_custom_data)"] |
Sorry, the diff of this file is not supported yet
| // @generated | ||
| include!("normalizer_nfd_tables_v1.rs.data"); | ||
| include!("normalizer_nfd_supplement_v1.rs.data"); | ||
| include!("normalizer_nfkd_data_v1.rs.data"); | ||
| include!("normalizer_nfkd_tables_v1.rs.data"); | ||
| include!("normalizer_nfc_v1.rs.data"); | ||
| include!("normalizer_nfd_data_v1.rs.data"); | ||
| include!("normalizer_uts46_data_v1.rs.data"); | ||
| /// Marks a type as a data provider. You can then use macros like | ||
| /// `impl_core_helloworld_v1` to add implementations. | ||
| /// | ||
| /// ```ignore | ||
| /// struct MyProvider; | ||
| /// const _: () = { | ||
| /// include!("path/to/generated/macros.rs"); | ||
| /// make_provider!(MyProvider); | ||
| /// impl_core_helloworld_v1!(MyProvider); | ||
| /// } | ||
| /// ``` | ||
| #[doc(hidden)] | ||
| #[macro_export] | ||
| macro_rules! __make_provider { | ||
| ($ name : ty) => { | ||
| #[clippy::msrv = "1.83"] | ||
| impl $name { | ||
| #[allow(dead_code)] | ||
| pub(crate) const MUST_USE_MAKE_PROVIDER_MACRO: () = (); | ||
| } | ||
| icu_provider::marker::impl_data_provider_never_marker!($name); | ||
| }; | ||
| } | ||
| #[doc(inline)] | ||
| pub use __make_provider as make_provider; | ||
| /// This macro requires the following crates: | ||
| /// * `icu` | ||
| /// * `icu_provider` | ||
| /// * `zerovec` | ||
| #[allow(unused_macros)] | ||
| macro_rules! impl_data_provider { | ||
| ($ provider : ty) => { | ||
| make_provider!($provider); | ||
| impl_normalizer_nfd_tables_v1!($provider); | ||
| impl_normalizer_nfd_supplement_v1!($provider); | ||
| impl_normalizer_nfkd_data_v1!($provider); | ||
| impl_normalizer_nfkd_tables_v1!($provider); | ||
| impl_normalizer_nfc_v1!($provider); | ||
| impl_normalizer_nfd_data_v1!($provider); | ||
| impl_normalizer_uts46_data_v1!($provider); | ||
| }; | ||
| } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
| UNICODE LICENSE V3 | ||
| COPYRIGHT AND PERMISSION NOTICE | ||
| Copyright © 2020-2024 Unicode, Inc. | ||
| NOTICE TO USER: Carefully read the following legal agreement. BY | ||
| DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR | ||
| SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE | ||
| TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT | ||
| DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. | ||
| Permission is hereby granted, free of charge, to any person obtaining a | ||
| copy of data files and any associated documentation (the "Data Files") or | ||
| software and any associated documentation (the "Software") to deal in the | ||
| Data Files or Software without restriction, including without limitation | ||
| the rights to use, copy, modify, merge, publish, distribute, and/or sell | ||
| copies of the Data Files or Software, and to permit persons to whom the | ||
| Data Files or Software are furnished to do so, provided that either (a) | ||
| this copyright and permission notice appear with all copies of the Data | ||
| Files or Software, or (b) this copyright and permission notice appear in | ||
| associated Documentation. | ||
| THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY | ||
| KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF | ||
| THIRD PARTY RIGHTS. | ||
| IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE | ||
| BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, | ||
| OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, | ||
| WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, | ||
| ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA | ||
| FILES OR SOFTWARE. | ||
| Except as contained in this notice, the name of a copyright holder shall | ||
| not be used in advertising or otherwise to promote the sale, use or other | ||
| dealings in these Data Files or Software without prior written | ||
| authorization of the copyright holder. | ||
| SPDX-License-Identifier: Unicode-3.0 | ||
| — | ||
| Portions of ICU4X may have been adapted from ICU4C and/or ICU4J. | ||
| ICU 1.8.1 to ICU 57.1 © 1995-2016 International Business Machines Corporation and others. |
| # icu_normalizer_data [](https://crates.io/crates/icu_normalizer_data) | ||
| <!-- cargo-rdme start --> | ||
| Data for the `icu_normalizer` crate | ||
| This data was generated with CLDR version 48.0.0, ICU version release-78.1rc, and | ||
| LSTM segmenter version v0.1.0. | ||
| <!-- cargo-rdme end --> | ||
| ## More Information | ||
| For more information on development, authorship, contributing etc. please visit [`ICU4X home page`](https://github.com/unicode-org/icu4x). |
| // 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 ). | ||
| //! Data for the `icu_normalizer` crate | ||
| //! | ||
| //! This data was generated with CLDR version 48.0.0, ICU version release-78.1rc, and | ||
| //! LSTM segmenter version v0.1.0. | ||
| #![no_std] | ||
| // The source is not readable and is massive as HTML. | ||
| #![doc(html_no_source)] | ||
| #[cfg(icu4x_custom_data)] | ||
| include!(concat!(core::env!("ICU4X_DATA_DIR"), "/mod.rs")); | ||
| #[cfg(not(icu4x_custom_data))] | ||
| include!("../data/mod.rs"); |
| { | ||
| "git": { | ||
| "sha1": "29dfe2790b6cfdab94ca6a6b69f58ce54802dbf7" | ||
| }, | ||
| "path_in_vcs": "provider/data/normalizer" | ||
| } |
| // 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 ). | ||
| fn main() { | ||
| if std::env::var("ICU4X_DATA_DIR").is_ok() { | ||
| println!("cargo:rustc-cfg=icu4x_custom_data"); | ||
| } | ||
| println!("cargo:rerun-if-env-changed=ICU4X_DATA_DIR"); | ||
| println!("cargo:rustc-check-cfg=cfg(icu4c_enable_renaming)"); | ||
| } |
| # This file is automatically @generated by Cargo. | ||
| # It is not intended for manual editing. | ||
| version = 3 | ||
| [[package]] | ||
| name = "icu_normalizer_data" | ||
| version = "2.1.0" |
| # 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.83" | ||
| name = "icu_normalizer_data" | ||
| version = "2.1.0" | ||
| authors = ["The ICU4X Project Developers"] | ||
| build = "build.rs" | ||
| include = [ | ||
| "data/**/*", | ||
| "src/**/*", | ||
| "examples/**/*", | ||
| "benches/**/*", | ||
| "tests/**/*", | ||
| "Cargo.toml", | ||
| "LICENSE", | ||
| "README.md", | ||
| "build.rs", | ||
| ] | ||
| autolib = false | ||
| autobins = false | ||
| autoexamples = false | ||
| autotests = false | ||
| autobenches = false | ||
| description = "Data for the icu_normalizer crate" | ||
| homepage = "https://icu4x.unicode.org" | ||
| readme = "README.md" | ||
| categories = ["internationalization"] | ||
| license = "Unicode-3.0" | ||
| repository = "https://github.com/unicode-org/icu4x" | ||
| [package.metadata.sources.cldr] | ||
| tagged = "48.0.0" | ||
| [package.metadata.sources.icuexport] | ||
| tagged = "release-78.1rc" | ||
| [package.metadata.sources.segmenter_lstm] | ||
| tagged = "v0.1.0" | ||
| [lib] | ||
| name = "icu_normalizer_data" | ||
| path = "src/lib.rs" | ||
| [dependencies] | ||
| [lints.rust.unexpected_cfgs] | ||
| level = "warn" | ||
| priority = 0 | ||
| check-cfg = ["cfg(icu4x_custom_data)"] |
Sorry, the diff of this file is not supported yet
| // @generated | ||
| include!("normalizer_nfd_tables_v1.rs.data"); | ||
| include!("normalizer_nfd_supplement_v1.rs.data"); | ||
| include!("normalizer_nfkd_data_v1.rs.data"); | ||
| include!("normalizer_nfkd_tables_v1.rs.data"); | ||
| include!("normalizer_nfc_v1.rs.data"); | ||
| include!("normalizer_nfd_data_v1.rs.data"); | ||
| include!("normalizer_uts46_data_v1.rs.data"); | ||
| /// Marks a type as a data provider. You can then use macros like | ||
| /// `impl_core_helloworld_v1` to add implementations. | ||
| /// | ||
| /// ```ignore | ||
| /// struct MyProvider; | ||
| /// const _: () = { | ||
| /// include!("path/to/generated/macros.rs"); | ||
| /// make_provider!(MyProvider); | ||
| /// impl_core_helloworld_v1!(MyProvider); | ||
| /// } | ||
| /// ``` | ||
| #[doc(hidden)] | ||
| #[macro_export] | ||
| macro_rules! __make_provider { | ||
| ($ name : ty) => { | ||
| #[clippy::msrv = "1.83"] | ||
| impl $name { | ||
| #[allow(dead_code)] | ||
| pub(crate) const MUST_USE_MAKE_PROVIDER_MACRO: () = (); | ||
| } | ||
| icu_provider::marker::impl_data_provider_never_marker!($name); | ||
| }; | ||
| } | ||
| #[doc(inline)] | ||
| pub use __make_provider as make_provider; | ||
| /// This macro requires the following crates: | ||
| /// * `icu` | ||
| /// * `icu_provider` | ||
| /// * `zerovec` | ||
| #[allow(unused_macros)] | ||
| macro_rules! impl_data_provider { | ||
| ($ provider : ty) => { | ||
| make_provider!($provider); | ||
| impl_normalizer_nfd_tables_v1!($provider); | ||
| impl_normalizer_nfd_supplement_v1!($provider); | ||
| impl_normalizer_nfkd_data_v1!($provider); | ||
| impl_normalizer_nfkd_tables_v1!($provider); | ||
| impl_normalizer_nfc_v1!($provider); | ||
| impl_normalizer_nfd_data_v1!($provider); | ||
| impl_normalizer_uts46_data_v1!($provider); | ||
| }; | ||
| } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
| UNICODE LICENSE V3 | ||
| COPYRIGHT AND PERMISSION NOTICE | ||
| Copyright © 2020-2024 Unicode, Inc. | ||
| NOTICE TO USER: Carefully read the following legal agreement. BY | ||
| DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR | ||
| SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE | ||
| TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT | ||
| DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. | ||
| Permission is hereby granted, free of charge, to any person obtaining a | ||
| copy of data files and any associated documentation (the "Data Files") or | ||
| software and any associated documentation (the "Software") to deal in the | ||
| Data Files or Software without restriction, including without limitation | ||
| the rights to use, copy, modify, merge, publish, distribute, and/or sell | ||
| copies of the Data Files or Software, and to permit persons to whom the | ||
| Data Files or Software are furnished to do so, provided that either (a) | ||
| this copyright and permission notice appear with all copies of the Data | ||
| Files or Software, or (b) this copyright and permission notice appear in | ||
| associated Documentation. | ||
| THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY | ||
| KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF | ||
| THIRD PARTY RIGHTS. | ||
| IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE | ||
| BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, | ||
| OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, | ||
| WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, | ||
| ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA | ||
| FILES OR SOFTWARE. | ||
| Except as contained in this notice, the name of a copyright holder shall | ||
| not be used in advertising or otherwise to promote the sale, use or other | ||
| dealings in these Data Files or Software without prior written | ||
| authorization of the copyright holder. | ||
| SPDX-License-Identifier: Unicode-3.0 | ||
| — | ||
| Portions of ICU4X may have been adapted from ICU4C and/or ICU4J. | ||
| ICU 1.8.1 to ICU 57.1 © 1995-2016 International Business Machines Corporation and others. |
| # icu_normalizer_data [](https://crates.io/crates/icu_normalizer_data) | ||
| <!-- cargo-rdme start --> | ||
| Data for the `icu_normalizer` crate | ||
| This data was generated with CLDR version 48.0.0, ICU version release-78.1rc, and | ||
| LSTM segmenter version v0.1.0. | ||
| <!-- cargo-rdme end --> | ||
| ## More Information | ||
| For more information on development, authorship, contributing etc. please visit [`ICU4X home page`](https://github.com/unicode-org/icu4x). |
| // 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 ). | ||
| //! Data for the `icu_normalizer` crate | ||
| //! | ||
| //! This data was generated with CLDR version 48.0.0, ICU version release-78.1rc, and | ||
| //! LSTM segmenter version v0.1.0. | ||
| #![no_std] | ||
| // The source is not readable and is massive as HTML. | ||
| #![doc(html_no_source)] | ||
| #[cfg(icu4x_custom_data)] | ||
| include!(concat!(core::env!("ICU4X_DATA_DIR"), "/mod.rs")); | ||
| #[cfg(not(icu4x_custom_data))] | ||
| include!("../data/mod.rs"); |