rust - error: can't find crate -
i'm trying use this library.
but, cargo build
says this:
compiling test v0.1.0 (file:///c:/path/to/project/test) src\main.rs:1:1: 1:28 error: can't find crate `jvm_assembler` [e0463] src\main.rs:1 extern crate jvm_assembler; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ error: aborting due previous error not compile `test`. learn more, run command again --verbose.
my cargo.toml
this:
[package] name = "test" version = "0.1.0" authors = ["yomizu_rai"] [dependencies] jvm-assembler = "*"
src/main.rs
this, , there no other sourcefiles.
extern crate jvm_assembler; use jvm_assembler::*; fn main() {}
i think cargo.toml
not wrong, , src/main.rs
has no room mistake.
why can not rustc find jvm-assembler?
how resolve?
cargo can find crates name if on crates.io. in case need specify git url, see section on dependencies in cargo documentation.
Comments
Post a Comment