| 1 |
[package] |
| 2 |
name = "safe_arch" |
| 3 |
description = "Crate that exposes `core::arch` safely via `#[cfg()]`." |
| 4 |
repository = "https://github.com/Lokathor/safe_arch" |
| 5 |
version = "0.7.4" |
| 6 |
authors = ["Lokathor <[email protected]>"] |
| 7 |
edition = "2018" |
| 8 |
license = "Zlib OR Apache-2.0 OR MIT" |
| 9 |
categories = ["api-bindings", "hardware-support", "no-std"] |
| 10 |
keywords = ["intrinsics", "simd"] |
| 11 |
|
| 12 |
[dependencies] |
| 13 |
# If enabled, gives bytemuck trait impls for our types |
| 14 |
bytemuck = {version = "1.2", optional = true} |
| 15 |
|
| 16 |
[features] |
| 17 |
default = [] |
| 18 |
|
| 19 |
[profile.test] |
| 20 |
opt-level = 3 |
| 21 |
|
| 22 |
[package.metadata.docs.rs] |
| 23 |
# This makes docs.rs build with all features enabled and |
| 24 |
# also it will indicate what fn needs what cpu feature. |
| 25 |
rustdoc-args = ["-C", "target-cpu=native"] |
| 26 |
all-features = true |