mircuda-sys 0.1.0

Private native CUDA integration for mircuda
# 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 = "mircuda-sys"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Private native CUDA integration for mircuda"
readme = false
license = "Apache-2.0"
repository = "https://codeberg.org/mirmir/mircuda"

[features]
cutlass = []
default = ["cutlass"]

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

[dependencies.thiserror]
version = "2"

[build-dependencies.cc]
version = "1"

[target.'cfg(target_os = "linux")'.dependencies.cudarc]
version = "0.19.8"
features = [
    "cuda-version-from-build-system",
    "driver",
    "dynamic-linking",
    "nvrtc",
    "std",
]
default-features = false

[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