{"action":"created","issue":{"url":"https://api.github.com/repos/PistonDevelopers/image/issues/311","labels_url":"https://api.github.com/repos/PistonDevelopers/image/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/PistonDevelopers/image/issues/311/comments","events_url":"https://api.github.com/repos/PistonDevelopers/image/issues/311/events","html_url":"https://github.com/PistonDevelopers/image/issues/311","id":59415252,"number":311,"title":"Improve build times.","user":{"login":"csherratt","id":62622,"avatar_url":"https://avatars.githubusercontent.com/u/62622?v=3","gravatar_id":"","url":"https://api.github.com/users/csherratt","html_url":"https://github.com/csherratt","followers_url":"https://api.github.com/users/csherratt/followers","following_url":"https://api.github.com/users/csherratt/following{/other_user}","gists_url":"https://api.github.com/users/csherratt/gists{/gist_id}","starred_url":"https://api.github.com/users/csherratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csherratt/subscriptions","organizations_url":"https://api.github.com/users/csherratt/orgs","repos_url":"https://api.github.com/users/csherratt/repos","events_url":"https://api.github.com/users/csherratt/events{/privacy}","received_events_url":"https://api.github.com/users/csherratt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PistonDevelopers/image/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/PistonDevelopers/image/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-01T20:17:55Z","updated_at":"2015-03-09T16:43:41Z","closed_at":null,"body":"I was wondering if there was any ideas on how the build times could be improved for this crate. It currently takes about a 1minute to compiler for a none release build.\r\n\r\nSome ideas:\r\n- Move the image codecs into sub crates\r\n- Add `feature` flags to disable codecs that are not used\r\n"},"comment":{"url":"https://api.github.com/repos/PistonDevelopers/image/issues/comments/77891897","html_url":"https://github.com/PistonDevelopers/image/issues/311#issuecomment-77891897","issue_url":"https://api.github.com/repos/PistonDevelopers/image/issues/311","id":77891897,"user":{"login":"hauleth","id":291639,"avatar_url":"https://avatars.githubusercontent.com/u/291639?v=3","gravatar_id":"","url":"https://api.github.com/users/hauleth","html_url":"https://github.com/hauleth","followers_url":"https://api.github.com/users/hauleth/followers","following_url":"https://api.github.com/users/hauleth/following{/other_user}","gists_url":"https://api.github.com/users/hauleth/gists{/gist_id}","starred_url":"https://api.github.com/users/hauleth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hauleth/subscriptions","organizations_url":"https://api.github.com/users/hauleth/orgs","repos_url":"https://api.github.com/users/hauleth/repos","events_url":"https://api.github.com/users/hauleth/events{/privacy}","received_events_url":"https://api.github.com/users/hauleth/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T16:43:41Z","updated_at":"2015-03-09T16:43:41Z","body":"IMHO the best way to improve compilation times (and improve implementation of new formats) is to split format encoders and decoders to separate crates (possibly in the same repo) and compile them only when needed. Just add \"meta crate\" that will contain common traits."}}