Cargo: define lib and bin, move main.rs
This commit is contained in:
parent
86cd00512a
commit
b5906e1b06
2 changed files with 8 additions and 0 deletions
|
@ -3,6 +3,14 @@ name = "binary_braillie"
|
|||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
name = "binary_braillie"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "convert_to_braillie"
|
||||
path = "src/bin/convert_to_braillie.rs"
|
||||
|
||||
[dependencies]
|
||||
hex = "0.4.3"
|
||||
num = "0.4.3"
|
||||
|
|
Loading…
Reference in a new issue