[package] name = "pbrt" version = "0.1.0" edition = "2024" [features] default = [] use_f64 = [] cuda = ["cuda_std", "cust", "cuda_builder", "shared/cuda", ] use_nvtx = [] [dependencies] anyhow = "1.0.100" bitflags = "2.10.0" bumpalo = "3.19.0" bytemuck = { version = "1.24.0", features = ["derive"] } enum_dispatch = "0.3.13" exr = "1.73.0" flate2 = "1.1.5" gpu = "0.2.3" 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" num = "0.4.3" num-integer = "0.1.46" num-traits = "0.2.19" nvtx = "1.3.0" once_cell = "1.21.3" parking_lot = "0.12.5" paste = "1.0.15" qoi = "0.4.1" rand = "0.9.2" rayon = "1.11.0" smallvec = "1.15.1" thiserror = "2.0.17" unicode-normalization = "0.1.25" wgpu = "27.0.1" shared = { path = "shared" } kernel = { 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 } [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 } [workspace] members = ["kernels", "shared"] [lints.clippy] excessive_precision = "allow" approx_constant = "allow" upper_case_acronyms = "allow" wrong_self_convention = "allow"