I'm trying to work out if I'm not setting up a project correctly, or if there is a problem with a dependency that I'm using.
I'm trying to create a simple project that uses the soundcloud crate: https://crates.io/crates/soundcloud
when I reference that crate in my project and run
cargo bulid or
cargo run I get an error that extern crate syntax; cannot be found.
error[E0463]: can't find crate for `syntax` --> /Users/alex/.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.22.1/src/lib.rs:10:1 | 10 | extern crate syntax; | ^^^^^^^^^^^^^^^^^^^^ can't find crate error: aborting due to previous error For more information about this error, try `rustc --explain E0463`. error: could not compile `aster`. warning: build failed, waiting for other jobs to finish... error: build failed
Can anyone else check that crate works for them or tell me what I'm doing wrong with my project setup?