[package]
edition = "2021"
rust-version = "1.77.0"
name = "nvtx-sys"
version = "2.0.0"
authors = [
"NVIDIA",
"Voltron Data",
]
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "NVIDIA Tools Extension SDK"
readme = "README.md"
keywords = [
"cuda",
"nsight",
"nvidia",
"nvtx",
"profiling",
]
categories = [
"api-bindings",
"development-tools::profiling",
"no-std",
]
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/NVIDIA/NVTX"
[features]
alloc = ["widestring/alloc"]
cuda = []
cuda_runtime = []
default = ["std"]
std = ["widestring/std"]
tools = []
[lib]
name = "nvtx_sys"
path = "src/lib.rs"
[dependencies.widestring]
version = "1.2.1"
default-features = false
[build-dependencies.bindgen]
version = "0.72.1"
[build-dependencies.cc]
version = "1.2.56"
[lints.clippy]
alloc_instead_of_core = "deny"
allow_attributes = "allow"
arbitrary_source_item_ordering = "allow"
arithmetic_side_effects = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
expect_used = "deny"
float_cmp = "allow"
implicit_return = "allow"
mod_module_files = "deny"
multiple_unsafe_ops_per_block = "deny"
panic = "deny"
print_stdout = "warn"
pub_use = "allow"
pub_with_shorthand = "allow"
pub_without_shorthand = "deny"
question_mark_used = "allow"
self_named_module_files = "allow"
shadow_reuse = "allow"
shadow_same = "allow"
shadow_unrelated = "allow"
single_call_fn = "allow"
todo = "warn"
undocumented_unsafe_blocks = "deny"
unimplemented = "warn"
unreadable_literal = "allow"
unwrap_used = "deny"
use_debug = "warn"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.complexity]
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