Ask coding questions

← Back to all posts
Rust: Repl.it how to import external crates?
h
mec337 (0)

how do I use extern crate, i.e. how do I import an external lib/module into repl.it in particular I would like to use clap::App

Comments
hotnewtop
Coder100 (18241)

Not on rust, you need to create your own cargo program.

https://replit.com/@Coder100/ReasonableLightsalmonPiracy-aoeuaeou#proj/src/main.rs

here is a working project!!