archmage 0.9.26

Safely invoke your intrinsic power, using the tokens granted to you by the CPU. Cast primitive magics faster than any mage alive.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.89"
name = "archmage"
version = "0.9.26"
build = false
include = [
    "src/**",
    "benches/**",
    "examples/**",
    "token-registry.toml",
    "/Cargo.toml",
    "/Cargo.lock",
    "/README.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.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"

[[example]]
name = "alpha_blend"
path = "examples/alpha_blend.rs"

[[example]]
name = "cpu_survey"
path = "examples/cpu_survey.rs"

[[example]]
name = "detect_features"
path = "examples/detect_features.rs"

[[example]]
name = "edge_case_perf"
path = "examples/edge_case_perf.rs"

[[example]]
name = "edge_case_perf2"
path = "examples/edge_case_perf2.rs"

[[example]]
name = "transcendental_bench"
path = "examples/transcendental_bench.rs"

[[example]]
name = "vertical_reduce"
path = "examples/vertical_reduce.rs"

[[bench]]
name = "asm_inspection"
path = "benches/asm_inspection.rs"
harness = false

[[bench]]
name = "summon_overhead"
path = "benches/summon_overhead.rs"
harness = false

[[bench]]
name = "tokens"
path = "benches/tokens.rs"
harness = false

[dependencies.archmage-macros]
version = "0.9.26"

[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"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.zenbench]
version = "0.1.2"
features = ["criterion-compat"]