# 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 = "2018" name = "rokol" version = "0.4.0" authors = ["toyboot4e "] exclude = ["examples", "book"] description = "Rust bindings to Sokol" keywords = ["graphics", "gamedev"] categories = ["game-development", "graphics"] license = "MIT" repository = "https://github.com/toyboot4e/rokol" [package.metadata.docs.rs] features = ["impl-app", "sdl2", "impl-gfx", "glcore33", "fontstash"] [dependencies.bitflags] version = "1.2.1" [dependencies.fontstash] version = "0.1.6" optional = true [dependencies.log] version = "0.4.11" [dependencies.rokol_derive] version = "0.2.0" optional = true [dependencies.rokol_ffi] version = "0.3.0" [dependencies.sdl2] version = "0.35.1" optional = true [dependencies.serde] version = "1.0.130" features = ["std", "derive"] optional = true [features] d3d11 = ["rokol_ffi/d3d11"] default = ["sdl2", "impl-gfx", "serde", "glcore33", "fontstash"] glcore33 = ["rokol_ffi/glcore33"] impl-app = ["rokol_ffi/impl-app"] impl-gfx = ["rokol_ffi/impl-gfx", "rokol_derive"] metal = ["rokol_ffi/metal"]