{"action":"created","issue":{"url":"https://api.github.com/repos/DanielKeep/cargo-script/issues/16","repository_url":"https://api.github.com/repos/DanielKeep/cargo-script","labels_url":"https://api.github.com/repos/DanielKeep/cargo-script/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/DanielKeep/cargo-script/issues/16/comments","events_url":"https://api.github.com/repos/DanielKeep/cargo-script/issues/16/events","html_url":"https://github.com/DanielKeep/cargo-script/issues/16","id":130577183,"number":16,"title":"Cache compilations of dependencies","user":{"login":"nixpulvis","id":715947,"avatar_url":"https://avatars.githubusercontent.com/u/715947?v=3","gravatar_id":"","url":"https://api.github.com/users/nixpulvis","html_url":"https://github.com/nixpulvis","followers_url":"https://api.github.com/users/nixpulvis/followers","following_url":"https://api.github.com/users/nixpulvis/following{/other_user}","gists_url":"https://api.github.com/users/nixpulvis/gists{/gist_id}","starred_url":"https://api.github.com/users/nixpulvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nixpulvis/subscriptions","organizations_url":"https://api.github.com/users/nixpulvis/orgs","repos_url":"https://api.github.com/users/nixpulvis/repos","events_url":"https://api.github.com/users/nixpulvis/events{/privacy}","received_events_url":"https://api.github.com/users/nixpulvis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-02T05:08:46Z","updated_at":"2016-03-08T06:20:45Z","closed_at":"2016-02-02T06:12:24Z","body":"Running cargo script on something with dependencies is very painful due to the repeated builds."},"comment":{"url":"https://api.github.com/repos/DanielKeep/cargo-script/issues/comments/193623546","html_url":"https://github.com/DanielKeep/cargo-script/issues/16#issuecomment-193623546","issue_url":"https://api.github.com/repos/DanielKeep/cargo-script/issues/16","id":193623546,"user":{"login":"sorear","id":92735,"avatar_url":"https://avatars.githubusercontent.com/u/92735?v=3","gravatar_id":"","url":"https://api.github.com/users/sorear","html_url":"https://github.com/sorear","followers_url":"https://api.github.com/users/sorear/followers","following_url":"https://api.github.com/users/sorear/following{/other_user}","gists_url":"https://api.github.com/users/sorear/gists{/gist_id}","starred_url":"https://api.github.com/users/sorear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorear/subscriptions","organizations_url":"https://api.github.com/users/sorear/orgs","repos_url":"https://api.github.com/users/sorear/repos","events_url":"https://api.github.com/users/sorear/events{/privacy}","received_events_url":"https://api.github.com/users/sorear/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T06:20:45Z","updated_at":"2016-03-08T06:20:45Z","body":"@DanielKeep maybe shouldn't, but it does.\r\n\r\n```\r\nshell$ cargo script -d serde_json -e '2+3'\r\n    Updating registry `https://github.com/rust-lang/crates.io-index`\r\n   Compiling serde v0.7.0\r\n   Compiling num v0.1.31\r\n   Compiling serde_json v0.7.0\r\n   Compiling expr v0.1.0 (file:///Users/sorear/.multirust/toolchains/nightly/cargo/.cargo/script-cache/expr-c3096e21eb1704b2)\r\n5\r\nshell$ cargo script -d serde_json -e '2+4'\r\n    Updating registry `https://github.com/rust-lang/crates.io-index`\r\n   Compiling serde v0.7.0\r\n   Compiling num v0.1.31\r\n   Compiling serde_json v0.7.0\r\n   Compiling expr v0.1.0 (file:///Users/sorear/.multirust/toolchains/nightly/cargo/.cargo/script-cache/expr-63c9b009bed1ddd4)\r\n6\r\nshell$ cargo script --pkg-path=/tmp/asdf5 -d serde_json -e '2+5'\r\n    Updating registry `https://github.com/rust-lang/crates.io-index`\r\n   Compiling num v0.1.31\r\n   Compiling serde v0.7.0\r\n   Compiling serde_json v0.7.0\r\n   Compiling expr v0.1.0 (file:///tmp/asdf5)\r\n7\r\nshell$ cargo script --pkg-path=/tmp/asdf5 -d serde_json -e '2+6'\r\n   Compiling expr v0.1.0 (file:///tmp/asdf5)\r\n8\r\n```"}}