Skip to content

Commit

Permalink
features
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Feb 7, 2025
1 parent 220ded9 commit 9e0aba5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ffi/capi/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ use ffi::*;
#[diplomat::abi_rename = "icu4x_{0}_mv1"]
#[diplomat::attr(auto, namespace = "icu4x")]
pub mod ffi {
use crate::calendar::ffi::AnyCalendarKind;
#[cfg(feature = "datetime")]
use diplomat_runtime::DiplomatOption;

#[cfg(feature = "datetime")]
use crate::calendar::ffi::AnyCalendarKind;

#[derive(Debug, PartialEq, Eq)]
#[repr(C)]
#[diplomat::rust_link(icu::provider::DataError, Struct, compact)]
Expand Down

0 comments on commit 9e0aba5

Please sign in to comment.