From 446cef752bc6f73d1626864699e1d74c1bb1ee03 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sun, 26 Jul 2020 14:05:08 -0400 Subject: [PATCH] update cargo.nix --- Cargo.nix | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/Cargo.nix b/Cargo.nix index a46fe13..621e741 100644 --- a/Cargo.nix +++ b/Cargo.nix @@ -180,6 +180,19 @@ rec { ]; }; + "anyhow" = rec { + crateName = "anyhow"; + version = "1.0.32"; + edition = "2018"; + sha256 = "16snp36f7d4widi9vs7b1lkn32hy49jwsnl9ycqc288djkz2nq3b"; + authors = [ + "David Tolnay " + ]; + features = { + "default" = [ "std" ]; + }; + resolvedDefaultFeatures = [ "default" "std" ]; + }; "arc-swap" = rec { crateName = "arc-swap"; version = "0.4.7"; @@ -1191,7 +1204,7 @@ rec { }; "maj" = rec { crateName = "maj"; - version = "0.1.0"; + version = "0.2.0"; edition = "2018"; src = (builtins.filterSource sourceFilter ./.); authors = [ @@ -1306,7 +1319,7 @@ rec { }; "majsite" = rec { crateName = "majsite"; - version = "0.1.0"; + version = "0.2.0"; edition = "2018"; crateBin = [ { name = "majsite"; path = "src/main.rs"; } @@ -1316,10 +1329,18 @@ rec { "Christine Dodrill " ]; dependencies = [ + { + name = "anyhow"; + packageId = "anyhow"; + } { name = "async-trait"; packageId = "async-trait"; } + { + name = "log"; + packageId = "log"; + } { name = "maj"; packageId = "maj";