tc_runtime 0.1.0

no_std CPU feature detection and capability proof tokens for x86 and AArch64.
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.85"
name = "tc_runtime"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "no_std CPU feature detection and capability proof tokens for x86 and AArch64."
readme = "README.md"
keywords = [
    "cpu",
    "intrinsics",
    "no-std",
    "simd",
    "runtime-detection",
]
categories = [
    "hardware-support",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/TomiCheng/tc_core"

[features]
aarch64-detect = ["dep:cpufeatures"]
default = []
disable-aarch64-aes = []
disable-aarch64-dit = []
disable-aarch64-neon = []
disable-aarch64-sha2 = []
disable-aarch64-sha3 = []
disable-aarch64-sm4 = []
disable-x86-aes-ni = []
disable-x86-avx2 = []
disable-x86-bmi1 = []
disable-x86-bmi2 = []
disable-x86-pclmulqdq = []
disable-x86-pclmulqdq-v256 = []
disable-x86-pclmulqdq-v512 = []
disable-x86-sse2 = []
disable-x86-sse41 = []
disable-x86-ssse3 = []
std = []

[lib]
name = "tc_runtime"
path = "src/lib.rs"

[[test]]
name = "api_surface"
path = "tests/api_surface.rs"

[[test]]
name = "x86_detection"
path = "tests/x86_detection.rs"

[dependencies]

[target.'cfg(target_arch = "aarch64")'.dependencies.cpufeatures]
version = "0.3.1"
optional = true