|
6 | 6 |
|
7 | 7 | mod adapter;
|
8 | 8 |
|
9 |
| -use crate::provider::pattern::runtime::{self, PatternULE}; |
| 9 | +use crate::provider::pattern::runtime; |
10 | 10 | use crate::size_test_macro::size_test;
|
11 | 11 | use alloc::borrow::Cow;
|
12 | 12 | use icu_pattern::SinglePlaceholderPattern;
|
13 | 13 | use icu_provider::prelude::*;
|
14 | 14 | use potential_utf::PotentialUtf8;
|
15 |
| -use zerovec::{ule::tuplevar::Tuple2VarULE, VarZeroCow, VarZeroSlice, VarZeroVec, ZeroMap}; |
| 15 | +use zerovec::{ule::tuplevar::Tuple2VarULE, VarZeroCow, VarZeroSlice, VarZeroVec}; |
16 | 16 |
|
17 | 17 | /// Helpers involving the data marker attributes used for date names.
|
18 | 18 | ///
|
@@ -520,11 +520,6 @@ icu_provider::data_marker!(
|
520 | 520 | DatetimePatternsGlueV1,
|
521 | 521 | GluePattern<'static>
|
522 | 522 | );
|
523 |
| -icu_provider::data_marker!( |
524 |
| - /// `DateTimeSkeletonPatternsV1` |
525 |
| - DateTimeSkeletonPatternsV1, |
526 |
| - DateTimeSkeletons<'static>, |
527 |
| -); |
528 | 523 |
|
529 | 524 | size_test!(YearNames, year_names_v1_size, 32);
|
530 | 525 |
|
@@ -721,26 +716,6 @@ icu_provider::data_struct!(
|
721 | 716 | #[cfg(feature = "datagen")]
|
722 | 717 | );
|
723 | 718 |
|
724 |
| -#[derive(Debug, PartialEq, Clone, yoke::Yokeable, zerofrom::ZeroFrom)] |
725 |
| -#[cfg_attr(feature = "datagen", derive(serde::Serialize, databake::Bake))] |
726 |
| -#[cfg_attr(feature = "datagen", databake(path = icu_datetime::provider::neo))] |
727 |
| -#[cfg_attr(feature = "serde", derive(serde::Deserialize))] |
728 |
| -#[yoke(prove_covariance_manually)] |
729 |
| -#[allow(missing_docs)] // TODO |
730 |
| -pub struct DateTimeSkeletons<'data> { |
731 |
| - // will typically be small, there are only a couple special cases like E B h m |
732 |
| - // TODO: This should support plurals |
733 |
| - // TODO: The key of this map should be Skeleton |
734 |
| - #[allow(missing_docs)] // TODO |
735 |
| - #[cfg_attr(feature = "serde", serde(borrow))] |
736 |
| - pub map: ZeroMap<'data, str, PatternULE>, |
737 |
| -} |
738 |
| - |
739 |
| -icu_provider::data_struct!( |
740 |
| - DateTimeSkeletons<'_>, |
741 |
| - #[cfg(feature = "datagen")] |
742 |
| -); |
743 |
| - |
744 | 719 | /// Calendar-agnostic year name data marker
|
745 | 720 | #[derive(Debug)]
|
746 | 721 | pub struct YearNamesV1;
|
|
0 commit comments