[package] name = "crystal_ball" version = "0.3.0" authors = ["Philipp Dobler ", "Green Lemonade "] edition = "2021" description = "A path tracing library written in Rust." homepage = "https://gitlab.com/netzwerk2/crystal_ball" repository = "https://gitlab.com/netzwerk2/crystal_ball" documentation = "https://docs.rs/crystal_ball" readme = "README.md" keywords = ["path-tracing", "ray-tracing", "rendering", "graphics"] categories = ["graphics", "rendering::engine", "multimedia::images"] license = "LGPL-3.0" exclude = ["examples/"] [workspace] members = ["crystal_ball_derive"] [dependencies] rayon = "1.5.1" image = "0.24.8" indicatif = "0.17.8" floydrivest = "0.2.4" [dependencies.nanorand] version = "0.7.0" default-features = false features = ["std", "wyrand", "tls"] [dependencies.gltf] version = "1.0.0" features = ["KHR_materials_transmission", "KHR_materials_ior", "KHR_materials_emissive_strength"] [dependencies.oidn] version = "1.4.1" optional = true [dependencies.crystal_ball_derive] path = "crystal_ball_derive" version = "0.3.0" [dev-dependencies] assert_approx_eq = "1.1.0" [[example]] name = "basic" path = "examples/basic/main.rs" doc-scrape-examples = true [[example]] name = "cornell_box" path = "examples/cornell_box/main.rs" [[example]] name = "denoise" path = "examples/denoise/main.rs" required-features = ["oidn"] [[example]] name = "environment_texture" path = "examples/environment_texture/main.rs" [[example]] name = "gltf" path = "examples/gltf/main.rs" [[example]] name = "hdri_preview" path = "examples/hdri_preview/main.rs" [[example]] name = "image_texture" path = "examples/image_texture/main.rs" [profile.dev] opt-level = 3 [profile.release] # Reduce binary size panic = "abort" strip = "symbols" # Improve performance but increase compile time lto = "fat" codegen-units = 1 [package.metadata.docs.rs] cargo-ars = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] rustdoc-args = ["--cfg", "docsrs"] all-features = true