Registry / other / hassle-rs

hassle-rs

JSON →
library0.12.0rscratesunverified

HLSL compiler library providing an FFI layer and idiomatic Rust wrappers for the DXC HLSL compiler and validator.

# Cargo.toml [dependencies] hassle-rs = "0.12.0"
INSTALL
IMPORT
SIG · HASSLE-RS
H
hassle-rs
otherrustv0.12.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Hassle
use hassle_rs::Hassle;

Initializing the DXC HLSL compiler

use hassle_rs::Hassle; fn main() { let compiler = Hassle::new().expect("Failed to create DXC compiler"); println!("HLSL compiler initialized"); }
Debug
Known issues
gotchaRequires DXC (DirectX Shader Compiler) binaries or libraries installed on the system.
fix
Install DXC from Microsoft or build from source.
affects: >=0.0.0
Upgrade
Version history
0.12.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
hassle-rs — cargo add hassle-rs · libregistry