rumus 0.3.0

A native-Rust deep learning framework with explicit memory safety and hardware acceleration
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"
name = "rumus"
version = "0.3.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A native-Rust deep learning framework with explicit memory safety and hardware acceleration"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/SUM-INNOVATION/RUMUS"
resolver = "2"

[features]
default = []
gpu = [
    "dep:wgpu",
    "dep:pollster",
]
jit = ["gpu"]
multi_gpu = ["gpu"]
onnx = ["dep:prost"]

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

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

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

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

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

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

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

[dependencies.memmap2]
version = "0.9"

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.prost]
version = "0.13"
optional = true

[dependencies.rumus-macros]
version = "0.1.3"

[dependencies.safetensors]
version = "0.4"

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

[build-dependencies.prost-build]
version = "0.13"