Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove double feature in Cargo.toml #21

Merged
merged 5 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: Swatinem/rust-cache@v2

- name: Check
run: cargo check --all-features

Expand All @@ -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
Expand All @@ -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

Expand All @@ -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



37 changes: 34 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libp2p-community-tor"
version = "0.4.0"
version = "0.4.1"
edition = "2021"
license = "MIT"
resolver = "2"
Expand All @@ -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]]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<dyn std::error::Error>> {
Expand Down