Skip to content

Conversation

@kpcyrd
Copy link
Contributor

@kpcyrd kpcyrd commented Nov 8, 2024

Debian tooling noticed the crate doesn't build with:

cargo check --no-default-features -F tokio

because src/irc.rs is gated like this:

#[cfg(feature = "tokio")]
pub mod irc;

but contains imports like this:

use bytes::BytesMut;
use tokio_util::codec::{Decoder, Encoder};

With this patch tokio becomes a feature that enables the relevant other dependencies. :)

@aatxe aatxe merged commit 10d1147 into aatxe:develop Jan 25, 2025
@kpcyrd kpcyrd deleted the tokio-dep branch January 25, 2025 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants