Change repo to generate both a library and a binary.
This repo will primary be a library, but for compliance testing it may make sense to have a binary operating in the same fashion as the node dustjs shim so I've set up this repo to generate both a library and a binary.
This commit is contained in:
@@ -4,7 +4,13 @@ version = "0.1.0"
|
||||
authors = ["Tom Alexander <tom@fizz.buzz>"]
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[lib]
|
||||
name = "duster"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "duster-cli"
|
||||
path = "src/bin.rs"
|
||||
|
||||
[dependencies]
|
||||
nom = { git = "https://github.com/tomalexander/nom.git", branch = "take_until_parser_matches" }
|
||||
|
||||
Reference in New Issue
Block a user