kayleg / cloud-pubsub

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

Added ability to publish messages into topics. #1

Closed tehAnswer closed 5 years ago

tehAnswer commented 5 years ago

Hey @kayleg,

This PR allows publishing messages in a given topic. Since the crate lacks specs, I've created an example that sends a message as proof that it works.

Additionally, I haven't run cargo fmt just in case you have another preferred code-style guidelines. 😛

Let me know your thoughts!

kayleg commented 5 years ago

Looks good. Thanks. I've been using cargo fmt for the code style. Give that a run and then I'll merge it in.

tehAnswer commented 5 years ago

done!