Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

  1. Go to Google Cloud Console
  2. Create a new project (or use an existing one)
  3. Enable the People API under APIs & Services
  4. 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
  5. Place the credentials file at ~/.config/rscontacts/credentials.json