{"action":"created","issue":{"url":"https://api.github.com/repos/alexcrichton/brotli2-rs/issues/5","repository_url":"https://api.github.com/repos/alexcrichton/brotli2-rs","labels_url":"https://api.github.com/repos/alexcrichton/brotli2-rs/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/alexcrichton/brotli2-rs/issues/5/comments","events_url":"https://api.github.com/repos/alexcrichton/brotli2-rs/issues/5/events","html_url":"https://github.com/alexcrichton/brotli2-rs/pull/5","id":163664824,"number":5,"title":"Updated the native brotli library to the latest version.","user":{"login":"Fraser999","id":190532,"avatar_url":"https://avatars.githubusercontent.com/u/190532?v=3","gravatar_id":"","url":"https://api.github.com/users/Fraser999","html_url":"https://github.com/Fraser999","followers_url":"https://api.github.com/users/Fraser999/followers","following_url":"https://api.github.com/users/Fraser999/following{/other_user}","gists_url":"https://api.github.com/users/Fraser999/gists{/gist_id}","starred_url":"https://api.github.com/users/Fraser999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fraser999/subscriptions","organizations_url":"https://api.github.com/users/Fraser999/orgs","repos_url":"https://api.github.com/users/Fraser999/repos","events_url":"https://api.github.com/users/Fraser999/events{/privacy}","received_events_url":"https://api.github.com/users/Fraser999/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-04T12:15:29Z","updated_at":"2016-07-06T16:52:47Z","closed_at":"2016-07-05T20:14:26Z","pull_request":{"url":"https://api.github.com/repos/alexcrichton/brotli2-rs/pulls/5","html_url":"https://github.com/alexcrichton/brotli2-rs/pull/5","diff_url":"https://github.com/alexcrichton/brotli2-rs/pull/5.diff","patch_url":"https://github.com/alexcrichton/brotli2-rs/pull/5.patch"},"body":"The latest brotli encoding lib is now a C library rather than C++, so this has allowed removal\r\nof the `brotli_capi` wrappers.\r\n\r\nThe main motivation for this PR is to enable brotli2-rs to be cross-compiled for musl easily.  Since musl doesn't provide a g++ wrapper, the inclusion of C++ files in the compression library is difficult to work around.\r\n\r\nI ported the remaining small amount of C++ code in [`BrotliCompress()`](https://github.com/google/brotli/blob/master/enc/compressor.cc#L86-L136), [`BrotliMemIn`](https://github.com/google/brotli/blob/master/enc/streams.cc#L58-L80) and [`MyBrotliOut`](https://github.com/Fraser999/brotli2-rs/blob/master/brotli-sys/src/brotli_capi.cc#L82-L95) to Rust in [`compress_vec()`](https://github.com/Fraser999/brotli2-rs/blob/use_c_lib/src/stream.rs#L391-L445)."},"comment":{"url":"https://api.github.com/repos/alexcrichton/brotli2-rs/issues/comments/230835059","html_url":"https://github.com/alexcrichton/brotli2-rs/pull/5#issuecomment-230835059","issue_url":"https://api.github.com/repos/alexcrichton/brotli2-rs/issues/5","id":230835059,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T16:52:47Z","updated_at":"2016-07-06T16:52:47Z","body":"Cool, thanks @Fraser999! I've updated to 0.2.0 as well and published to crates.io"}}
{"actor":{"display_login":"alexcrichton"}}