-
Notifications
You must be signed in to change notification settings - Fork 59
Remove SizeOf
implementation for Felt
#140
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
Conversation
The size-of crate was required in https://github.com/starkware-libs/sequencer/. In particular, the SizeOf trait needed to be implemented for Felt, which, due to Rust's orphan rule, had to be implemented in this repository. I've switched the use of size-of to an internal crate in https://github.com/starkware-libs/sequencer/ (see starkware-libs/sequencer#8002), so it should no longer be required, at least as far as the sequencer is concerned. |
Thank you! Is it possible to use an internal crate in |
As far as I understand, it is not currently being used |
This reverts commit c50ed21.
This reverts commit 7887d3c.
This reverts commit 7887d3c.
Reverts #123
size-of
crate is unmaintained and doesn't compile on architectures other thanx86
when Rust version is>1.89
.See the issue in
size-of
and explanation of the error in Rust compiler.Pull Request type
Please add the labels corresponding to the type of changes your PR introduces:
What is the current behavior?
Resolves: #NA
What is the new behavior?
Does this introduce a breaking change?
Theoretically, this is a breaking change. However, no crate actually uses the implementation of
SizeOf
, so in practice it isn't.Other information