From f9e130688179636234189b57029054e607f97067 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 14 Dec 2020 09:52:13 +0100 Subject: [PATCH] 2020: introduce anyhow --- Cargo.lock | 7 +++++++ aoc2020/Cargo.toml | 2 ++ 2 files changed, 9 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 7f712f1..4181c25 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,11 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +[[package]] +name = "anyhow" +version = "1.0.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c0df63cb2955042487fad3aefd2c6e3ae7389ac5dc1beb28921de0b69f779d4" + [[package]] name = "aoc" version = "0.1.0" @@ -33,6 +39,7 @@ dependencies = [ name = "aoc2020" version = "0.1.0" dependencies = [ + "anyhow", "aoc", "criterion", ] diff --git a/aoc2020/Cargo.toml b/aoc2020/Cargo.toml index fe4fe68..c74bcf3 100644 --- a/aoc2020/Cargo.toml +++ b/aoc2020/Cargo.toml @@ -14,6 +14,8 @@ criterion = "0.3" aoc = { path = "../aoc" } +anyhow = "1.0" + [lib] path = "src/lib.rs" bench = false