# 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 = "baracuda-driver"
version = "0.0.1-alpha.72"
authors = ["The baracuda contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust wrappers for the CUDA Driver API (devices, contexts, streams, events, memory, kernels, graphs)."
homepage = "https://github.com/ciresnave/baracuda"
readme = "README.md"
keywords = [
    "cuda",
    "gpu",
    "nvidia",
    "driver",
    "runtime",
]
categories = [
    "api-bindings",
    "external-ffi-bindings",
    "hardware-support",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ciresnave/baracuda"

[features]
async = ["dep:futures-core"]
default = []

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

[[example]]
name = "launch_kernel"
path = "examples/launch_kernel.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.baracuda-core]
version = "0.0.1-alpha.72"

[dependencies.baracuda-cuda-sys]
version = "0.0.1-alpha.72"

[dependencies.baracuda-types]
version = "0.0.1-alpha.72"

[dependencies.futures-core]
version = "0.3"
optional = true
default-features = false

[dependencies.thiserror]
version = "1"

[dev-dependencies]

[lints.clippy]
too_many_arguments = "allow"
type_complexity = "allow"

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

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "deny"
unreachable_pub = "warn"
