Skip to content
pigeonhandsPublic

About

Reads and writes .NET assemblies and modules in rust

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

169 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

hao

(verb) (-a) to catch in a net, fish (with a net).

Kua taha ngā rā i hao ai i te ika o te moana, o te wai māori. / The days have passed to net the fish of the ocean and fresh water.

github-badge crates-hao-badge docs License


Tools for working with .NET assemblies and runtimes from Rust.

crate version
hao read, edit, create and write .NET assemblies (like dnlib / Mono.Cecil)
hao-runtime host CoreCLR or Mono in a Rust process and call managed code
hao-runtime-macros bind! generates Rust bindings to a .NET assembly
hao-il2cpp read Unity Il2Cpp games and generate assemblies for them (work in progress)
hao-il2cpp-runtime hook and call into Il2Cpp games from inside the game, like MelonLoader
hao-il2cpp-unity typed Unity wrappers (game objects, UI, scenes) for Il2Cpp mods, and example mods
hao-runtime-tests — binding tests (not published)

hao's PE handling comes from pewter.

Tests

cargo test --workspace
cargo test --workspace --release -- --include-ignored   # also rewrites the installed .NET framework

Tests that need the dotnet SDK, Mono, or game files skip themselves when those aren't available.

About

Reads and writes .NET assemblies and modules in rust

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages