Files
2026-08-01 16:11:49 +03:00

535 B

Examples

This contains some more advanced examples of using the rust decimal library of complex usage.

All examples are crate based to demonstrate feature configurations. Examples can be run by using:

cd examples/<example-name>
cargo run

serde-json-scenarios

This example shows how to use the serde crate to serialize and deserialize the Decimal type using multiple different serialization formats.

rkyv-remote

This example shows shows how to use the rkyv crate's remote derive for the Decimal type.