Cargo Features
[dependencies]
fontdue = { version = "0.9.2", default-features = false, features = ["std", "simd", "parallel"] }
- default = hashbrown, simd
-
If using no default features, you must enable either hashbrown or std.
- std
-
Enable this flag to use std::HashMap instead of hashbrown::HashMap
- simd default
-
Enable this flag to leverage SIMD usage on x86/x86_64 platforms.
Affects
as_i32::as_i32
,fract::fract
,get_bitmap::get_bitmap
,sqrt::sqrt
,trunc::trunc
… - parallel = hashbrown, rayon
-
Enable this flag to parallelize font loading using threads.
Enables rayon of hashbrown ^0.14
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- hashbrown default parallel?
-
Enables hashbrown ^0.14
- rayon parallel?