Skip to content

Commit 811faf7

Browse files
committed
docs: update vscode development container instructions
1 parent c3adcbb commit 811faf7

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center"><img width="250" height="250" src="images/logo.png"></p>
2-
2+
33
# PostgreSQL Embedded
44

55
[![ci](https://github.com/theseus-rs/postgresql-embedded/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/theseus-rs/postgresql-embedded/actions/workflows/ci.yml)
@@ -10,12 +10,13 @@
1010
[![License](https://img.shields.io/crates/l/postgresql_embedded)](https://github.com/theseus-rs/postgresql-embedded#license)
1111
[![Semantic Versioning](https://img.shields.io/badge/%E2%9A%99%EF%B8%8F_SemVer-2.0.0-blue)](https://semver.org/spec/v2.0.0.html)
1212

13-
Install and run a PostgreSQL database locally on Linux, MacOS or Windows. PostgreSQL can be
13+
Install and run a PostgreSQL database locally on Linux, MacOS or Windows. PostgreSQL can be
1414
bundled with your application, or downloaded on demand.
1515

1616
## Getting Started
1717

1818
### Example
19+
1920
```rust
2021
use postgresql_embedded::{PostgreSQL, Result};
2122

@@ -24,12 +25,12 @@ async fn main() -> Result<()> {
2425
let mut postgresql = PostgreSQL::default();
2526
postgresql.setup().await?;
2627
postgresql.start().await?;
27-
28+
2829
let database_name = "test";
2930
postgresql.create_database(database_name).await?;
3031
postgresql.database_exists(database_name).await?;
3132
postgresql.drop_database(database_name).await?;
32-
33+
3334
postgresql.stop().await
3435
}
3536
```
@@ -61,7 +62,7 @@ additional terms or conditions.
6162

6263
<a href="https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/theseus-rs/postgresql-embedded">
6364
<img
64-
src="https://img.shields.io/static/v1?label=Local%20Dev%20Container&logo=visualstudiocode&message=Open&color=orange"
65+
src="https://img.shields.io/static/v1?label=VSCode%20Development%20Container&logo=visualstudiocode&message=Open&color=orange"
6566
alt="VSCode Development Container"
6667
/>
6768
</a>
@@ -74,6 +75,8 @@ additional terms or conditions.
7475
</a>
7576

7677
## Prior Art
78+
7779
Projects that inspired this one:
80+
7881
* [zonkyio/embedded-postgres-binaries](https://github.com/zonkyio/embedded-postgres-binaries)
7982
* [faokunega/pg-embed](https://github.com/faokunega/pg-embed)

0 commit comments

Comments
 (0)