Skip to content

Commit 5e54cb0

Browse files
authored
Update README with JSON config examples for CRC
1 parent c53afbc commit 5e54cb0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,21 @@ Here's another JSON containing multiple configs:
104104
}
105105
```
106106

107+
JSON containing multiple configs for the same algorithm:
108+
```JSON
109+
{
110+
// Default CRC config that will be used for callees without a suffix.
111+
"CRC": {
112+
"profile": "CRC32"
113+
},
114+
115+
// CRC config for myCrc1 suffix.
116+
"CRC:myCrc1": {
117+
"profile": "CRC64"
118+
},
119+
}
120+
```
121+
107122
> [!NOTE]
108123
> JSON input is ignored when `-cp` or `--config-profiles` exists in the command line parameters.
109124
> Make sure to use only one of them.

0 commit comments

Comments
 (0)