[PR #143] [MERGED] Fix building ctl crate #175

Closed
opened 2026-02-27 10:16:03 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/matze/wastebin/pull/143
Author: @cgzones
Created: 3/30/2025
Status: Merged
Merged: 3/30/2025
Merged by: @matze

Base: masterHead: ctl


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 crates/wastebin_core/Cargo.toml (+1 -1)

📄 Description

Building only the ctl crate currently fails via:

error[E0432]: unresolved import `tokio::task::spawn_blocking`
   --> crates/wastebin_core/src/crypto.rs:5:5
    |
5   | use tokio::task::spawn_blocking;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `spawn_blocking` in `task`
    |
note: found an item that was configured out
    --> /home/christian/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/task/mod.rs:273:23
    |
273 |     pub use blocking::spawn_blocking;
    |                       ^^^^^^^^^^^^^^
note: the item is gated behind the `rt` feature
   --> /home/christian/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/task/mod.rs:269:1
    |
269 | / cfg_rt! {
270 | |     pub use crate::runtime::task::{JoinError, JoinHandle};
271 | |
272 | |     mod blocking;
...   |
323 | | }
    | |_^
    = note: this error originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/matze/wastebin/pull/143 **Author:** [@cgzones](https://github.com/cgzones) **Created:** 3/30/2025 **Status:** ✅ Merged **Merged:** 3/30/2025 **Merged by:** [@matze](https://github.com/matze) **Base:** `master` ← **Head:** `ctl` --- ### 📝 Commits (1) - [`3566a89`](https://github.com/matze/wastebin/commit/3566a89903db3fbe3e84be9358e0a31659ef5fa2) Fix building ctl crate ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/wastebin_core/Cargo.toml` (+1 -1) </details> ### 📄 Description Building only the ctl crate currently fails via: error[E0432]: unresolved import `tokio::task::spawn_blocking` --> crates/wastebin_core/src/crypto.rs:5:5 | 5 | use tokio::task::spawn_blocking; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `spawn_blocking` in `task` | note: found an item that was configured out --> /home/christian/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/task/mod.rs:273:23 | 273 | pub use blocking::spawn_blocking; | ^^^^^^^^^^^^^^ note: the item is gated behind the `rt` feature --> /home/christian/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/task/mod.rs:269:1 | 269 | / cfg_rt! { 270 | | pub use crate::runtime::task::{JoinError, JoinHandle}; 271 | | 272 | | mod blocking; ... | 323 | | } | |_^ = note: this error originates in the macro `cfg_rt` (in Nightly builds, run with -Z macro-backtrace for more info) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 10:16:03 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wastebin-matze#175
No description provided.