[package]
edition = "2024"
rust-version = "1.89"
name = "safe_arch"
version = "1.1.0"
authors = ["Lokathor <zefria@gmail.com>"]
build = false
exclude = [
"/.cargo/",
"/.github/",
"/scripts/",
"/rustfmt.toml",
"/tmp.txt",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Crate that exposes `core::arch` safely via `#[cfg()]`."
readme = "README.md"
keywords = [
"intrinsics",
"simd",
]
categories = [
"api-bindings",
"hardware-support",
"no-std",
]
license = "Zlib OR Apache-2.0 OR MIT"
repository = "https://github.com/Lokathor/safe_arch"
[package.metadata.docs.rs]
rustdoc-args = [
"-C",
"target-cpu=native",
]
all-features = true
[features]
default = []
[lib]
name = "safe_arch"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration/main.rs"
[dependencies.bytemuck]
version = "1.24.0"
optional = true
[profile.test]
opt-level = 3