diff --git a/Cargo.toml b/Cargo.toml index 1a30728..f995501 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ license = "MIT" name = "pg-extras" readme = "README.md" repository = "https://github.com/pawurb/rust-pg-extras" -version = "0.1.0" +version = "0.2.0" exclude = [ "docker-compose.yml.sample", diff --git a/src/lib.rs b/src/lib.rs index af5c699..543d6cd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -314,6 +314,7 @@ impl Query { } #[derive(Error, Debug)] +#[non_exhaustive] pub enum PgExtrasError { #[error("Both $DATABASE_URL and $PG_EXTRAS_DATABASE_URL are not set")] MissingConfigVars(),