custom_files.rs |
An example that shows how to implement a simple custom file database.
The database uses 32-bit file-ids, which could be useful for optimizing
memory usage.
To run this example, execute the following command from the top level of
this repository:
```sh
cargo run --example custom_files
``` |
6167 |
peg_calculator.rs |
An example of using `peg` with `codespan_reporting`.
To run this example, execute the following command from the top level of
this repository:
```sh
cargo run --example peg_calculator
``` |
2204 |
readme_preview.rs |
Renders the preview SVG for the README.
To update the preview, execute the following command from the top level of
the repository:
```sh
cargo run --example readme_preview svg > codespan-reporting/assets/readme_preview.svg
``` |
10873 |
reusable_diagnostic.rs |
|
3446 |
term.rs |
To run this example, execute the following command from the top level of
this repository:
```sh
cargo run --example term
``` |
5903 |