infrastructure tier

infrastructure-adapters-google-calendar

Google Calendar adapter via service account — create, list, update, and delete events

Google Calendar adapter via service account — create, list, update, and delete events

Tierinfrastructure
Roleunclassified (baselined)
Pathcrates/infrastructure/adapters-google-calendar
Edition2021
Targetsinfrastructure_adapters_google_calendar
Public items0 across 0 modules
Tests10

What it is for

Google Calendar adapter via service account.

Provides an async client for the Google Calendar v3 API using service account JWT authentication. Supports creating, listing, updating, and deleting calendar events.

# Example

use infrastructure_adapters_google_calendar::{GoogleCalendarClient, ServiceAccountConfig};

let config = ServiceAccountConfig::from_key_file("/path/to/service-account.json")?;
let client = GoogleCalendarClient::new(config);
let event_id = client.create_event("calendar_id", &event).await?;

Capabilities

No public items.

How to use it

No examples/ target and no doctest in this crate's rustdoc. The tests listed under Verification are the closest executable usage.

Module structure

No public modules: the crate root is its whole surface.

Public surface

No public items.

Re-exports. Exported here, defined elsewhere.

ExportDefined in
CalendarErrorerror::CalendarError
GoogleCalendarClientclient::GoogleCalendarClient
ServiceAccountConfigauth::ServiceAccountConfig
{CalendarEvent,CalendarList,EventDateTime,EventList,ExtendedProperties}types::{CalendarEvent,CalendarList,EventDateTime,EventList,ExtendedProperties}

Boundary

Depends on no other workspace tier.

Shares tier infrastructure with 82 other crates: infrastructure-acquire, infrastructure-adapters-google-gmail, infrastructure-adapters-google-places, infrastructure-adapters-google-trends, infrastructure-adapters-shodan, infrastructure-adapters-yelp, infrastructure-agent, infrastructure-ai, … (82 total).

_What this crate deliberately does NOT own is a judgment. No committed registry records one for it, so none is stated here._

Where it sits

Tier (ontology)infrastructure
Architectural role (taxonomy)unclassified (baselined)
Locationcrates/infrastructure/adapters-google-calendar
Vocabulary in force (lexicon)current

Dependencies

Runtime, from outside the workspace.

CrateRequirementFeaturesOptionalOnly on
chrono^0.4serdenoalways
jsonwebtoken^9noalways
reqwest^0.12jsonnoalways
serde^1derivenoalways
serde_json^1noalways
thiserror^2noalways
tracing^0.1noalways
urlencoding^2noalways

Development. None.

Build. None.

Depended on by. 1 workspace crate.

Signal flow — what reaches this crate, and what it reaches.

flowchart LR
  n_application_google_calendar["application-google-calendar"] -->|uses| SELF
  SELF["infrastructure-adapters-google-calendar"]
  classDef self fill:#1f883d,stroke:#1f883d,color:#fff;
  class SELF self;

Feature flags

No Cargo features are defined: every capability is unconditional, so no consumer can receive a half-wired crate.

Targets

KindNameSource
libinfrastructure_adapters_google_calendar`src/lib.rs`

Error model

No public error type was detected: no public item declares a type named *Error, and no public signature returns one.

Operational characteristics

PropertyEvidence
async public surfacenone detected
async runtimenone detected
database accessnone detected
network I/Oyes
unsafe codenone detected
environment variablesnone detected

No unsafe block, unsafe fn, unsafe impl or unsafe trait was found by the parser anywhere in this crate's source.

Configuration

No environment variable is read with a literal name anywhere in this crate. A variable whose key is computed at run time cannot be listed here, and is not claimed to be absent.

1 workspace crate depends on this one: application-google-calendar.

Verification

KindCount
Unit tests10
Integration tests0
Examples0
Doctests0

What the tests establish, by name:

Documentation coverage

MeasureDocumentedTotal
Public items with rustdoc00
Public modules with a //! block00

Metrics

MetricValue
Rust source files5
Source lines654
Code lines504
Public API items0
Public modules0
Tests10
Examples0
Cargo features0
Direct runtime dependencies8
Workspace reverse dependencies1
pie showData
    title Rust source composition
    "Code" : 504
    "Blank or comment" : 150

Generation

Rendered by tools-corpus corpus readme from repository evidence alone, renderer schema 2, lexicon current. No model, network service or database was consulted. Regenerate with tools-corpus corpus readme --write; verify with --check.

All infrastructure · Manual