{"action":"created","issue":{"url":"https://api.github.com/repos/bos/wreq/issues/78","labels_url":"https://api.github.com/repos/bos/wreq/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/bos/wreq/issues/78/comments","events_url":"https://api.github.com/repos/bos/wreq/issues/78/events","html_url":"https://github.com/bos/wreq/pull/78","id":123411248,"number":78,"title":"[WIP] Conversion to `microlens`","user":{"login":"fosskers","id":229679,"avatar_url":"https://avatars.githubusercontent.com/u/229679?v=3","gravatar_id":"","url":"https://api.github.com/users/fosskers","html_url":"https://github.com/fosskers","followers_url":"https://api.github.com/users/fosskers/followers","following_url":"https://api.github.com/users/fosskers/following{/other_user}","gists_url":"https://api.github.com/users/fosskers/gists{/gist_id}","starred_url":"https://api.github.com/users/fosskers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fosskers/subscriptions","organizations_url":"https://api.github.com/users/fosskers/orgs","repos_url":"https://api.github.com/users/fosskers/repos","events_url":"https://api.github.com/users/fosskers/events{/privacy}","received_events_url":"https://api.github.com/users/fosskers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-12-22T04:43:42Z","updated_at":"2015-12-29T21:22:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bos/wreq/pulls/78","html_url":"https://github.com/bos/wreq/pull/78","diff_url":"https://github.com/bos/wreq/pull/78.diff","patch_url":"https://github.com/bos/wreq/pull/78.patch"},"body":"### Motivation\r\n#### General\r\n`lens` is a very heavy dependency. This PR moves `wreq` off of `lens` and onto `microlens`, a performant subset of `lens` which has few dependencies and covers many use cases.\r\n\r\n#### Specific\r\n`aura` (a package manager) uses `aur` which uses `wreq` to access the Arch Linux AUR api. `aura`'s executable size would be significantly reduced if the full `lens` dependency were removed. \r\n\r\n@bos , please let me know if you have no intention of merging this, and I will fork the project.\r\n\r\n### TODO\r\n\r\n- [x] Rip out `lens`\r\n- [ ] Deal with `lens-aeson`. `microlens-aeson`? :)\r\n- [ ] Get tests to work\r\n- [ ] Add reverse direction `Lens` for any converted `Iso`.\r\n- [ ] Squash deprecation warnings\r\n- [ ] Import cleanup\r\n- [ ] Include changes in recent commits\r\n"},"comment":{"url":"https://api.github.com/repos/bos/wreq/issues/comments/167879537","html_url":"https://github.com/bos/wreq/pull/78#issuecomment-167879537","issue_url":"https://api.github.com/repos/bos/wreq/issues/78","id":167879537,"user":{"login":"fosskers","id":229679,"avatar_url":"https://avatars.githubusercontent.com/u/229679?v=3","gravatar_id":"","url":"https://api.github.com/users/fosskers","html_url":"https://github.com/fosskers","followers_url":"https://api.github.com/users/fosskers/followers","following_url":"https://api.github.com/users/fosskers/following{/other_user}","gists_url":"https://api.github.com/users/fosskers/gists{/gist_id}","starred_url":"https://api.github.com/users/fosskers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fosskers/subscriptions","organizations_url":"https://api.github.com/users/fosskers/orgs","repos_url":"https://api.github.com/users/fosskers/repos","events_url":"https://api.github.com/users/fosskers/events{/privacy}","received_events_url":"https://api.github.com/users/fosskers/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T21:22:43Z","updated_at":"2015-12-29T21:22:43Z","body":"I agree."}}