google-apis-rs / google-cloud-rs

Asynchronous Rust bindings for Google Cloud Platform APIs.
176 stars 48 forks source link

#36 use the "PUBSUB_EMULATOR_HOST" environment variable if present #63

Open Tarkin25 opened 2 years ago

Tarkin25 commented 2 years ago

This change enables users to configure the PUBSUB_EMULATOR_HOST environment variable if they want to connect to a running emulator instance of Google Pub/Sub instead of a real instance.

I would gladly take some feedback and work on possible improvements if desired.