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

# Rust

> Instale e use o SDK Rust oficial da Enrow para encontrar e verificar e-mails e números de telefone com chamadas de API assíncronas e type-safe

O SDK oficial da Enrow para Rust encapsula os endpoints [Email Finder](/pt/api-reference/email-finder/find-single), [Email Verifier](/pt/api-reference/email-verifier/verify-single) e [Phone Finder](/pt/api-reference/phone/find-single) em um cliente assíncrono e type-safe. Autentique-se com sua [chave de API](/pt/authentication) — a mesma credencial `x-api-key` usada em toda a API da Enrow.

<Warning>
  Estes SDKs estão em acesso antecipado e ainda não foram publicados em registros de pacotes. Instale a partir do código-fonte através do repositório do GitHub vinculado abaixo.
</Warning>

## Instalação

Adicione a dependência git ao seu `Cargo.toml`:

```toml theme={null}
[dependencies]
enrow = { git = "https://github.com/EnrowAPI/enrow-rust" }
```

## GitHub

<a href="https://github.com/EnrowAPI/enrow-rust" rel="nofollow">github.com/EnrowAPI/enrow-rust</a>

## Início rápido

```rust theme={null}
use enrow::Enrow;

#[tokio::main]
async fn main() {
    let client = Enrow::new("YOUR_API_KEY");

    let search = client.email().find(EmailFindParams {
        fullname: "Dwight Schrute".into(),
        company_domain: Some("dundermifflin.com".into()),
        ..Default::default()
    }).await.unwrap();

    println!("{}", search.id);
}
```

Consulte o <a href="https://github.com/EnrowAPI/enrow-rust" rel="nofollow">repositório do GitHub</a> para documentação e exemplos completos.

## Próximos passos

<CardGroup cols={2}>
  <Card title="Autenticação" icon="key" href="/pt/authentication">
    Como passar sua chave de API no cabeçalho x-api-key.
  </Card>

  <Card title="Encontrar um e-mail" icon="envelope" href="/pt/api-reference/email-finder/find-single">
    O endpoint Find Single Email encapsulado por este SDK.
  </Card>

  <Card title="Verificar um e-mail" icon="circle-check" href="/pt/api-reference/email-verifier/verify-single">
    Verifique se um endereço de e-mail é válido e entregável.
  </Card>

  <Card title="Todos os SDKs" icon="cubes" href="/pt/sdks/overview">
    Navegue pela lista completa de SDKs oficiais da Enrow.
  </Card>
</CardGroup>
