Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

sdk: Implement borsh traits via a proxy crate #32668

@joncinque

Description

@joncinque

Problem

#32511 adds the borsh 0.9 traits to Pubkey, but because of how the crate name is resolved in the macro, the implementations for the older traits have to be done by hand, which is error-prone and tedious.

Proposed Solution

Implement the traits via a proxy crate, just like https://github.com/ilya-bobyr/borsh-multi-version/

cc @ilya-bobyr

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions