Added alternative solution in python
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
@@ -13,7 +13,7 @@ name = "calorie_counting_lib"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "calorie_counting_bin"
|
||||
name = "calorie_counting"
|
||||
path = "src/bin.rs"
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
# Calorie Counting
|
||||
Implementation of [this task](./task.md) that started clean but ended up in a lot of [bodging](https://en.wiktionary.org/wiki/bodge).
|
||||
|
||||
<sup>and is very much not idiomatic rust</sup>
|
||||
|
||||
## Usage
|
||||
`cargo run --release -- --input <Path to file with inputs>`
|
||||
|
||||
Alternative
|
||||
```sh
|
||||
cargo install --release .
|
||||
calorie_counting -i <Path to file with inputs>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user