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 d90b7d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ 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",
"live_tests.sh",
]

[dependencies]
prettytable-rs = "^0.10"
prettytable-rs = "0.10"
sqlx = {version = "0.6", features = ["runtime-tokio-rustls", "postgres", "macros", "bigdecimal"]}
thiserror = "1.0"
tokio = {version = "1", features = ["full"]}
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 d90b7d1

Please sign in to comment.