Conditional Dependencies in Rust
You can conditionally include dependencies
in Cargo.toml based on the compile target.
If a crate requires SSE2 for example, put it in this section
[target.'cfg(target_feature = "sse2")'.dependencies]
sse2_only_crate = "0.0.1"
Webmentions
No webmentions were found.
Comments