Installation
Prerequisites
- Rust toolchain (edition 2024)
- Google Cloud project with People API enabled
- OAuth2 credentials (Desktop application type)
Install from crates.io
cargo install rscontacts
This downloads, compiles, and installs the latest published version into ~/.cargo/bin/.
Building from Source
git clone https://github.com/veltzer/rscontacts.git
cd rscontacts
cargo build --release
The binary will be at target/release/rscontacts.
Google Cloud Setup
- Go to Google Cloud Console
- Create a new project (or use an existing one)
- Enable the People API under APIs & Services
- Create OAuth2 credentials:
- Go to APIs & Services > Credentials
- Click “Create Credentials” > “OAuth client ID”
- Choose “Desktop application” as the application type
- Download the JSON file
- Place the credentials file at
~/.config/rscontacts/credentials.json