{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/4370","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/4370/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/4370/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/4370/events","html_url":"https://github.com/rust-lang/cargo/issues/4370","id":248255778,"number":4370,"title":"Cargo init panics in root directory","user":{"login":"parkovski","id":1094150,"avatar_url":"https://avatars1.githubusercontent.com/u/1094150?v=4","gravatar_id":"","url":"https://api.github.com/users/parkovski","html_url":"https://github.com/parkovski","followers_url":"https://api.github.com/users/parkovski/followers","following_url":"https://api.github.com/users/parkovski/following{/other_user}","gists_url":"https://api.github.com/users/parkovski/gists{/gist_id}","starred_url":"https://api.github.com/users/parkovski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkovski/subscriptions","organizations_url":"https://api.github.com/users/parkovski/orgs","repos_url":"https://api.github.com/users/parkovski/repos","events_url":"https://api.github.com/users/parkovski/events{/privacy}","received_events_url":"https://api.github.com/users/parkovski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-06T16:04:01Z","updated_at":"2017-08-06T16:04:01Z","closed_at":null,"body":"Noticed this by accident - Windows sets cwd to C:\\ if your terminal is in a directory that was renamed. The crash happens on both Windows and macOS - in C:\\ or /, running 'cargo init --name foo' panics. Without the --name it just complains it couldn't infer a name from an empty directory name."}}
{"actor":{"display_login":"parkovski"}}