| 1 | # Examples |
| 2 | |
| 3 | This contains some more advanced examples of using the rust decimal library of complex usage. |
| 4 | |
| 5 | All examples are crate based to demonstrate feature configurations. Examples can be run by using: |
| 6 | |
| 7 | ```shell |
| 8 | cd examples/<example-name> |
| 9 | cargo run |
| 10 | ``` |
| 11 | |
| 12 | ## serde-json-scenarios |
| 13 | |
| 14 | This example shows how to use the `serde` crate to serialize and deserialize the `Decimal` type using multiple different |
| 15 | serialization formats. |
| 16 | |
| 17 | ## rkyv-remote |
| 18 | |
| 19 | This example shows shows how to use the `rkyv` crate's remote derive for the `Decimal` type. |