{"action":"created","issue":{"url":"https://api.github.com/repos/uuid-rs/uuid/issues/329","repository_url":"https://api.github.com/repos/uuid-rs/uuid","labels_url":"https://api.github.com/repos/uuid-rs/uuid/issues/329/labels{/name}","comments_url":"https://api.github.com/repos/uuid-rs/uuid/issues/329/comments","events_url":"https://api.github.com/repos/uuid-rs/uuid/issues/329/events","html_url":"https://github.com/uuid-rs/uuid/issues/329","id":365165881,"node_id":"MDU6SXNzdWUzNjUxNjU4ODE=","number":329,"title":"Support serialization as `[u8; 16]` rather than as `&[u8]`","user":{"login":"smarnach","id":249196,"node_id":"MDQ6VXNlcjI0OTE5Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/249196?v=4","gravatar_id":"","url":"https://api.github.com/users/smarnach","html_url":"https://github.com/smarnach","followers_url":"https://api.github.com/users/smarnach/followers","following_url":"https://api.github.com/users/smarnach/following{/other_user}","gists_url":"https://api.github.com/users/smarnach/gists{/gist_id}","starred_url":"https://api.github.com/users/smarnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarnach/subscriptions","organizations_url":"https://api.github.com/users/smarnach/orgs","repos_url":"https://api.github.com/users/smarnach/repos","events_url":"https://api.github.com/users/smarnach/events{/privacy}","received_events_url":"https://api.github.com/users/smarnach/received_events","type":"User","site_admin":false},"labels":[{"id":118278775,"node_id":"MDU6TGFiZWwxMTgyNzg3NzU=","url":"https://api.github.com/repos/uuid-rs/uuid/labels/Type:Enhancement","name":"Type:Enhancement","color":"7333af","default":false},{"id":1073285236,"node_id":"MDU6TGFiZWwxMDczMjg1MjM2","url":"https://api.github.com/repos/uuid-rs/uuid/labels/hacktoberfest","name":"hacktoberfest","color":"e89e84","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/uuid-rs/uuid/milestones/13","html_url":"https://github.com/uuid-rs/uuid/milestone/13","labels_url":"https://api.github.com/repos/uuid-rs/uuid/milestones/13/labels","id":3636638,"node_id":"MDk6TWlsZXN0b25lMzYzNjYzOA==","number":13,"title":"0.7.2","description":"","creator":{"login":"kinggoesgaming","id":15664607,"node_id":"MDQ6VXNlcjE1NjY0NjA3","avatar_url":"https://avatars0.githubusercontent.com/u/15664607?v=4","gravatar_id":"","url":"https://api.github.com/users/kinggoesgaming","html_url":"https://github.com/kinggoesgaming","followers_url":"https://api.github.com/users/kinggoesgaming/followers","following_url":"https://api.github.com/users/kinggoesgaming/following{/other_user}","gists_url":"https://api.github.com/users/kinggoesgaming/gists{/gist_id}","starred_url":"https://api.github.com/users/kinggoesgaming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinggoesgaming/subscriptions","organizations_url":"https://api.github.com/users/kinggoesgaming/orgs","repos_url":"https://api.github.com/users/kinggoesgaming/repos","events_url":"https://api.github.com/users/kinggoesgaming/events{/privacy}","received_events_url":"https://api.github.com/users/kinggoesgaming/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":6,"state":"open","created_at":"2018-09-09T19:47:15Z","updated_at":"2018-10-02T05:36:23Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2018-09-29T20:49:52Z","updated_at":"2018-10-02T13:51:44Z","closed_at":null,"author_association":"NONE","body":"**Is your feature request related to a problem? Please describe.**\r\nCurrently, serialization and deserialization are performed as a slice rather than a fixed-sized array.  When using the `bincode` codec, this means that the raw data is prefixed with a redundant length tag (`16usize`), which is unsuitable for loading binary datastructures containing UUIDs.  It is also unexpected that a UUID is serialized in a different way than `[u8; 16]`, since it essentially _is_ an `[u8; 16]`.\r\n\r\n**Describe the solution you'd like**\r\nI would like to be able to serialize a UUID as if it was a `[u8; 16]` in non-human-readable codecs.  This could be protected by a new feature flag to avoid breaking compatibility with old serialized data.\r\n\r\n**Is it blocking?**\r\nNot really, since we stopped using this crate because of this issue.  While it would be possible to implement a different serialization for the `UUID` type, it was easier for us to use a plain `[u8;16]` instead.\r\n\r\n**Describe alternatives you've considered**\r\nI looked into writing my own serialization and deserialization functions.  It would be nice if this was supported out of the box, though.\r\n\r\n**Additional context**\r\nN/A\r\n\r\n**Other**\r\nN/A"},"comment":{"url":"https://api.github.com/repos/uuid-rs/uuid/issues/comments/426281579","html_url":"https://github.com/uuid-rs/uuid/issues/329#issuecomment-426281579","issue_url":"https://api.github.com/repos/uuid-rs/uuid/issues/329","id":426281579,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjI4MTU3OQ==","user":{"login":"Redrield","id":8991639,"node_id":"MDQ6VXNlcjg5OTE2Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/8991639?v=4","gravatar_id":"","url":"https://api.github.com/users/Redrield","html_url":"https://github.com/Redrield","followers_url":"https://api.github.com/users/Redrield/followers","following_url":"https://api.github.com/users/Redrield/following{/other_user}","gists_url":"https://api.github.com/users/Redrield/gists{/gist_id}","starred_url":"https://api.github.com/users/Redrield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Redrield/subscriptions","organizations_url":"https://api.github.com/users/Redrield/orgs","repos_url":"https://api.github.com/users/Redrield/repos","events_url":"https://api.github.com/users/Redrield/events{/privacy}","received_events_url":"https://api.github.com/users/Redrield/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T13:51:44Z","updated_at":"2018-10-02T13:51:44Z","author_association":"NONE","body":"Could implementation detail discussion go in the PR that I have opened so I can check there to see what changes from what I have implemented may need to be done?"}}
{"actor":{"display_login":"Redrield"}}