diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0fa3817..be3a53b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,8 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: Swatinem/rust-cache@v2 + - name: Check run: cargo check --all-features @@ -32,6 +34,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + + - uses: Swatinem/rust-cache@v2 - name: Run all tests run: cargo test --all-features @@ -46,13 +50,13 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal toolchain: ${{ matrix.rust-version }} - override: true components: clippy + - uses: Swatinem/rust-cache@v2 + - name: Run cargo clippy run: cargo clippy --all-features @@ -61,16 +65,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 + + - uses: dtolnay/rust-toolchain@stable with: - profile: minimal - toolchain: stable - override: true components: rustfmt - name: Check formatting run: cargo fmt -- --check - - diff --git a/CHANGELOG.md b/CHANGELOG.md index 55d83db..056e78c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,42 @@ +# 0.4.1 + +- Remove double features: See [PR 21] +- Correct typo in `src/lib.rs`: See [PR 21] +- Update `CHANGELOG.md`: See [PR 21] + +[PR 21]: https://github.com/umgefahren/libp2p-tor/pull/21 + +# 0.4.0 + +## Changes + +- Updated dependencies: See [PR 18] + - [`arti-client` to `v0.24.0`] + - [`libp2p` to `v0.53.0`] + - [`tor-rtcompat` to `v0.24.0`] +- Add tracing: See [PR 18] +- Update CI: See [PR 20] + - `actions/checkout` to `v4` + - Remove `arduino/setup-protoc` + +## First time contributor + +- @binarybaron + +Thanks! :rocket: + +[PR 18]: https://github.com/umgefahren/libp2p-tor/pull/18 +[PR 20]: https://github.com/umgefahren/libp2p-tor/pull/20 + + # 0.3.0-alpha - Updated dependencies: See [PR 6]. - - [`arti-client` to `v0.8`] + - [`arti-client` to `v0.8` - Updated dependencies: See [PR 8]. - - [`libp2p-core` to `v0.39`] - - [`libp2p` to `0.51`] + - `libp2p-core` to `v0.39` + - `libp2p` to `0.51` [PR 6]: https://github.com/umgefahren/libp2p-tor/pull/6 [PR 8]: https://github.com/umgefahren/libp2p-tor/pull/8 diff --git a/Cargo.toml b/Cargo.toml index ffedee0..15b169b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libp2p-community-tor" -version = "0.4.0" +version = "0.4.1" edition = "2021" license = "MIT" resolver = "2" @@ -17,7 +17,7 @@ tokio = { version = "1.0", features = ["macros"] } tracing = "0.1.40" [dev-dependencies] -libp2p = { version = "0.53", default-features = false, features = ["tokio", "noise", "yamux", "ping", "noise", "macros", "tcp", "tls"] } +libp2p = { version = "0.53", default-features = false, features = ["tokio", "noise", "yamux", "ping", "macros", "tcp", "tls"] } tokio-test = "0.4.4" [[example]] diff --git a/src/lib.rs b/src/lib.rs index 38e91df..b403d56 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -38,7 +38,7 @@ //! This crate uses tokio with rustls for its runtime and TLS implementation. //! No other combinations are supported. //! -//! //! ## Example +//! ## Example //! ```no_run //! use libp2p::core::Transport; //! # async fn test_func() -> Result<(), Box> {