/hassle-rs

This crate provides an FFI layer and idiomatic rust wrappers for the new DirectXShaderCompiler library.

Primary LanguageRustMIT LicenseMIT

hassle-rs

hassle on travis-ci.com Latest version Documentation Lines of code MIT

This crate provides an FFI layer and idiomatic rust wrappers for the new DirectXShaderCompiler library.

Usage

Add this to your Cargo.toml:

[dependencies]
hassle-rs = "0.3.0"

and add this to your crate root:

extern crate hassle_rs;

Then acquire dxcompiler.dll directly from AppVeyor or compile it from source according to the instructions in the DirectXShaderCompiler GitHub repository and make sure it's in the executable enviroment.

DxcValidator also requires dxil.dll which can be grabbed from any recent Windows 10 SDK flight. More info: https://www.wihlidal.com/blog/pipeline/2018-09-16-dxil-signing-post-compile/

License

Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)

Contibutions

  • Graham Wihlidal
  • Tiago Carvalho

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, shall be licensed as above, without any additional terms or conditions.

Contributions are always welcome; please look at the issue tracker to see what known improvements are documented.