diff options
| author | mat <git@matdoes.dev> | 2025-12-12 06:07:51 -0100 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-12-12 06:07:51 -0100 |
| commit | 7f761df3e7b72ce75be21ab9b3a533d0a5a938a5 (patch) | |
| tree | f7911496b0823bac849852ce1db90167af9a72bf /azalea-protocol/src | |
| parent | f9c25665c203d6377ace62f1e95381d037d8fd9e (diff) | |
| download | azalea-drasl-7f761df3e7b72ce75be21ab9b3a533d0a5a938a5.tar.xz | |
fix compilation errors with some feature combinations
Diffstat (limited to 'azalea-protocol/src')
| -rw-r--r-- | azalea-protocol/src/connect.rs | 1 | ||||
| -rw-r--r-- | azalea-protocol/src/lib.rs | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/connect.rs b/azalea-protocol/src/connect.rs index fd599ff8..85fc643e 100644 --- a/azalea-protocol/src/connect.rs +++ b/azalea-protocol/src/connect.rs @@ -299,6 +299,7 @@ impl Display for Proxy { } } +#[cfg(feature = "online-mode")] impl From<Proxy> for reqwest::Proxy { fn from(proxy: Proxy) -> Self { reqwest::Proxy::all(proxy.to_string()) diff --git a/azalea-protocol/src/lib.rs b/azalea-protocol/src/lib.rs index b5c0fd1e..b481afb8 100644 --- a/azalea-protocol/src/lib.rs +++ b/azalea-protocol/src/lib.rs @@ -21,7 +21,6 @@ use std::{ pub mod common; #[cfg(feature = "connecting")] pub mod connect; -#[cfg(feature = "packets")] pub mod packets; pub mod read; pub mod resolve; |
