I see the following error when running cargo install typst-live:
error[E0432]: unresolved import `notify::INotifyWatcher`
--> /Users/valentin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typst-live-0.2.0/src/watcher.rs:3:32
|
3 | use notify::{Event, EventKind, INotifyWatcher, RecursiveMode, Watcher};
| ^^^^^^^^^^^^^^ no `INotifyWatcher` in the root
error[E0282]: type annotations needed
--> /Users/valentin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typst-live-0.2.0/src/watcher.rs:50:5
|
50 | Ok(watcher)
| ^^ cannot infer type of the type parameter `E` declared on the enum `Result`
|
help: consider specifying the generic arguments
|
50 | Ok::<FsEventWatcher, E>(watcher)
| +++++++++++++++++++++
Some errors have detailed explanations: E0282, E0432.
For more information about an error, try `rustc --explain E0282`.
error: could not compile `typst-live` due to 2 previous errors
error: failed to compile `typst-live v0.2.0`, intermediate artifacts can be found at `/var/folders/8_/wzzr3w4x4p7b6pybynnrqldm0000gn/T/cargo-installg6eCgQ`
I see the following error when running
cargo install typst-live
: