From 2fb97a9964e7fb63388095e8397da9c17e7acdcb Mon Sep 17 00:00:00 2001 From: h7x4 Date: Fri, 13 Dec 2024 17:02:58 +0100 Subject: [PATCH] Move repo to `Projects` --- .gitea/workflows/build-and-test.yml | 37 ++++++++++------------------- Cargo.toml | 7 ++++++ README.md | 6 +++++ 3 files changed, 26 insertions(+), 24 deletions(-) create mode 100644 README.md diff --git a/.gitea/workflows/build-and-test.yml b/.gitea/workflows/build-and-test.yml index f62826e..57703a0 100644 --- a/.gitea/workflows/build-and-test.yml +++ b/.gitea/workflows/build-and-test.yml @@ -14,9 +14,6 @@ jobs: - name: Install rust toolchain uses: dtolnay/rust-toolchain@stable - - name: Cache dependencies - uses: Swatinem/rust-cache@v2 - - name: Build run: cargo build --all-features --verbose --release @@ -30,9 +27,6 @@ jobs: with: components: rustfmt, clippy - - name: Cache dependencies - uses: Swatinem/rust-cache@v2 - - name: Check code format run: cargo fmt -- --check @@ -50,9 +44,6 @@ jobs: with: components: llvm-tools-preview - - name: Cache dependencies - uses: Swatinem/rust-cache@v2 - - name: Install nextest run: cargo binstall -y cargo-nextest --secure @@ -86,14 +77,14 @@ jobs: target/coverage/ - name: Upload test report - uses: https://git.pvv.ntnu.no/Projects/rsync-action@main + uses: https://git.pvv.ntnu.no/Projects/rsync-action@v1 with: source: target/coverage/html/ - target: empidee/${{ gitea.ref_name }}/coverage/ - username: oysteikt - ssh-key: ${{ secrets.OYSTEIKT_GITEA_WEBDOCS_SSH_KEY }} - host: microbel.pvv.ntnu.no - known-hosts: "microbel.pvv.ntnu.no ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEq0yasKP0mH6PI6ypmuzPzMnbHELo9k+YB5yW534aKudKZS65YsHJKQ9vapOtmegrn5MQbCCgrshf+/XwZcjbM=" + target: ${{ gitea.ref_name }}/coverage/ + username: gitea-web + ssh-key: ${{ secrets.WEB_SYNC_SSH_KEY }} + host: bekkalokk.pvv.ntnu.no + known-hosts: "bekkalokk.pvv.ntnu.no ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEI6VSaDrMG8+flg4/AeHlAFIen8RUzWh6URQKqFegSx" docs: runs-on: ubuntu-latest @@ -106,18 +97,16 @@ jobs: toolchain: nightly override: true - - name: Cache dependencies - uses: Swatinem/rust-cache@v2 - - name: Build docs run: cargo doc --all-features --document-private-items --release - name: Transfer files - uses: https://git.pvv.ntnu.no/Projects/rsync-action@main + uses: https://git.pvv.ntnu.no/Projects/rsync-action@v1 with: source: target/doc/ - target: empidee/${{ gitea.ref_name }}/docs/ - username: oysteikt - ssh-key: ${{ secrets.OYSTEIKT_GITEA_WEBDOCS_SSH_KEY }} - host: microbel.pvv.ntnu.no - known-hosts: "microbel.pvv.ntnu.no ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEq0yasKP0mH6PI6ypmuzPzMnbHELo9k+YB5yW534aKudKZS65YsHJKQ9vapOtmegrn5MQbCCgrshf+/XwZcjbM=" + target: ${{ gitea.ref_name }}/docs/ + username: gitea-web + ssh-key: ${{ secrets.WEB_SYNC_SSH_KEY }} + host: bekkalokk.pvv.ntnu.no + known-hosts: "bekkalokk.pvv.ntnu.no ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEI6VSaDrMG8+flg4/AeHlAFIen8RUzWh6URQKqFegSx" + diff --git a/Cargo.toml b/Cargo.toml index 70a3bfe..c36a34a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,14 @@ [package] name = "empidee" version = "0.1.0" +authors = [ + "Øystein Tveit " +] +description = "A rust implementation of the mpd protocol, both client and serverside" +repository = "https://git.pvv.ntnu.no/Projects/empidee" +documentation = "https://pages.pvv.ntnu.no/Projects/empidee/main/docs/empidee/" edition = "2021" +rust-version = "1.83.0" [dependencies] serde = { version = "1.0.210", features = ["derive"] } diff --git a/README.md b/README.md new file mode 100644 index 0000000..e81644f --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +[![Coverage](https://pages.pvv.ntnu.no/Projects/empidee/main/coverage/badges/for_the_badge.svg)](https://pages.pvv.ntnu.no/Projects/empidee/main/coverage/src/) +[![Docs](https://img.shields.io/badge/docs-blue?style=for-the-badge&logo=rust)](https://pages.pvv.ntnu.no/Projects/empidee/main/docs/empidee/) + +# empidee + +Rust implementation of the mpd protocol, both client and serverside.