diff --git a/Cargo.lock b/Cargo.lock index 935ec7a1..6835183f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -875,6 +875,15 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "listen-postgres" +version = "0.1.0" +dependencies = [ + "async-std", + "futures 0.3.1", + "sqlx 0.2.5", +] + [[package]] name = "lock_api" version = "0.3.3" diff --git a/Cargo.toml b/Cargo.toml index 2cce05d2..736f49cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ members = [ "sqlx-core", "sqlx-macros", "sqlx-test", - "examples/postgres-listen", + "examples/listen-postgres", "examples/realworld-postgres", "examples/todos-postgres", ] diff --git a/examples/postgres-listen/Cargo.toml b/examples/listen-postgres/Cargo.toml similarity index 90% rename from examples/postgres-listen/Cargo.toml rename to examples/listen-postgres/Cargo.toml index 9c0463d2..265a6936 100644 --- a/examples/postgres-listen/Cargo.toml +++ b/examples/listen-postgres/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "postgres-listen" +name = "listen-postgres" version = "0.1.0" edition = "2018" workspace = "../.." diff --git a/examples/postgres-listen/README.md b/examples/listen-postgres/README.md similarity index 100% rename from examples/postgres-listen/README.md rename to examples/listen-postgres/README.md diff --git a/examples/postgres-listen/src/main.rs b/examples/listen-postgres/src/main.rs similarity index 100% rename from examples/postgres-listen/src/main.rs rename to examples/listen-postgres/src/main.rs