File: README.md

package info (click to toggle)
rust-rust-decimal 1.36.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,232 kB
  • sloc: makefile: 2
file content (16 lines) | stat: -rw-r--r-- 427 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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:

```shell
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.