kayleg / cloud-pubsub

Google Cloud PubSub client in rust
MIT License
31 stars 21 forks source link

Allow passing credentials object instead of a path. Or credentials json string. #9

Closed ruseinov closed 4 years ago

ruseinov commented 4 years ago

Currently there should be a mounted file with credentials for the library to work. This is inconvenient in case the credentials are passed using an environment variable. I'm about to make a fork to fix this, but not sure the solution would be proper enough to contribute.