summer-pubsub 0.7.0

Integrate Google Cloud Pub/Sub (google-cloud-pubsub) with summer-rs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[web]
port = 8000
graceful = true

[web.openapi]
doc_prefix = "/docs"
info = { title = "pubsub example", version = "0.0.1" }

[sqlx]
uri = "postgres://postgres:xudjf23adj213@127.0.0.1:5432/postgres"

[pubsub]
enabled = true
project_id = "summerrs-pubsub"
credentials = "examples/pubsub-example/credentials.json" # relative to crate root when using `cargo run --example`
# The credentials could be obtained from the GCP console or from the command line