diff --git a/Cargo.lock b/Cargo.lock index 6e3aa06..80be65f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -50,6 +50,12 @@ dependencies = [ "windows-sys", ] +[[package]] +name = "anyhow" +version = "1.0.81" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247" + [[package]] name = "autocfg" version = "1.1.0" @@ -157,11 +163,19 @@ version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +[[package]] +name = "glob" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" + [[package]] name = "hb" version = "0.1.0" dependencies = [ + "anyhow", "clap", + "glob", "rayon", ] diff --git a/Cargo.toml b/Cargo.toml index efac1c8..ae95d75 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,9 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +anyhow = "1.0.81" clap = { version = "4.4.3", features = ["derive"] } +glob = "0.3.1" rayon = "1.7.0" # lints from https://github.com/0atman/noboilerplate/blob/main/scripts/37-functional-rust.md @@ -24,4 +26,4 @@ opt-level = 'z' # size optimisation lto = true # link time optimisation codegen-units = 1 # fewer -> more optimisation panic = 'abort' # abort on panic -strip = 'symbols' # strip symbols \ No newline at end of file +strip = 'symbols' # strip symbols