cshuaimin / scd

Sync current directory between your shell and a file manager
MIT License
128 stars 0 forks source link

cargo install error #6

Open asukaminato0721 opened 2 years ago

asukaminato0721 commented 2 years ago
error[E0599]: no function or associated item named `new_immediate` found for struct `INotifyWatcher` in the current scope
  --> /home/w/.cargo/registry/src/github.com-1ecc6299db9ec823/scd-0.1.3/src/event.rs:29:33
   |
29 |             RecommendedWatcher::new_immediate(move |res: notify::Result<notify::Event>| {
   |                                 ^^^^^^^^^^^^^ function or associated item not found in `INotifyWatcher`

For more information about this error, try `rustc --explain E0599`.
error: failed to compile `scd v0.1.3`, intermediate artifacts can be found at `/tmp/cargo-installlATKGG`

Caused by:
  could not compile `scd` due to previous error

Shell: fish 3.1.0 cargo 1.55.0 (32da73ab1 2021-08-23) stable-x86_64-unknown-linux-gnu unchanged - rustc 1.55.0 (c8dfcfe04 2021-09-06)

cshuaimin commented 2 years ago

fixed in https://github.com/cshuaimin/scd/commit/b9a62e3c78755ea23bec57bfcc70e7dbe2a74324

cshuaimin commented 2 years ago

But crates.io isn't updated, please install with Git URL:

cargo install --git https://github.com/cshuaimin/scd
soloturn commented 1 year ago

why is crates.io not updated?