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

fix: fix deserializing owned hex string #35

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

blckngm
Copy link
Contributor

@blckngm blckngm commented Sep 4, 2023

  • Fix deserializing owned hex string

    We should first deserialize to Cow<str>, or it won't work with a escaped string or crates that don't support deserializing borrowed [u8]/str (e.g. toml, fix: Hex serde deserialize axonweb3/axon#1396).

  • Don't depend on serde derive, and don't export faster_hex_serde_macros

    These are some minor clean-ups. If you don't like them I can remove them.

and don't depend on serde derive, and don't export
faster_hex_serde_macros
@zhangsoledad zhangsoledad added this pull request to the merge queue Sep 6, 2023
Merged via the queue into nervosnetwork:master with commit ba216aa Sep 6, 2023
5 checks passed
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 this pull request may close these issues.

3 participants