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

Put std use behind a feature #38

Closed
leighmcculloch opened this issue May 4, 2022 · 1 comment · Fixed by #40
Closed

Put std use behind a feature #38

leighmcculloch opened this issue May 4, 2022 · 1 comment · Fixed by #40
Assignees

Comments

@leighmcculloch
Copy link
Member

@graydon pointed out that there value in us making the xdr lib usable inside contracts, at least so we can use enum values, but maybe someone will need other things too.

The main thing we need to exclude is any std dependency. We should add a feature std and when it is disabled drop any functionality that requires std.

@leighmcculloch
Copy link
Member Author

leighmcculloch commented May 4, 2022

Note that this issue does not preclude the use of alloc which is separately addressed by #39.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant