axonml-core 0.2.2

Core abstractions for the Axonml ML framework
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 = "2021"
rust-version = "1.75"
name = "axonml-core"
version = "0.2.2"
authors = ["AutomataNexus Development Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core abstractions for the Axonml ML framework"
readme = "README.md"
keywords = [
    "tensor",
    "machine-learning",
    "device",
    "memory",
]
categories = [
    "science",
    "mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/automatanexus/axonml"

[features]
cuda = ["dep:cudarc"]
default = ["std"]
metal = [
    "dep:metal",
    "dep:objc",
]
std = []
vulkan = [
    "dep:ash",
    "dep:gpu-allocator",
]
wgpu = [
    "dep:wgpu",
    "dep:pollster",
]

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

[dependencies.ash]
version = "0.38"
optional = true

[dependencies.bytemuck]
version = "1.14"
features = ["derive"]

[dependencies.cudarc]
version = "0.12"
features = ["cuda-version-from-build-system"]
optional = true

[dependencies.gpu-allocator]
version = "0.27"
optional = true

[dependencies.half]
version = "2.4"
features = [
    "bytemuck",
    "num-traits",
]

[dependencies.matrixmultiply]
version = "0.3"

[dependencies.num-traits]
version = "0.2"

[dependencies.parking_lot]
version = "0.12"

[dependencies.pollster]
version = "0.4"
optional = true

[dependencies.smallvec]
version = "1.13"

[dependencies.sysinfo]
version = "0.32"

[dependencies.thiserror]
version = "1.0"

[dependencies.wgpu]
version = "23.0"
optional = true

[dev-dependencies.approx]
version = "0.5"

[target.'cfg(target_os = "macos")'.dependencies.metal]
version = "0.29"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.objc]
version = "0.2"
optional = true