
crates.io
Let AI connect your sources for you
Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Connect crates.io to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Pull metadata, versions, owners, and daily download counts for Rust crates from the crates.io API into the PostHog Data warehouse.
crates.io's read APIs are public, so no credentials are required. There is no practical way to sync the whole registry, so enter the crate names you want to track, one per line (or comma-separated). For example:
serde
tokio
posthog-rs
Each sync fetches the current data for every configured crate. crates.io has no server-side "changed since" filter, and daily download counts only cover the trailing ~90 days, so all tables sync as a full refresh.
Configuration
| Option | Type | Required |
|---|---|---|
Crates | textarea | Yes |
Linking crates.io to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select crates.io
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
crates | Crate metadata: one row per configured crate, from the | Full refresh | — | — |
versions | Published versions: one row per version across every configured crate. | Full refresh | created_at | — |
downloads | Daily download counts per version of each configured crate, over the trailing ~90-day window the crates.io API exposes. | Full refresh | date | — |
owners | Owners (users and teams) of each configured crate. | Full refresh | — | — |