Crate postgresfixture[−][src]
Expand description
The highest level functionality in this create is all in Cluster
. This
covers all the logic you need to safely create, run, and destroy PostgreSQL
clusters of any officially supported version (and a few older versions that
are not supported upstream).
let data_dir = tempdir::TempDir::new("data").unwrap();
let runtime = postgresfixture::Runtime::default();
let cluster = postgresfixture::Cluster::new(&data_dir, runtime);