| 1 |
[package] |
| 2 |
name = "fearless_simd" |
| 3 |
version = "0.4.1" |
| 4 |
license.workspace = true |
| 5 |
edition.workspace = true |
| 6 |
repository.workspace = true |
| 7 |
rust-version.workspace = true |
| 8 |
authors = ["Raph Levien <[email protected]>"] |
| 9 |
keywords = ["simd"] |
| 10 |
categories = ["hardware-support"] |
| 11 |
description = "Safer and easier SIMD" |
| 12 |
readme = "README.md" |
| 13 |
|
| 14 |
[package.metadata.docs.rs] |
| 15 |
all-features = true |
| 16 |
# TODO: Get the right set of targets here. x86 linux, x86-64 linux, arm-macos, wasm |
| 17 |
# default-target = "x86_64-unknown-linux-gnu" |
| 18 |
# targets = [] |
| 19 |
|
| 20 |
|
| 21 |
[features] |
| 22 |
default = ["std"] |
| 23 |
# Get floating point functions from the standard library (likely using your targets libc). |
| 24 |
# Also allows using `Level::new` on all platforms, to detect which target features are enabled |
| 25 |
std = [] |
| 26 |
# Use floating point implementations from libm |
| 27 |
libm = ["dep:libm"] |
| 28 |
|
| 29 |
# Include safe wrappers for (some) target feature specific intrinsics, |
| 30 |
# beyond the basic SIMD operations abstracted on all platforms |
| 31 |
safe_wrappers = [] |
| 32 |
|
| 33 |
# Force the "fallback" SIMD level to be supported |
| 34 |
# This is primarily used for tests |
| 35 |
force_support_fallback = [] |
| 36 |
|
| 37 |
[lints] |
| 38 |
workspace = true |
| 39 |
|
| 40 |
[dependencies] |
| 41 |
libm = { version = "0.2.15", optional = true } |