[package] name = "opensubdiv-petite" version = "0.2.0" authors = ["Anders Langlands ", "Moritz Moeller "] edition = "2021" keywords = ["graphics", "rendering", "3d", "subdivision-surface", "polygon-mesh"] categories = ["graphics", "rendering::graphics-api", "api-bindings"] license = "Apache-2.0" description = "Wrapper around parts of Pixar’s OpenSubdiv" exclude = [".github/**/*", "crates/**/*"] readme = "README.md" homepage = "https://graphics.pixar.com/opensubdiv/" documentation = "https://docs.rs/opensubdiv-petite/" repository = "https://github.com/virtualritz/opensubdiv-petite/" [features] default = ["topology_validation"] clew = ["opensubdiv-petite-sys/clew"] cuda = ["opensubdiv-petite-sys/cuda"] metal = ["opensubdiv-petite-sys/metal"] omp = ["opensubdiv-petite-sys/omp"] opencl = ["opensubdiv-petite-sys/opencl"] openmp = ["opensubdiv-petite-sys/openmp"] ptex = ["opensubdiv-petite-sys/ptex"] tri_mesh_buffers = ["itertools", "ultraviolet", "slice-of-array"] topology_validation = [] [dependencies] derive_more = "0.99.17" opensubdiv-petite-sys = "0.2.0" num_enum = "0.5.10" itertools = { version = "0.10.5", optional = true } ultraviolet = { version = "0.9.0", optional = true } slice-of-array = { version = "0.3.2", optional = true } [dev-dependencies] bevy = { version = "0.9", default-features = false, features = ["render", "bevy_winit"] } smooth-bevy-cameras = "0.7" [target.'cfg(target_os = "linux")'.dev-dependencies.bevy] version = "0.9" features = ["bevy_asset", "x11", "wayland"] default-features = false [[example]] path = "examples/osd_tutorial_0_cuda.rs" name = "osd_tutorial_0_cuda" required-features = [ "cuda" ] [[example]] path = "examples/bevy.rs" name = "bevy" required-features = [ "tri_mesh_buffers" ] [package.metadata.docs.rs] features = ["tri_mesh_buffers", "topology_validation"]