I tried to test this project but it looks like the dependancy libsmartcalc
no longer exists, this is the output I get:
❯ cargo install --path .
Installing smartcalc-tui v1.0.1 (/home/user/projects/smartcalc-tui)
Updating crates.io index
Updating git repository `https://github.com/erhanbaris/smartcalc`
error: failed to compile `smartcalc-tui v1.0.1 (/home/user/projects/smartcalc-tui)`, intermediate artifacts can be found at `/home/user/projects/smartcalc-tui/target`
Caused by:
no matching package found
searched package name: `libsmartcalc`
perhaps you meant: smartcalc
location searched: https://github.com/erhanbaris/smartcalc
required by package `smartcalc-tui v1.0.1 (/home/user/projects/smartcalc-tui)`
replacing libsmartcalc
with smartcalc
produces the following errors:
❯ cargo install --path .
Installing smartcalc-tui v1.0.1 (/home/user/projects/smartcalc-tui)
Updating crates.io index
Updating git repository `https://github.com/erhanbaris/smartcalc`
Compiling smartcalc v1.0.4 (https://github.com/erhanbaris/smartcalc#507ed954)
Compiling smartcalc-tui v1.0.1 (/home/user/projects/smartcalc-tui)
error[E0432]: unresolved import `smartcalc::executer`
--> src/lib.rs:55:28
|
55 | use smartcalc::executer::initialize;
| ^^^^^^^^ could not find `executer` in `smartcalc`
error[E0603]: module `app` is private
--> src/lib.rs:54:28
|
54 | use smartcalc::app::{ExecuteLine, ExecuteLineResult, SmartCalc};
| ^^^ private module
|
note: the module `app` is defined here
--> /home/user/.cargo/git/checkouts/smartcalc-d93f0c50fe48d91c/507ed95/src/lib.rs:26:1
|
26 | pub(crate) mod app;
| ^^^^^^^^^^^^^^^^^^^
warning: ignoring -C extra-filename flag due to -o flag
Some errors have detailed explanations: E0432, E0603.
For more information about an error, try `rustc --explain E0432`.
warning: `smartcalc-tui` (lib) generated 1 warning
error: failed to compile `smartcalc-tui v1.0.1 (/home/user/projects/smartcalc-tui)`, intermediate artifacts can be found at `/home/user/projects/smartcalc-tui/target`
Caused by:
could not compile `smartcalc-tui` due to 2 previous errors; 1 warning emitted
bug