Skip to content

Commit

Permalink
Rename bin
Browse files Browse the repository at this point in the history
  • Loading branch information
pawurb committed Oct 22, 2024
1 parent 24e7118 commit e898797
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT"
name = "pg-extras"
readme = "README.md"
repository = "https://github.com/pawurb/pg-extras-rs"
version = "0.5.0"
version = "0.6.0"

exclude = ["docker-compose.yml.sample", "live_tests.sh"]

Expand All @@ -29,7 +29,7 @@ tokio = { version = "1.40", features = ["full"] }
lto = true

[[bin]]
name = "pg_extras"
name = "pgextras"
path = "bin/main.rs"

[[example]]
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ Package expects the `$PG_EXTRAS_DATABASE_URL` or `$DATABASE_URL` env in the foll
export DATABASE_URL="postgresql://postgres:secret@localhost:5432/database_name"
```

You can use `pg_extras` shell command:
You can use `pgextras` shell command:

```bash
$ pg_extras cache_hit
$ pgextras cache_hit
+----------------+------------------------+
| /* Index and table hit rate */ |
+================+========================+
Expand All @@ -54,7 +54,7 @@ $ pg_extras cache_hit
You can check if it is enabled in your database by running:

```bash
pg_extras extensions
pgextras extensions
```

You should see the similar line in the output:
Expand Down

0 comments on commit e898797

Please sign in to comment.