[package]
edition = "2024"
name = "mircuda"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native, explicit-stream Rust gateway to NVIDIA CUDA"
readme = "README.md"
keywords = [
"cuda",
"gpu",
"nvidia",
"inference",
]
categories = [
"api-bindings",
"hardware-support",
]
license = "Apache-2.0"
repository = "https://codeberg.org/mirmir/mircuda"
[features]
cutlass = ["mircuda-sys/cutlass"]
default = ["cutlass"]
[lib]
name = "mircuda"
path = "src/lib.rs"
[[example]]
name = "dense-vector"
path = "examples/dense-vector.rs"
[[example]]
name = "fp4-vector"
path = "examples/fp4-vector.rs"
[[example]]
name = "graph"
path = "examples/graph.rs"
[[example]]
name = "grouped-fp4"
path = "examples/grouped-fp4.rs"
[[example]]
name = "inspect"
path = "examples/inspect.rs"
[[example]]
name = "matmul"
path = "examples/matmul.rs"
[[example]]
name = "profile"
path = "examples/profile.rs"
[[test]]
name = "cutlass_dense"
path = "tests/cutlass_dense.rs"
[[test]]
name = "cutlass_fp4"
path = "tests/cutlass_fp4.rs"
[[test]]
name = "cutlass_fp4_vector"
path = "tests/cutlass_fp4_vector.rs"
[[test]]
name = "cutlass_fp8"
path = "tests/cutlass_fp8.rs"
[[test]]
name = "cutlass_grouped_fp4"
path = "tests/cutlass_grouped_fp4.rs"
[[test]]
name = "execution"
path = "tests/execution.rs"
[[test]]
name = "graph"
path = "tests/graph.rs"
[[test]]
name = "source"
path = "tests/source.rs"
[dependencies.blake3]
version = "1"
[dependencies.half]
version = "2"
[dependencies.mircuda-macros]
version = "0.1"
[dependencies.mircuda-sys]
version = "0.1"
[dependencies.parking_lot]
version = "0.12"
[dependencies.thiserror]
version = "2"
[lints.clippy]
arithmetic_side_effects = "allow"
blanket_clippy_restriction_lints = "allow"
cargo_common_metadata = "allow"
expect_used = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
self_named_module_files = "deny"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.style]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"
unused_lifetimes = "deny"
[lints.rust.future_incompatible]
level = "deny"
priority = -1
[lints.rust.keyword_idents]
level = "deny"
priority = -1
[lints.rust.let_underscore]
level = "deny"
priority = -1
[lints.rust.nonstandard_style]
level = "deny"
priority = -1
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
[lints.rust.rust_2021_compatibility]
level = "deny"
priority = -1
[lints.rust.rust_2024_compatibility]
level = "deny"
priority = -1
[lints.rust.unused]
level = "deny"
priority = -1