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

# Rust SDK

# The People Data Labs Rust Helper Library

The People Data Labs Rust Library makes it easy to interact with our APIs from your Rust application. You can find the [most recent version of the library on Crates.io](https://crates.io/crates/peopledatalabs).

## How To Install the Library

This library is available as a Rust Package, and you can install it like this:

```shell
cargo add peopledatalabs
```

## Using the Library

Make sure that you sign up for a [free PDL API key](https://www.peopledatalabs.com/signup) if you don't already have one.

```rust
let api_key = std::env::var("PDL_API_KEY").unwrap();
let client = PDL::new(&api_key);

let mut person_params = PersonParams::default();
person_params.profile = Some(vec!["linkedin.com/in/seanthorne".to_string()]);

let mut enrich_params = EnrichPersonParams::default();
enrich_params.person_params = person_params.clone();

let results = client.person.enrich(enrich_params);

println!("{:#?}", results);
```

## More Information, Pull Requests, Feature Suggestions and Bug Reports

We've open-sourced the library, which is available on GitHub. Go there to view more information. You can also submit pull requests, feature suggestions and bug reports.

<Embed url="https://github.com/peopledatalabs/peopledatalabs-rust" title="GitHub - peopledatalabs/peopledatalabs-rust: A Rust client for the People Data Labs API" favicon="https://github.com/favicon.ico" image="https://opengraph.githubassets.com/272e1e8e92a163d01a0808737961c4180e8be07c28736858a4318f5449bf416d/peopledatalabs/peopledatalabs-rust" provider="github.com" href="https://github.com/peopledatalabs/peopledatalabs-rust" typeOfEmbed="default" />