1#[cfg(all(
14 any(target_os = "macos", target_os = "ios"),
15 not(feature = "loader-freetype-default")
16))]
17pub use crate::loaders::core_text as default;
18
19#[cfg(all(target_family = "windows", not(feature = "loader-freetype-default")))]
20pub use crate::loaders::directwrite as default;
21
22#[cfg(any(
23 not(any(target_os = "macos", target_os = "ios", target_family = "windows")),
24 feature = "loader-freetype-default"
25))]
26pub use crate::loaders::freetype as default;
27
28#[cfg(any(target_os = "macos", target_os = "ios"))]
29pub mod core_text;
30
31#[cfg(target_family = "windows")]
32pub mod directwrite;
33
34#[cfg(any(
35 not(any(target_os = "macos", target_os = "ios", target_family = "windows")),
36 feature = "loader-freetype"
37))]
38pub mod freetype;