We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
simd-json v0.14.0
When writing tuple enum variants simd_json is missing to close block bracket
When trying to run following test
#[test] fn write_err_simd_json_tuple() { #[derive(Serialize, Clone)] enum ErrType { Instruction(i64, i64), } let err = ErrType::Instruction(2, 68800); #[derive(Serialize)] struct Status { err: Option<ErrType>, } assert_eq!( simd_json::to_string(&Status { err: Some(err.clone()) }) .unwrap(), serde_json::to_string(&Status { err: Some(err) }).unwrap(), ); }
It results with error:
---- messages::tests::write_err_simd_json_tuple stdout ---- thread 'messages::tests::write_err_simd_json_tuple' panicked at src/messages.rs:134:9: assertion `left == right` failed left: "{\"err\":{\"Instruction\":[2,68800}}" right: "{\"err\":{\"Instruction\":[2,68800]}}" note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The text was updated successfully, but these errors were encountered:
Good catch, I'll fix and publish a new version this evening
Sorry, something went wrong.
@dunnock released as 0.14.1, tanks again :)
Awesome, thank you for prompt fix!
Licenser
Successfully merging a pull request may close this issue.
Version
simd-json v0.14.0
Description
When writing tuple enum variants simd_json is missing to close block bracket
Test
When trying to run following test
Error
It results with error:
The text was updated successfully, but these errors were encountered: