Closed sffc closed 1 week ago
@zbraniecki I'm adding these impls because I'm trying to switch from icu::datetime::options::preferences::HourCycle
to icu::locale::preferences::extensions::unicode::keywords::HourCycle
There's one other impl that is missing. HourCycle
is a field of components::Bag
which is used in fixture tests and therefore implements Serde. Should I:
serde(rename)
, but this wasn't completely trivial because of Islamic, but I could probably make it work)HourCycle
enum in components::Bag
components::Bag
in Serde directly and instead use a fixture-specific wrapper (or remove it entirely: I don't think these fixtures are used any more)
- Stop using
components::Bag
in Serde directly and instead use a fixture-specific wrapper (or remove it entirely: I don't think these fixtures are used any more)
I'm doing this option
@zbraniecki I'm going to merge this because I don't think it's super controversial but if you have feedback we can do it in a follow-up
Changes:
TryFrom<Value>
toTryFrom<&Value>
derive(Hash)