wr_glyph_rasterizer/
lib.rs1#[cfg(any(target_os = "macos", target_os = "ios", target_os = "windows"))]
13mod gamma_lut;
14mod rasterizer;
15mod telemetry;
16mod types;
17
18pub mod profiler;
19
20pub use rasterizer::*;
21pub use types::*;
22
23#[macro_use]
24extern crate malloc_size_of_derive;
25#[macro_use]
26extern crate tracy_rs;
27#[macro_use]
28extern crate log;
29#[macro_use]
30extern crate lazy_static;
31#[macro_use]
32extern crate smallvec;
33
34#[cfg(any(feature = "serde"))]
35#[macro_use]
36extern crate serde;
37
38extern crate malloc_size_of;
39
40pub mod platform {
41 #[cfg(any(target_os = "macos", target_os = "ios"))]
42 pub use crate::platform::macos::font;
43 #[cfg(any(target_os = "android", all(unix, not(any(target_os = "ios", target_os = "macos")))))]
44 pub use crate::platform::unix::font;
45 #[cfg(target_os = "windows")]
46 pub use crate::platform::windows::font;
47
48 #[cfg(any(target_os = "ios", target_os = "macos"))]
49 pub mod macos {
50 pub mod font;
51 }
52 #[cfg(any(target_os = "android", all(unix, not(any(target_os = "macos", target_os = "ios")))))]
53 pub mod unix {
54 pub mod font;
55 }
56 #[cfg(target_os = "windows")]
57 pub mod windows {
58 pub mod font;
59 }
60}