Expand description
Core DuckDuckGo search client and parser.
Re-exports§
pub use region::Region;
Modules§
Structs§
- Client
- Client
Builder - Limits
- Tunable constants for the spacing/in-flight guard. Defaults match the
2026-05-08 first-party field report (
docs/en/ddgr.md); they may be overridden via environment variables for advanced users that have measured a different egress profile. - Manual
Clock - Rate
Limit Json - Rate
Limit Progress - One progress observation for an in-flight rate-limit wait. Emitted once per acquire cycle (the inner sleep is bounded so a long cooldown still yields periodic updates without a separate timer task).
- Search
Builder - Search
Meta - Search
Response - Search
Result - System
Clock
Enums§
- Error
- Rate
Limit Wait - Which kind of wait the limiter is currently performing. Surfaces in
RateLimitProgressevents so callers can render distinct user-facing messages for the post-block cooldown vs. the inter-request spacing gap. - Time
Filter
Traits§
Type Aliases§
- Progress
Hook - Optional callback the limiter invokes before each wait sleep so a host (typically the CLI) can render a transparent progress line. The closure must be cheap; it is called while holding no locks but on the hot path of the limiter loop.
- Result
- Shared
Clock