vergilius

Crates.iovergilius
lib.rsvergilius
version0.1.2
sourcesrc
created_at2024-06-11 21:06:25.061308
updated_at2024-06-11 22:01:17.439441
descriptionAutomatically generated Windows internals structures from vergiliusproject.com
homepagehttps://github.com/novafacing/vergilius-rs
repositoryhttps://github.com/novafacing/vergilius-rs
max_upload_size
id1268909
size87,367,406
Rowan Hart (novafacing)

documentation

https://docs.rs/vergilius

README

Vergilius RS

Rust auto-generated bindings from the C structures published at vergiliusproject.com.

Generating

To generate headers:

cargo run --bin generate-headers --features=generate

You will then need to make a couple modifications to some files. To list the errors, just compile a header like clang -Wno-everything -o /dev/null headers/bindings-10.0.22631-2428-x64.h.

  • Move definition before first use
    • NOTE: Structure dependencies are resolved using a topological ordering, but dependencies with cycles sometimes resolve in the wrong order (typically only 1-2 per file)
  • Rename enum definition with < in the name

To generate bindings:

cargo run --bin generate-bindings --features=generate
Commit count: 18

cargo fmt