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 :).
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 problemSeems 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 andNone
s mean in the cargo results :).