# 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" rust-version = "1.56" name = "filament-bindings" version = "0.2.2" authors = ["EYHN "] exclude = ["/filament"] description = "This package provides build scripts and prebuilt binaries for filament on Windows, macOS, Linux, and the unsafe binding interface automatically generated by rust-bindgen." readme = "README.md" keywords = [ "test", "testing", ] license = "Apache-2.0" repository = "https://github.com/EYHN/rust-filament/tree/main/filament-bindings" [lib] doctest = false [[example]] name = "assimp" required-features = ["assimp"] [[example]] name = "winit" [[example]] name = "triangle" [dependencies.bitflags] version = "1.3" [dependencies.half] version = "1.8" [dependencies.num_enum] version = "0.5" [dependencies.russimp-sys-static] version = "1.0.1" optional = true default-features = false [dev-dependencies.winit] version = "0.26" [build-dependencies.bindgen] version = "0.59" [build-dependencies.cc] version = "1.0" [build-dependencies.flate2] version = "1.0" [build-dependencies.num_cpus] version = "1.13" [build-dependencies.regex] version = "1.5" [build-dependencies.serde] version = "1.0" features = ["derive"] [build-dependencies.serde_json] version = "1.0" [build-dependencies.tar] version = "0.4" [build-dependencies.ureq] version = "2.4" [features] assimp = ["russimp-sys-static"] default = [ "prebuilt", "assimp", ] prebuilt = ["russimp-sys-static/prebuilt"]