I have 2 projects: First:
my_project
|__scr
| |__main.rs
|__Cargo.toml
|__Cargo.lock
Second (the library (was created by cargo new my_project_library --lib
) I plan to use it for many projects):
my_project_library
|__scr
| |__lib.rs
|__Cargo.toml
|__Cargo.lock
How to use it in project (it haven“t be publish yet )?
Or is it wrong and I must create library with some diferent command?