-
Notifications
You must be signed in to change notification settings - Fork 186
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
Non-Standardized Supporting #236
Non-Standardized Supporting #236
Conversation
I'd appreciate if you can add CI build run for no_std as well! |
Could you explain a bit on the motivation for no std support? What part of the crate is still useful without std? Why does HashMap have to change to BTreeMap? |
|
Okay. Interesting, why the CI failed?
|
Please remove check and test command in CI, and add build. |
Please review. |
CI is failing! |
I see. |
ethabi/Cargo.toml
Outdated
@@ -28,7 +28,6 @@ paste = "1" | |||
|
|||
[features] | |||
default = [ | |||
"std", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just wrong. By default std
should be enabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just wrong. By default
std
should be enabled.
But the full-serde
contains std
. Should I explicitly write it here again?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay. I found a corner case. You're right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about ^^^
The full-serde
is enabled by default
. So std
is always enabled by defualt
.
I revamp my old implementation #211.
Reader
/Tokenizer
/serde
/serde_json
should be enabled by--features full-serde
.Writer
in no-std, because I found it was used insignature
.Error::FromUtf8Error
removed, cause can't find any usage of it.HashMap
change toBTreeMap
for no-std. !!BREAKING change!!@sorpaas