> ## Documentation Index
> Fetch the complete documentation index at: https://docs.beecrawl.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Rust SDK

> Use BeeCrawl from Rust with an async HTTP client.

## Install

```toml theme={null}
[dependencies]
beecrawl-sdk = "0.1"
```

## Usage

```rust theme={null}
use beecrawl_sdk::BeeCrawlClient;
use serde_json::json;

let client = BeeCrawlClient::builder("http://127.0.0.1:8000")
    .api_key("your-key")
    .build()?;

let page = client
    .scrape("https://example.com", json!({"formats": ["markdown"]}))
    .await?;
println!("{}", page["markdown"]);
```
