# 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 = "2021"
rust-version = "1.80"
name = "dsfb-gpu-debug-cuda"
version = "0.1.1"
authors = ["Riaan de Beer <riaan@invariantforge.net>"]
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CUDA FFI bridge and kernel dispatch for dsfb-gpu-debug. Builds without nvcc unless the `cuda` feature is set."
readme = "README.md"
keywords = [
    "deterministic",
    "gpu",
    "cuda",
    "inference",
    "audit",
]
license = "Apache-2.0"
repository = "https://github.com/infinityabundance/dsfb"

[features]
cuda = []
default = []

[lib]
name = "dsfb_gpu_debug_cuda"
crate-type = ["rlib"]
path = "src/lib.rs"

[dependencies.dsfb-gpu-debug-core]
version = "0.1.1"
features = ["std"]

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
expect_used = "deny"
module_name_repetitions = "allow"
needless_range_loop = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
unwrap_used = "deny"

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

[lints.rust]
unsafe_code = "deny"
