Skip to content

Commit 77ad09f

Browse files
committed
Add option documentation
1 parent ed03d42 commit 77ad09f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/renderers-rust/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ The `renderVisitor` accepts the following options.
4747
| `dependencyMap` | `Record<string, string>` | `{}` | A mapping between import aliases and their actual crate name or path in Rust. |
4848
| `renderParentInstructions` | `boolean` | `false` | When using nested instructions, whether the parent instructions should also be rendered. When set to `false` (default), only the instruction leaves are being rendered. |
4949
| `traitOptions` | [`TraitOptions`](#trait-options) | `DEFAULT_TRAIT_OPTIONS` | A set of options that can be used to configure how traits are rendered for every Rust types. See [documentation below](#trait-options) for more information. |
50+
| `anchorTraits` | `boolean` | `true` | Whether to generate Anchor traits `impl` for account types. |
5051

5152
## Trait Options
5253

0 commit comments

Comments
 (0)