-
Notifications
You must be signed in to change notification settings - Fork 14
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
[Rust] Consider using bstr for deserialized strings #110
Comments
My current plan:
Open questions:
@kristoff3r @jorgecarleitao Do you have any opinions on this? |
In general I am in favor. My usual questions on this are:
I think it is fine to bump version - do what you feel to make this crate better, even if that requires breaking the public API. |
Yes, but only indirectly. You will not need to change your Cargo.toml.
It improves it. It will make it optional to pay for utf-8 validation.
It does not affect it directly. If we allow encoding
👍 |
Parsing strings as I personally think it should be optional, but I don't have a strong opinion. |
@kristoff3r I think I feel the same way. If you want to re-export a string, you will have to check if it's valid utf-8. |
Related: #8 |
We should consider using bstr for strings in the deserializer once it reaches 1.0.
The text was updated successfully, but these errors were encountered: