trtx 0.3.0

Safe Rust bindings to NVIDIA TensorRT-RTX (EXPERIMENTAL - NOT FOR PRODUCTION)
Documentation
# 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"
name = "trtx"
version = "0.3.0"
authors = [
    "Tarek Ziade",
    "Markus Tavenrath",
    "Stephan Seitz",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust bindings to NVIDIA TensorRT-RTX (EXPERIMENTAL - NOT FOR PRODUCTION)"
readme = "README.md"
keywords = [
    "tensorrt",
    "inference",
    "deep-learning",
    "nvidia",
    "gpu",
]
categories = [
    "api-bindings",
    "science",
]
license = "Apache-2.0"
repository = "https://github.com/rustnn/trtx-rs"

[features]
default = [
    "real",
    "dlopen_tensorrt_onnxparser",
    "dlopen_tensorrt_rtx",
    "onnxparser",
    "v_1_3",
]
dlopen_tensorrt_onnxparser = ["libloading"]
dlopen_tensorrt_rtx = ["libloading"]
link_tensorrt_onnxparser = [
    "trtx-sys/link_tensorrt_onnxparser",
    "onnxparser",
]
link_tensorrt_rtx = ["trtx-sys/link_tensorrt_rtx"]
mock = ["trtx-sys/mock"]
onnxparser = ["trtx-sys/onnxparser"]
real = [
    "dep:cudarc",
    "trtx-sys/v_1_3",
]
v_1_3 = ["trtx-sys/v_1_3"]

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

[[example]]
name = "basic_workflow"
path = "examples/basic_workflow.rs"
required-features = ["onnxparser"]

[[example]]
name = "rustnn_executor"
path = "examples/rustnn_executor.rs"
required-features = ["onnxparser"]

[[example]]
name = "tiny_network"
path = "examples/tiny_network.rs"
required-features = []

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

[dependencies.cudarc]
version = "0.11"
features = [
    "driver",
    "cuda-12050",
]
optional = true

[dependencies.cxx]
version = "1.0"

[dependencies.libc]
version = "0.2"

[dependencies.libloading]
version = "0.9"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.trtx-sys]
version = "0.3.0"
default-features = false

[dev-dependencies]