Skip to content

Commit

Permalink
PgExtrasError non_exhaustive and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
pawurb committed Jan 24, 2024
1 parent ebfa629 commit 080d2a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 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/rust-pg-extras"
version = "0.1.0"
version = "0.2.0"

exclude = [
"docker-compose.yml.sample",
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 080d2a2

Please sign in to comment.