Email me

Rust errors / Build and Cargo

Rust build error · checked with Rust 1.99.0

error[E0432]: unresolved import... the item is gated behind the `full` feature

error[E0432]: unresolved import... the item is gated behind the `full` feature

What it meansThe item exists but sits behind a crate feature you did not turn on. Recent rustc tells you which feature in a note.

Why it happens

  • tokio, reqwest, serde, chrono and others ship most APIs behind features.

How to fix it

1. Turn on the feature named in the note

cargo add tokio --features net,macros,rt-multi-thread

2. See every feature of a crate

Our feature pages list them with what each one turns on: /rust/features/

Other wordings of this error

the item is gated behind the, is gated behind the feature, unresolved import tokio::net, could not find in tokio

Other build errors

Up next

Find the right pagePaste any Rust errorCompiler codes and build errors in one finder.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ