nvtx-sys 2.0.0

NVIDIA Tools Extension SDK
Documentation
# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

[package]
name = "nvtx-sys"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
description.workspace = true
repository.workspace = true
readme.workspace = true
publish.workspace = true
license.workspace = true
keywords.workspace = true
categories.workspace = true

[build-dependencies]
bindgen = "0.72.1"
cc = "1.2.56"

[dependencies]
widestring = { version = "1.2.1", default-features = false }

[features]
default = ["std"]
std = ["widestring/std"]
alloc = ["widestring/alloc"]
cuda = []
cuda_runtime = []
# Expose the NVTX tools/injection ABI (`nvtxDetail/nvtxTypes.h`) for tools
# implementing injection libraries.
tools = []

[lints]
workspace = true