Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Init space can be difficult to set up for crate outsider types #2765

Open
Aursen opened this issue Jan 10, 2024 · 0 comments
Open

The Init space can be difficult to set up for crate outsider types #2765

Aursen opened this issue Jan 10, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request lang

Comments

@Aursen
Copy link
Contributor

Aursen commented Jan 10, 2024

Actually, the derive InitSpace macro don't have a easiest way to set a raw space for any field. If this field does not implement the space trait it can be painful.

My solution est to add an attribute #[space(len)] to have the possibility to add raw space or override the current calculation of the space

You can assign the task to me I will handle it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lang
Projects
None yet
Development

No branches or pull requests

2 participants