{"action":"created","issue":{"url":"https://api.github.com/repos/DanielKeep/cargo-script/issues/12","labels_url":"https://api.github.com/repos/DanielKeep/cargo-script/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/DanielKeep/cargo-script/issues/12/comments","events_url":"https://api.github.com/repos/DanielKeep/cargo-script/issues/12/events","html_url":"https://github.com/DanielKeep/cargo-script/issues/12","id":119112461,"number":12,"title":"Can \"cargo script\" be used to run examples from existing projects that require additional heavy dependencies?","user":{"login":"vi","id":173219,"avatar_url":"https://avatars.githubusercontent.com/u/173219?v=3","gravatar_id":"","url":"https://api.github.com/users/vi","html_url":"https://github.com/vi","followers_url":"https://api.github.com/users/vi/followers","following_url":"https://api.github.com/users/vi/following{/other_user}","gists_url":"https://api.github.com/users/vi/gists{/gist_id}","starred_url":"https://api.github.com/users/vi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vi/subscriptions","organizations_url":"https://api.github.com/users/vi/orgs","repos_url":"https://api.github.com/users/vi/repos","events_url":"https://api.github.com/users/vi/events{/privacy}","received_events_url":"https://api.github.com/users/vi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-27T00:02:50Z","updated_at":"2015-11-30T00:24:32Z","closed_at":null,"body":"Imagine lightweight project where one of example demonstrate it's use with a heavyweight thing.\r\n\r\nYou don't want to point this dependency even in dev-deps, but still want the example to be easily runnable.\r\n\r\nCan `cargo script` help in this case?"},"comment":{"url":"https://api.github.com/repos/DanielKeep/cargo-script/issues/comments/160486509","html_url":"https://github.com/DanielKeep/cargo-script/issues/12#issuecomment-160486509","issue_url":"https://api.github.com/repos/DanielKeep/cargo-script/issues/12","id":160486509,"user":{"login":"vi","id":173219,"avatar_url":"https://avatars.githubusercontent.com/u/173219?v=3","gravatar_id":"","url":"https://api.github.com/users/vi","html_url":"https://github.com/vi","followers_url":"https://api.github.com/users/vi/followers","following_url":"https://api.github.com/users/vi/following{/other_user}","gists_url":"https://api.github.com/users/vi/gists{/gist_id}","starred_url":"https://api.github.com/users/vi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vi/subscriptions","organizations_url":"https://api.github.com/users/vi/orgs","repos_url":"https://api.github.com/users/vi/repos","events_url":"https://api.github.com/users/vi/events{/privacy}","received_events_url":"https://api.github.com/users/vi/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T00:24:32Z","updated_at":"2015-11-30T00:24:32Z","body":"Can one list cargo-script as a dev-depencency of a project and make `cargo run --example myexample` deviate to cargo-script instead of trying to run example with missing dependencies directly?"}}