Open avhz opened 10 months ago
can i take this task?
Sure :) take a look at what is already implemented for an idea of what needs to be done.
Thanks for your interest !
@avhz Getting this error while building locally on mac air m1.
dakshdagariya@Dakshs-MacBook-Air RustQuant % cargo build
error: failed to download `color_quant v1.1.0`
Caused by:
unable to get `packages` from source
Caused by:
failed to download replaced source registry `crates-io`
Caused by:
failed to read `/Users/dakshdagariya/.cargo/registry/src/index.crates.io-6f17d22bba15001f/color_quant-1.1.0/Cargo.toml`
Caused by:
No such file or directory (os error 2)
Hi, I'm not getting that error. Looks like a problem with the plotters
crate.
Is your Rust up-to-date? Try rustup update
and re-compile and let me know what happens.
Edit: probably also worth running cargo clean
after updating Rust.
Hi thanks @avhz I'm able to build now but how to run this locally getting this.
dakshdagariya@Dakshs-MacBook-Air RustQuant % cargo run
error: a bin target must be available for `cargo run`
RustQuant is a library, not a binary. So you can't run it.
You may find the Rust book helpful: https://doc.rust-lang.org/book/
I believe there's a chapter about libraries and binaries.
okay thanks a lot.
This just involves going through each country and completing the following boilerplate (using some source such as timeanddate.com).
To-do: