[package]
edition = "2024"
rust-version = "1.89"
name = "archmage"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safely invoke your intrinsic power, using the tokens granted to you by the CPU. Cast primitive magics faster than any mage alive."
documentation = "https://docs.rs/archmage"
readme = "README.md"
keywords = [
"simd",
"avx",
"neon",
"performance",
"safe",
]
categories = [
"development-tools",
"hardware-support",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/imazen/archmage"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
__composite = ["safe_unaligned_simd"]
__nightly-inline-always = []
__wide = ["dep:wide"]
default = [
"std",
"macros",
"safe_unaligned_simd",
]
disable-archmage = []
macros = ["dep:archmage-macros"]
safe_unaligned_simd = ["dep:safe_unaligned_simd"]
std = []
[lib]
name = "archmage"
path = "src/lib.rs"
[[test]]
name = "arm_mem_generics"
path = "tests/arm_mem_generics.rs"
[[test]]
name = "arm_safe_intrinsics"
path = "tests/arm_safe_intrinsics.rs"
[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"
[[test]]
name = "exhaustive_intrinsics"
path = "tests/exhaustive_intrinsics.rs"
[[test]]
name = "feature_consistency"
path = "tests/feature_consistency.rs"
[[test]]
name = "miri_safe"
path = "tests/miri_safe.rs"
[[test]]
name = "simd_fn_macro"
path = "tests/simd_fn_macro.rs"
[[test]]
name = "x86_safe_intrinsics"
path = "tests/x86_safe_intrinsics.rs"
[[bench]]
name = "tokens"
path = "benches/tokens.rs"
harness = false
[dependencies.archmage-macros]
version = "0.1.0"
optional = true
[dependencies.safe_unaligned_simd]
version = "0.2.3"
features = ["avx512"]
optional = true
[dependencies.wide]
version = "1.1.1"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.trybuild]
version = "1.0"