Cannot deserialize after tuple serialization method
- Dominant language
- Rust
- Stars
- 1.4k
- Forks
- 162
- PR merge metrics
- No merged PRs in 30d
Description
Here are the bytes produced (valid).
```
dc 00 11 91 cf 05 88 12 52 88 c2 00 0a 90 95 91 cf 01 ad fd 36 26 40 00 00 d9 22 61 5f 63 35 65 64 63 37 31 61 66 66 37 65 33 63 35 39 61 64 31 36 31 37 32 64 31 37 66 31 35 66 38 39 c2 cd 04 d2 aa 6a 6b 63 63 6c 65 6d 65 6e 73 91 cf 04 43 f6 43 ab c2 00 01 da 02 4a 2a 2a 57 65 6c 63 6f 6d 65 20 74 6f 20 74 68 65 20 6c 61 6c 61 20 77 6f 72 6c 64 20 44 69 73 63 6f 72 64 21 2a 2a 0a 0a 46 6f 6c 6c 6f 77 20 74 68 65 73 65 20 73 74 65 70 73 20 74 6f 20 62 65 20 67 72 61 6e 74 65 64 20 66 75 6c 6c 20 61 63 63 65 73 73 20 74 6f 20 74 68 65 20 73 65 72 76 65 72 2e 0a 0a 31 2e 20 20 49 6e 20 74 68 69 73 20 63 68 61 6e 6e 65 6c 2c 20 75 73 65 20 74 68 65 20 60 21 61 75 74 6f 74 61 67 60 20 63 6f 6d 6d 61 6e 64 20 74 6f 20 74 61 67 20 79 6f 75 72 73 65 6c 66 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 74 6f 20 74 61 67 20 6d 79 73 65 6c 66 20 61 73 20 44 75 76 69 63 61 75 72 6f 69 78 20 50 72 69 6f 72 66 61 69 78 20 6f 6e 20 41 64 61 6d 61 6e 74 6f 69 73 65 2c 20 49 20 77 6f 75 6c 64 20 73 65 6e 64 20 60 21 61 75 74 6f 74 61 67 20 41 64 61 6d 61 6e 74 6f 69 73 65 20 44 75 76 69 63 61 75 72 6f 69 78 20 50 72 69 6f 72 66 61 69 78 60 0a 0a 32 2e 20 41 66 74 65 72 20 74 61 67 67 69 6e 67 20 79 6f 75 72 73 65 6c 66 2c 20 67 6f 20 74 6f 20 3c 23 33 39 38 33 35 33 38 33 32 37 34 31 39 36 31 37 34 39 3e 20 61 6e 64 20 73 63 72 6f 6c 6c 20 61 6c 6c 20 74 68 65 20 77 61 79 20 74 6f 20 74 68 65 20 76 65 72 79 20 74 6f 70 20 6f 66 20 74 68 65 20 63 68 61 6e 6e 65 6c 2e 20 52 65 61 64 20 74 68 65 20 72 75 6c 65 73 20 74 68 65 72 65 20 61 6e 64 20 64 6f 20 74 68 65 20 61 63 74 69 6f 6e 20 74 68 65 79 20 74 65 6c 6c 20 79 6f 75 20 74 6f 20 64 6f 2e 0a 0a 33 2e 20 43 6f 6d 65 20 63 68 61 74 20 77 69 74 68 20 75 73 20 69 6e 20 3c 23 33 30 37 33 36 37 30 36 39 37 37 37 37 38 38 39 32 38 3e 21 0a 0a 49 66 20 79 6f 75 27 72 65 20 2a 72 65 61 6c 6c 79 2a 20 73 74 72 75 67 67 6c 69 6e 67 2c 20 6c 6f 6f 6b 20 68 65 72 65 3a 20 68 74 74 70 73 3a 2f 2f 6c 61 6c 61 66 65 6c 6c 2e 77 6f 72 6c 64 2f 74 75 74 6f 72 69 61 6c 2f bd 32 30 31 38 2d 30 32 2d 30 34 54 31 36 3a 33 30 3a 31 33 2e 38 35 32 2b 30 30 3a 30 30 90 00 c2 90 90 c0 c2 90 bd 32 30 31 38 2d 30 31 2d 30 34 54 32 31 3a 32 39 3a 31 34 2e 35 33 31 2b 30 30 3a 30 30 c2 c0
```
Putting them into [this site](https://kawanet.github.io/msgpack-lite/) shows the serialization worked correctly.
[Here](https://docs.rs/serenity/0.5.1/serenity/model/channel/struct.Message.html) is the struct that was serialized.
This crate produces `Syntax("invalid type: sequence, expected identifier")` when deserializing.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.