carols10cents / cargo-open

A third-party cargo extension to allow you to open a dependent crate in your $EDITOR
Apache License 2.0
22 stars 5 forks source link

Update code and packages #15

Closed AndrewRadev closed 5 years ago

AndrewRadev commented 6 years ago

Installing the package using cargo install cargo-open seems to fail for me on recent rust/cargo (rustc: 1.27.2, cargo: 1.27.0). Issue #14 describes the problem

Seems it's a matter of older package versions not compiling. This PR runs a cargo update and adjusts the code to work with them. I've taken some liberties with imports and naming, but I think I've mostly kept changes to a minimum. The error handling change I'm not sure about, I might update the PR if and when I figure out what the various errors and Nones mean in the cargo results :).

carols10cents commented 5 years ago

Thank you! Sorry for the long delay!