File tree Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 1313Install and run a PostgreSQL database locally on Linux, MacOS or Windows. PostgreSQL can be
1414bundled with your application, or downloaded on demand.
1515
16+ This library provides an embedded-like experience for PostgreSQL similar to what you would have with
17+ SQLite. This is accomplished by downloading and installing PostgreSQL during runtime. There is
18+ also a "bundled" feature that when enabled, will download the PostgreSQL installation archive at
19+ compile time, include it in your binary and install from the binary version at runtime.
20+ In either case, PostgreSQL will run in a separate process space.
21+
22+ ## Features
23+
24+ - installing and running PostgreSQL
25+ - running PostgreSQL on ephemeral ports
26+ - async and blocking API
27+ - bundling the PostgreSQL archive in an executable
28+ - dynamic version resolution
29+ - ability to configure PostgreSQL startup options
30+ - URL based configuration
31+ - choice of native-tls vs rustls
32+
1633## Getting Started
1734
1835### Example
Original file line number Diff line number Diff line change 1111Install and run a PostgreSQL database locally on Linux, MacOS or Windows. PostgreSQL can be
1212bundled with your application, or downloaded on demand.
1313
14+ This library provides an embedded-like experience for PostgreSQL similar to what you would have with
15+ SQLite. This is accomplished by downloading and installing PostgreSQL during runtime. There is
16+ also a "bundled" feature that when enabled, will download the PostgreSQL installation archive at
17+ compile time, include it in your binary and install from the binary version at runtime.
18+ In either case, PostgreSQL will run in a separate process space.
19+
20+ ## Features
21+
22+ - installing and running PostgreSQL
23+ - running PostgreSQL on ephemeral ports
24+ - async and blocking API
25+ - bundling the PostgreSQL archive in an executable
26+ - dynamic version resolution
27+ - ability to configure PostgreSQL startup options
28+ - URL based configuration
29+ - choice of native-tls vs rustls
30+
1431## Examples
1532
1633### Asynchronous API
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use test_log::test;
44
55#[ test( tokio:: test) ]
66async fn lifecycle ( ) -> anyhow:: Result < ( ) > {
7- // Explicitly set PGDATABASE environment variables to verify that the library behavior
7+ // Explicitly set PGDATABASE environment variable to verify that the library behavior
88 // is not affected by the environment
99 env:: set_var ( "PGDATABASE" , "foodb" ) ;
1010
You can’t perform that action at this time.
0 commit comments