| 1 | cfg_if::cfg_if! { |
|---|---|
| 2 | if #[cfg(feature = "force-soft")] { |
| 3 | mod soft; |
| 4 | pub use soft::compress; |
| 5 | } else if #[cfg(all(feature = "asm", any(target_arch = "x86", target_arch = "x86_64")))] { |
| 6 | pub use md5_asm::compress; |
| 7 | } else if #[cfg(all(feature = "loongarch64_asm", target_arch = "loongarch64"))] { |
| 8 | mod loongarch64_asm; |
| 9 | pub use loongarch64_asm::compress; |
| 10 | } else { |
| 11 | mod soft; |
| 12 | pub use soft::compress; |
| 13 | } |
| 14 | } |
| 15 |
