From 2fb3da9dc515e588b9e40a5ce6f450f5b7557f06 Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Fri, 5 Apr 2024 10:52:27 +0100 Subject: [PATCH] Update rust-cache to v2 in github tests to make it faster (#113) --- .github/workflows/test.yml | 3 ++- crates/librqbit/src/lib.rs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e639d6e..42a97e3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,6 +27,7 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 - - uses: Swatinem/rust-cache@v1 + - run: rustup toolchain install stable --profile minimal + - uses: Swatinem/rust-cache@v2 - name: Run tests run: cargo test diff --git a/crates/librqbit/src/lib.rs b/crates/librqbit/src/lib.rs index eadf722..e2727a4 100644 --- a/crates/librqbit/src/lib.rs +++ b/crates/librqbit/src/lib.rs @@ -21,6 +21,7 @@ //! //! It also proved useful to use the [`Api`] when building the rqbit desktop app, as it provides //! a facade that works with simple serializable types. +//! pub mod api; mod api_error;