[[bench]]
harness = false
name = "tokens"
path = "benches/tokens.rs"
[dependencies.archmage-macros]
optional = true
version = "0.1.1"
[dependencies.safe_unaligned_simd]
features = ["avx512"]
optional = true
version = "0.2.3"
[dependencies.wide]
optional = true
version = "1.1.1"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.trybuild]
version = "1.0"
[features]
__composite = ["safe_unaligned_simd"]
__experiments = []
__nightly-inline-always = []
__wide = ["dep:wide"]
default = ["std", "macros", "safe_unaligned_simd"]
macros = ["dep:archmage-macros"]
safe_unaligned_simd = ["dep:safe_unaligned_simd"]
std = []
[lib]
name = "archmage"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools", "hardware-support", "no-std"]
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"
edition = "2024"
keywords = ["simd", "avx", "neon", "performance", "safe"]
license = "MIT OR Apache-2.0"
name = "archmage"
readme = "README.md"
repository = "https://github.com/imazen/archmage"
rust-version = "1.89"
version = "0.1.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[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"