{"action":"created","issue":{"url":"https://api.github.com/repos/onur/docs.rs/issues/29","repository_url":"https://api.github.com/repos/onur/docs.rs","labels_url":"https://api.github.com/repos/onur/docs.rs/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/onur/docs.rs/issues/29/comments","events_url":"https://api.github.com/repos/onur/docs.rs/issues/29/events","html_url":"https://github.com/onur/docs.rs/issues/29","id":173560945,"number":29,"title":"Set default target for certain crates, also features","user":{"login":"retep998","id":666308,"avatar_url":"https://avatars.githubusercontent.com/u/666308?v=3","gravatar_id":"","url":"https://api.github.com/users/retep998","html_url":"https://github.com/retep998","followers_url":"https://api.github.com/users/retep998/followers","following_url":"https://api.github.com/users/retep998/following{/other_user}","gists_url":"https://api.github.com/users/retep998/gists{/gist_id}","starred_url":"https://api.github.com/users/retep998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retep998/subscriptions","organizations_url":"https://api.github.com/users/retep998/orgs","repos_url":"https://api.github.com/users/retep998/repos","events_url":"https://api.github.com/users/retep998/events{/privacy}","received_events_url":"https://api.github.com/users/retep998/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/onur/docs.rs/labels/wishlist","name":"wishlist","color":"c5def5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-26T23:14:29Z","updated_at":"2016-09-19T12:04:21Z","closed_at":null,"body":"For certain crates I'd like it if I could set the default target, so that when someone looks up a certain crate, they'd get the documentation I want them to get by default. Particularly useful for crates that only define things for certain targets, such as `winapi`.\r\n\r\nAlso useful would be a way to tell docs.rs which features to enable when building a crate. `winapi` 0.3 will have almost everything disabled by default, and then opting in with features, but that would end up with docs.rs generating useless documentation."},"comment":{"url":"https://api.github.com/repos/onur/docs.rs/issues/comments/247975088","html_url":"https://github.com/onur/docs.rs/issues/29#issuecomment-247975088","issue_url":"https://api.github.com/repos/onur/docs.rs/issues/29","id":247975088,"user":{"login":"bluss","id":3209739,"avatar_url":"https://avatars.githubusercontent.com/u/3209739?v=3","gravatar_id":"","url":"https://api.github.com/users/bluss","html_url":"https://github.com/bluss","followers_url":"https://api.github.com/users/bluss/followers","following_url":"https://api.github.com/users/bluss/following{/other_user}","gists_url":"https://api.github.com/users/bluss/gists{/gist_id}","starred_url":"https://api.github.com/users/bluss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluss/subscriptions","organizations_url":"https://api.github.com/users/bluss/orgs","repos_url":"https://api.github.com/users/bluss/repos","events_url":"https://api.github.com/users/bluss/events{/privacy}","received_events_url":"https://api.github.com/users/bluss/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T12:04:21Z","updated_at":"2016-09-19T12:04:21Z","body":"Doc features are great. What I do in ndarray is to build with the \"docs\" feature that depends on the optional crate features. Then I've made sure each of the items enabled by that mentions this in the docs [(“*Requires crate feature \"serde\"*”)](https://bluss.github.io/rust-ndarray/master/ndarray/struct.ArrayBase.html#method.serialize). Adding this to docs.rs would make it have \"feature parity\" and I'll switch."}}
{"actor":{"display_login":"bluss"}}