#hax #driver #engine #json #rustc

hax-types

Helper crate defining the types used to communicate between the custom rustc driver, the CLI and the engine of hax

12 releases

Uses new Rust 2024

new 0.3.6 Jan 15, 2026
0.3.5 Oct 2, 2025
0.3.4 Sep 3, 2025
0.3.2 Jul 24, 2025
0.1.0-alpha.1 Oct 7, 2024

#393 in Hardware support


Used in 3 crates

Apache-2.0

475KB
11K SLoC

hax-types

This crate contains the type definitions that are used to communicate between:

  • the command line (the cargo-hax binary);
  • the custom rustc driver;
  • the hax engine (the hax-engine binary).

Those three component send and receive messages in JSON or CBOR on stdin and stdout.

Dependencies

~12–26MB
~251K SLoC