{"action":"created","issue":{"url":"https://api.github.com/repos/plietar/spotify-connect/issues/3","labels_url":"https://api.github.com/repos/plietar/spotify-connect/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/plietar/spotify-connect/issues/3/comments","events_url":"https://api.github.com/repos/plietar/spotify-connect/issues/3/events","html_url":"https://github.com/plietar/spotify-connect/pull/3","id":93859200,"number":3,"title":"Move librespot into lib.rs and let main.rs be the test binary","user":{"login":"torarnv","id":7536,"avatar_url":"https://avatars.githubusercontent.com/u/7536?v=3","gravatar_id":"","url":"https://api.github.com/users/torarnv","html_url":"https://github.com/torarnv","followers_url":"https://api.github.com/users/torarnv/followers","following_url":"https://api.github.com/users/torarnv/following{/other_user}","gists_url":"https://api.github.com/users/torarnv/gists{/gist_id}","starred_url":"https://api.github.com/users/torarnv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torarnv/subscriptions","organizations_url":"https://api.github.com/users/torarnv/orgs","repos_url":"https://api.github.com/users/torarnv/repos","events_url":"https://api.github.com/users/torarnv/events{/privacy}","received_events_url":"https://api.github.com/users/torarnv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-08T18:31:41Z","updated_at":"2015-07-08T20:49:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/plietar/spotify-connect/pulls/3","html_url":"https://github.com/plietar/spotify-connect/pull/3","diff_url":"https://github.com/plietar/spotify-connect/pull/3.diff","patch_url":"https://github.com/plietar/spotify-connect/pull/3.patch"},"body":"I made all the modules public for now."},"comment":{"url":"https://api.github.com/repos/plietar/spotify-connect/issues/comments/119727240","html_url":"https://github.com/plietar/spotify-connect/pull/3#issuecomment-119727240","issue_url":"https://api.github.com/repos/plietar/spotify-connect/issues/3","id":119727240,"user":{"login":"plietar","id":1489775,"avatar_url":"https://avatars.githubusercontent.com/u/1489775?v=3","gravatar_id":"","url":"https://api.github.com/users/plietar","html_url":"https://github.com/plietar","followers_url":"https://api.github.com/users/plietar/followers","following_url":"https://api.github.com/users/plietar/following{/other_user}","gists_url":"https://api.github.com/users/plietar/gists{/gist_id}","starred_url":"https://api.github.com/users/plietar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plietar/subscriptions","organizations_url":"https://api.github.com/users/plietar/orgs","repos_url":"https://api.github.com/users/plietar/repos","events_url":"https://api.github.com/users/plietar/events{/privacy}","received_events_url":"https://api.github.com/users/plietar/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T20:49:53Z","updated_at":"2015-07-08T20:49:53Z","body":"Hmm, I'm not really sure how cargo behaves when both a `main.rs` and `lib.rs` are present. It indeed seem like both actually get compiled.\r\nCould you declare them explicitly, like http://stackoverflow.com/questions/26946646/rust-package-with-both-a-library-and-a-binary\r\nJust call the binary `main` and the library `librespot`.\r\nThanks"}}