Installation
Prerequisites
- Rust toolchain (edition 2024)
- Google Cloud project with Calendar API enabled
- OAuth2 credentials (Desktop application type)
Install from crates.io
cargo install rscalendar
This downloads, compiles, and installs the latest published version into ~/.cargo/bin/.
Building from Source
git clone https://github.com/veltzer/rscalendar.git
cd rscalendar
cargo build --release
The binary will be at target/release/rscalendar.
Google Cloud Setup
- Go to Google Cloud Console
- Create a new project (or use an existing one)
- Enable the Google Calendar 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/rscalendar/credentials.json