From 75a76395c6a85cb138fdf62b81600981c351bf3f Mon Sep 17 00:00:00 2001 From: Anthony Dodd Date: Sat, 1 Feb 2020 11:56:08 -0600 Subject: [PATCH] Rename new example to match current nomenclature. --- Cargo.lock | 9 +++++++++ Cargo.toml | 2 +- examples/{postgres-listen => listen-postgres}/Cargo.toml | 2 +- examples/{postgres-listen => listen-postgres}/README.md | 0 .../{postgres-listen => listen-postgres}/src/main.rs | 0 5 files changed, 11 insertions(+), 2 deletions(-) rename examples/{postgres-listen => listen-postgres}/Cargo.toml (90%) rename examples/{postgres-listen => listen-postgres}/README.md (100%) rename examples/{postgres-listen => listen-postgres}/src/main.rs (100%) 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