Rust SDK
Native Rust SDK (crawlingo crate). Highly parallel, async-first API built using Tokio and Rayon.
9 min read Updated July 2026
ℹ️
Cargo dependency
Add to
Cargo.toml:crawlingo = "0.1" (Requires Rust 1.75+ and Tokio runtime)Quick Example
Core Structs
| Struct | Description |
|---|---|
Session | Core connection, config, and Sled-based fingerprint state manager. Thread-safe (Arc/Sync). |
Page | HTML parser containing the DOM tree. Constructed asynchronously from Page::new(url, session). |
Dataset | Fluent API for compiling multiple fields into datasets. |
Crawl | Tokio-based async crawler walking pages BFS up to depth and limits. |
Watch | Active monitoring struct for executing callbacks on DOM change events. |
Cargo Features
Customize the crawlingo crate footprint by toggling features in your Cargo.toml:
| Feature Name | Description |
|---|---|
default | Enables stealth HTTP/2 fetcher, SIMD search, and JSON/CSV dataset exports. |
stealth | Enables custom TLS fingerprinting engine (JA3 & HTTP/2 frame profiles). |
simd | Enables AVX2/NEON vector assembly implementations for text anchor indexing. |
parquet | Enables writing Apache Parquet dataset outputs via the arrow-parquet crate. |
blocking | Adds synchronous blocking APIs for non-async applications. |
