[package] name = "pbrt" version = "0.1.0" edition = "2024" [features] default = [] use_f64 = [] use_gpu = [] use_nvtx = [] cuda = ["dep:cudarc"] [dependencies] anyhow = "1.0.100" exr = "1.73.0" flate2 = "1.1.5" half = "2.7.1" image_rs = { package = "image", version = "0.25.8" } indicatif = "0.18.3" lazy_static = "1.5.0" log = "0.4.29" memmap2 = "0.9.9" nvtx = "1.3.0" parking_lot = "0.12.5" paste = "1.0.15" qoi = "0.4.1" rand = "0.9.2" rayon = "1.11.0" thiserror = "2.0.17" unicode-normalization = "0.1.25" wgpu = "27.0.1" shared = { path = "shared" } ptex-filter = { path = "crates/ptex-filter" } # kernels = { path = "kernels" } cuda_std = { git = "https://github.com/Rust-GPU/Rust-CUDA", branch = "main", default-features = false, optional = true } cust = { git = "https://github.com/Rust-GPU/Rust-CUDA", branch = "main", default-features = false, features = ["glam"], optional = true } ptex = "0.3.0" # ptex-sys = "0.3.0" slice = "0.0.4" crossbeam-channel = "0.5.15" num_cpus = "1.17.0" ply-rs = "0.1.3" enum_dispatch = "0.3.13" bytemuck = "1.24.0" once_cell = "1.21.3" smallvec = "1.15.1" cuda-runtime-sys = "0.3.0-alpha.1" cudarc = { version = "0.18.2", features = ["cuda-13000"], optional = true } [build-dependencies] spirv-builder = { git = "https://github.com/rust-gpu/rust-gpu", branch = "main", optional = true } cuda_builder = { git = "https://github.com/Rust-GPU/Rust-CUDA", branch = "main", optional = true } cc = "1.2.53" [workspace] members = ["shared", "crates/ptex-filter"] [lints.clippy] excessive_precision = "allow" approx_constant = "allow" upper_case_acronyms = "allow" wrong_self_convention = "allow"