# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "dxplr" version = "0.0.25" authors = ["LNSEAB "] description = "Rust wrapper around D3D11, D3D12, DXGI, D2D and DWrite" documentation = "https://docs.rs/dxplr" readme = "README.md" keywords = ["windows", "directx"] license = "MIT/Apache-2.0" repository = "https://github.com/LNSEAB/dxplr" [package.metadata.docs.rs] default-target = "x86_64-pc-windows-msvc" features = ["d3d11_4", "d3d11sdklayers", "d3d12", "d3d12sdklayers", "dxgi1_6", "d3dcompiler", "d3d11on12", "d2d1_3", "dwrite_3"] [[example]] name = "d3d11_triangle" path = "./examples/d3d11/triangle/main.rs" required-features = ["d3d11", "dxgi", "d3dcompiler"] [[example]] name = "d3d11_texture" path = "./examples/d3d11/texture/main.rs" required-features = ["d3d11", "dxgi1_2", "d3dcompiler"] [[example]] name = "d3d12_triangle" path = "./examples/d3d12/triangle/main.rs" required-features = ["d3d12", "d3d12sdklayers", "dxgi1_4", "d3dcompiler"] [[example]] name = "d3d12_texture" path = "./examples/d3d12/texture/main.rs" required-features = ["d3d12", "d3d12sdklayers", "dxgi1_4", "d3dcompiler"] [[example]] name = "d3d12_compute" path = "./examples/d3d12/compute/main.rs" required-features = ["d3d12", "d3d12sdklayers", "dxgi1_4", "d3dcompiler"] [[example]] name = "d2d1_hello" path = "./examples/d2d1/hello/main.rs" required-features = ["d2d1", "dwrite"] [dependencies.com_ptr] version = "0.1.3" [dependencies.thiserror] version = "1.0.20" [dependencies.winapi] version = "0.3.9" features = ["impl-default", "winbase", "winuser", "libloaderapi", "handleapi", "synchapi"] [dev-dependencies.image] version = "0.23.8" [dev-dependencies.winit] version = "0.22.2" [features] d2d1 = ["winapi/d2d1", "winapi/d2d1effects", "winapi/dcommon"] d2d1_1 = ["d2d1", "winapi/d2d1_1"] d2d1_2 = ["d2d1_1", "winapi/d2d1_2", "winapi/d2d1effects_1"] d2d1_3 = ["d2d1_2", "winapi/d2d1_3", "winapi/d2d1effects_2", "winapi/d2d1svg"] d3d11 = ["dxgi", "winapi/d3d11", "winapi/d3dcommon"] d3d11_1 = ["d3d11", "winapi/d3d11_1"] d3d11_2 = ["d3d11_1", "winapi/d3d11_2"] d3d11_3 = ["d3d11_2", "winapi/d3d11_3"] d3d11_4 = ["d3d11_3", "winapi/d3d11_4"] d3d11on12 = ["d3d11", "d3d12", "winapi/d3d11on12"] d3d11sdklayers = ["d3d11", "dxgi", "winapi/d3d11sdklayers"] d3d12 = ["dxgi", "winapi/d3d12", "winapi/d3dcommon"] d3d12sdklayers = ["winapi/d3d12sdklayers"] d3dcompiler = ["winapi/d3dcompiler", "winapi/stringapiset"] dwrite = ["winapi/dwrite"] dwrite_1 = ["dwrite", "winapi/dwrite_1"] dwrite_2 = ["dwrite_1", "winapi/dwrite_2"] dwrite_3 = ["dwrite_2", "winapi/dwrite_3"] dxgi = ["winapi/dxgi"] dxgi1_2 = ["dxgi", "winapi/dxgi1_2"] dxgi1_3 = ["dxgi1_2", "winapi/dxgi1_3"] dxgi1_4 = ["dxgi1_3", "winapi/dxgi1_4"] dxgi1_5 = ["dxgi1_4", "winapi/dxgi1_5"] dxgi1_6 = ["dxgi1_5", "winapi/dxgi1_6"] dxgidebug = ["winapi/dxgidebug"]