Find a file
arnaucube 5236b46214
Migrate fmt to use Display trait (#44)
Migrate fmt to use Display trait to simplify the usage of it.

Also with this, in the same snipped of code we can print types from
backend, middleware and frontend; which before needed to import the two
different `Printer` structs (frontend::Printer and mock_main::Printer).

Before:
```
let printer = mock_main::Printer { skip_none: false };
let mut w = io::stdout();
printer.fmt_mock_main_pod(&mut w, &pod).unwrap();

let printer = frontend::Printer { skip_none: false };
printer.fmt_main_pod_builder(&mut w, &pod_builder).unwrap();
```

now:
```
println!("{:#}", pod);
println!("{:#}", pod_builder);
```

And the equivalent to the old `skip_none: true`, now is done by just
using `println!("{}", pod);
2025-02-10 12:37:11 +01:00
.github/workflows Extend merkletree spec, init SignedPod section, add typos checker in CI (#31) 2025-02-05 16:37:16 +01:00
book Add Plonky2 string hash definition (#32) 2025-02-06 10:55:38 -08:00
src Migrate fmt to use Display trait (#44) 2025-02-10 12:37:11 +01:00
.gitignore feat: move code here (#11) 2025-01-31 16:20:57 +01:00
Cargo.toml feat: add middleware and signer traits (#18) 2025-02-04 12:35:32 +01:00
README.md Extend merkletree spec, init SignedPod section, add typos checker in CI (#31) 2025-02-05 16:37:16 +01:00
rust-toolchain.toml add initial MerkleTree implementation (#13) 2025-02-03 18:03:45 +01:00

POD2

Usage

  • Run tests: cargo test --release

Book

The book contains the specification of POD2. A rendered version of the site can be found at: https://0xparc.github.io/pod2/

To run it locally:

  • Requirements
  • Go to the book directory: cd book
  • Run the mdbook: mdbook serve