[workspace]
members = [".", "archmage-macros", "magetypes", "xtask", "tests/no-features-crate"]
[workspace.package]
version = "0.9.21"
edition = "2024"
rust-version = "1.89"
license = "MIT OR Apache-2.0"
repository = "https://github.com/imazen/archmage"
[package]
name = "archmage"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
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"
keywords = ["simd", "avx", "neon", "wasm", "safe"]
categories = ["development-tools", "hardware-support", "no-std"]
include = [
"src/**",
"benches/**",
"tests/**",
"examples/**",
"token-registry.toml",
"Cargo.toml",
"Cargo.lock",
"README.md",
"CHANGELOG.md",
"LICENSE*",
]
[features]
default = ["std"]
std = []
macros = []
avx512 = ["safe_unaligned_simd/avx512", "archmage-macros/avx512"]
safe_unaligned_simd = []
testable_dispatch = []
forge-token-api = []
[dependencies]
archmage-macros = { version = "0.9.21", path = "archmage-macros" }
safe_unaligned_simd = { version = "0.2.5" }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
zenbench = { version = "0.1.2", features = ["criterion-compat"] }
trybuild = "1.0"
macrotest = "1.2.1"
safe_unaligned_simd = { version = "0.2.5", features = ["avx512"] }
[[bench]]
name = "tokens"
harness = false
[[bench]]
name = "asm_inspection"
harness = false
[[bench]]
name = "summon_overhead"
harness = false
[package.metadata.docs.rs]
features = ["std", "avx512"]
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "wasm32-unknown-unknown"]