{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/2008","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/2008/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2008/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/2008/events","html_url":"https://github.com/rust-lang/cargo/pull/2008","id":108880072,"number":2008,"title":"Cargo new in empty dir","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":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-09-29T14:20:08Z","updated_at":"2015-10-05T16:43:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/cargo/pulls/2008","html_url":"https://github.com/rust-lang/cargo/pull/2008","diff_url":"https://github.com/rust-lang/cargo/pull/2008.diff","patch_url":"https://github.com/rust-lang/cargo/pull/2008.patch"},"body":"* Implement `cargo new .`. It checks if directory is empty (or contains only VCS-related files)\r\n* Make `cargo init` suggest `new .` instead of just `new`"},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/145594823","html_url":"https://github.com/rust-lang/cargo/pull/2008#issuecomment-145594823","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/2008","id":145594823,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T16:43:32Z","updated_at":"2015-10-05T16:43:32Z","body":"I would personally prefer a more feature-ful implementation along the lines of \"I just created this structure but forgot `cargo new `would do it for me\" where there's perhaps a `lib.rs` or `src/lib.rs` lying around but just a missing `Cargo.toml` that needs to be generated."}}