# 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"
rust-version = "1.85"
name = "oxicuda-levelzero"
version = "0.1.7"
authors = ["COOLJAPAN OU <contact@cooljapan.tech>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OxiCUDA Level Zero — GPU compute via Intel oneAPI/Level Zero (pure Rust, libloading)"
readme = "README.md"
keywords = [
    "level-zero",
    "intel",
    "oneapi",
    "gpu",
    "compute",
]
categories = [
    "hardware-support",
    "science",
    "mathematics",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxicuda"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[dependencies.libloading]
version = "0.9"

[dependencies.oxicuda-backend]
version = "0.1.7"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[lints.clippy]
excessive_precision = "allow"
float_cmp = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
missing_transmute_annotations = "allow"
module_inception = "allow"
module_name_repetitions = "allow"
similar_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
wildcard_imports = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.rust]
dead_code = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_imports = "warn"
unused_variables = "warn"
