From f1f174fdebe51dd2eb655c30241a03b3d73eba64 Mon Sep 17 00:00:00 2001 From: keepsimple1 Date: Mon, 27 Nov 2023 23:09:56 -0800 Subject: [PATCH] Update CI: replace actions-rs as it is deprecated (#150) Also fix cargo doc warning --- .github/workflows/build.yml | 8 ++------ src/service_info.rs | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3ad1b61..01fce5d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,13 +18,9 @@ jobs: matrix: os: [ubuntu-20.04, windows-latest, macos-latest] steps: - - uses: actions/checkout@v2 - - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@1.60.0 with: - profile: minimal - toolchain: 1.60.0 - override: true components: rustfmt, clippy - name: Run rustfmt and fail if any warnings run: cargo fmt -- --check diff --git a/src/service_info.rs b/src/service_info.rs index ed3fdb2..140de77 100644 --- a/src/service_info.rs +++ b/src/service_info.rs @@ -23,7 +23,7 @@ pub struct ServiceInfo { ty_domain: String, // . /// See RFC6763 section 7.1 about "Subtypes": - /// https://datatracker.ietf.org/doc/html/rfc6763#section-7.1 + /// sub_domain: Option, // ._sub.. fullname: String, // ..