Closed febo closed 1 month ago
Latest commit: e4c2deaaf4decba8f43b080340ba6593a5d9dc88
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Problem
The Rust renderer includes the implementation of Anchor traits by default under the
anchor
andanchor-idl-build
features. This creates a problem when generating a client for asolana-program
version not compatible with Anchor.Solution
Add an
anchorTraits
option to the Rust renderer to be able to toggle the implementation of Anchor traits. The default value is set totrue
to keep the current behaviour.