From cea10e2fcafbbae4d16f081524862240d41cc949 Mon Sep 17 00:00:00 2001 From: Cyborus Date: Wed, 29 Nov 2023 15:18:55 -0500 Subject: add testing boilerplate --- Cargo.lock | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 2c23273..0f001b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -128,6 +128,16 @@ dependencies = [ "windows-sys", ] +[[package]] +name = "eyre" +version = "0.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80f656be11ddf91bd709454d15d5bd896fbaf4cc3314e69349e4d1569f5b46cd" +dependencies = [ + "indenter", + "once_cell", +] + [[package]] name = "fastrand" version = "2.0.1" @@ -159,6 +169,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" name = "forgejo-api" version = "0.1.0" dependencies = [ + "eyre", "reqwest", "serde", "soft_assert", @@ -328,6 +339,12 @@ dependencies = [ "unicode-normalization", ] +[[package]] +name = "indenter" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" + [[package]] name = "indexmap" version = "1.9.3" @@ -843,9 +860,21 @@ dependencies = [ "mio", "pin-project-lite", "socket2 0.5.5", + "tokio-macros", "windows-sys", ] +[[package]] +name = "tokio-macros" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "tokio-native-tls" version = "0.3.1" -- cgit v1.2.3