[package]
edition = "2024"
rust-version = "1.89"
name = "archmage"
version = "0.9.29"
build = false
include = [
"src/**",
"token-registry.toml",
"/Cargo.toml",
"/Cargo.lock",
"/README.crates.md",
"/CHANGELOG.md",
"/LICENSE*",
]
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.crates.md"
keywords = [
"simd",
"avx",
"neon",
"wasm",
"safe",
]
categories = [
"development-tools",
"hardware-support",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/imazen/archmage"
[package.metadata.docs.rs]
features = [
"std",
"avx512",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
targets = [
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"wasm32-unknown-unknown",
]
[features]
avx512 = [
"safe_unaligned_simd/avx512",
"archmage-macros/avx512",
]
default = ["std"]
forge-token-api = []
macros = []
safe_unaligned_simd = []
std = []
testable_dispatch = []
[lib]
name = "archmage"
path = "src/lib.rs"
[dependencies.archmage-macros]
version = "=0.9.29"
[dependencies.safe_unaligned_simd]
version = "0.2.5"
[target.'cfg(all(target_os = "windows", target_arch = "aarch64"))'.dependencies.winarm-cpufeatures]
version = "0.1.2"
features = ["registry"]
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.macrotest]
version = "1.2.1"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.safe_unaligned_simd]
version = "0.2.5"
features = ["avx512"]
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.trybuild]
version = "1.0.120"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.zenbench]
version = "0.1.7"
features = ["criterion-compat"]