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