Skip to content

Commit

Permalink
change the imor repo to supabase in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
abc3 authored Aug 12, 2024
1 parent b074a3b commit 01c3c7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ cargo run --example stdout -- --db-host localhost --db-port 5432 --db-name postg

In the above example, `pg_replicate` connects to a Postgres database named `postgres` running on `localhost:5432` with a username `postgres` and password `password`. The slot name `stdout_slot` will be created by `pg_replicate` automatically.

Refer to the [examples](https://github.com/imor/pg_replicate/tree/main/pg_replicate/examples) folder to run examples for sinks other than `stdout` (currently only `bigquery` and `duckdb` supported). A quick tip: to see all the command line options, run the example wihout any options specified, e.g. `cargo run --example bigquery` will print the detailed usage instructions for the `bigquery` sink.
Refer to the [examples](https://github.com/supabase/pg_replicate/tree/main/pg_replicate/examples) folder to run examples for sinks other than `stdout` (currently only `bigquery` and `duckdb` supported). A quick tip: to see all the command line options, run the example wihout any options specified, e.g. `cargo run --example bigquery` will print the detailed usage instructions for the `bigquery` sink.

## Getting Started

To use `pg_replicate` in your Rust project, add it via a git dependency in `Cargo.toml`:

```toml
[dependencies]
pg_replicate = { git = "https://github.com/imor/pg_replicate" }
pg_replicate = { git = "https://github.com/supabase/pg_replicate" }
```

The git dependency is needed for now because `pg_replicate` is not yet published on crates.io. You'd also need to add a dependency to tokio:
Expand Down

0 comments on commit 01c3c7b

Please sign in to comment.