diff --git a/executors/rust/1.3/src/relativedatetime_fmt.rs b/executors/rust/1.3/src/relativedatetime_fmt.rs index 77dc37fa..d609e908 100644 --- a/executors/rust/1.3/src/relativedatetime_fmt.rs +++ b/executors/rust/1.3/src/relativedatetime_fmt.rs @@ -4,6 +4,7 @@ use fixed_decimal::FixedDecimal; use icu::locid::Locale; use icu_provider::DataLocale; +use icu::relativetime::options::Numeric; use icu::relativetime::{RelativeTimeError, RelativeTimeFormatter, RelativeTimeFormatterOptions}; use serde::{Deserialize, Serialize}; @@ -14,6 +15,7 @@ use serde_json::{json, Value}; struct RelativeDateTimeFormatterOptions { style: Option, numbering_system: Option, + numeric: Option, } fn get_formatter_from_unit_style( @@ -158,27 +160,21 @@ pub fn run_relativedatetimeformat_test(json_obj: &Value) -> Result formatter,