ruSPARSE 0.1.1

Ruda's sparse-computing library, reusing shared tensors, runtimes, and device backends.
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 = "ruSPARSE"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ruda's sparse-computing library, reusing shared tensors, runtimes, and device backends."
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/shuqi2077/RUDA"

[features]
cuda = [
    "tensor",
    "dep:ruda-driver-cuda",
]
cuda-tests = ["cuda"]
default = []
serde = ["dep:serde"]
tensor = [
    "dep:ruda-core",
    "dep:ruda-kernel",
]

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

[[example]]
name = "csrmv"
path = "examples/csrmv.rs"
required-features = ["cuda"]

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

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

[[test]]
name = "tensor"
path = "tests/tensor.rs"
required-features = ["cuda-tests"]

[[test]]
name = "tensor_binary"
path = "tests/tensor_binary.rs"
required-features = ["cuda-tests"]

[[test]]
name = "tensor_level1"
path = "tests/tensor_level1.rs"
required-features = ["cuda-tests"]

[dependencies.ruda-core]
version = "0.1.3"
features = [
    "std",
    "tensor-host-data",
]
optional = true
default-features = false

[dependencies.ruda-driver-cuda]
version = "0.1.1"
features = ["std"]
optional = true
default-features = false

[dependencies.ruda-kernel]
version = "0.1.2"
features = [
    "frontend-std",
    "library",
    "device-tensor",
]
optional = true
default-features = false

[dependencies.serde]
version = "1.0.228"
features = ["std"]
optional = true
default-features = false

[lints.rust]
unsafe_code = "forbid"