Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo new . #1990

Closed
nixpulvis opened this issue Sep 18, 2015 · 3 comments
Closed

cargo new . #1990

nixpulvis opened this issue Sep 18, 2015 · 3 comments

Comments

@nixpulvis
Copy link

Small feature, but sometimes I have a directory with some random stuff in it, and I want to turn it into a crate. This typically happens when I'm setting up a bunch of projects at once and copying in documentation or support files. I'd like to be able to type cargo new . and have it use the current directory as the crate.

@steveklabnik
Copy link
Member

We have a ticket open for this somewhere.... 👍 from me for sure

@nixpulvis
Copy link
Author

Ah sorry, didn't see it in a quick search.

@alexcrichton
Copy link
Member

Ah yeah this is covered by #21, but thanks for the report!

vi added a commit to vi/cargo that referenced this issue Sep 29, 2015
Allows "new" command even if path exists,
if the path is empty or almost empty directory.

Also more narrow duplicates: rust-lang#1990, rust-lang#1065, rust-lang#526.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants