Skip to content

Commit

Permalink
Format the world with 0.5.0 (#750)
Browse files Browse the repository at this point in the history
* Add rustfmt.toml and format the world
* Update version to 0.5.0
* Upgrade dependencies
  • Loading branch information
workingjubilee authored Oct 7, 2022
1 parent 2ed0cb1 commit 1ded855
Show file tree
Hide file tree
Showing 159 changed files with 78,174 additions and 155,836 deletions.
107 changes: 60 additions & 47 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions cargo-pgx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-pgx"
version = "0.5.0-beta.1"
version = "0.5.0"
authors = ["ZomboDB, LLC <[email protected]>"]
license = "MIT"
description = "Cargo subcommand for 'pgx' to make Postgres extension development easy"
Expand All @@ -23,10 +23,10 @@ semver = "1.0.14"
owo-colors = { version = "3.5.0", features = [ "supports-colors" ] }
env_proxy = "0.4.1"
num_cpus = "1.13.1"
pgx-pg-config = { path = "../pgx-pg-config", version = "=0.5.0-beta.1" }
pgx-utils = { path = "../pgx-utils", version = "=0.5.0-beta.1" }
prettyplease = "0.1.19"
proc-macro2 = { version = "1.0.44", features = [ "span-locations" ] }
pgx-pg-config = { path = "../pgx-pg-config", version = "=0.5.0" }
pgx-utils = { path = "../pgx-utils", version = "=0.5.0" }
prettyplease = "0.1.20"
proc-macro2 = { version = "1.0.46", features = [ "span-locations" ] }
quote = "1.0.21"
rayon = "1.5.3"
regex = "1.6.0"
Expand All @@ -35,14 +35,14 @@ url = "2.3.1"
serde = { version = "1.0.145", features = [ "derive" ] }
serde_derive = "1.0.145"
serde-xml-rs = "0.5.1"
syn = { version = "1.0.101", features = [ "extra-traits", "full", "fold", "parsing" ] }
syn = { version = "1.0.102", features = [ "extra-traits", "full", "fold", "parsing" ] }
unescape = "0.1.0"
fork = "0.1.20"
libloading = "0.7.3"
object = "0.28.4"
once_cell = "1.15.0"
eyre = "0.6.8"
color-eyre = "0.6.2"
tracing = "0.1.36"
tracing = "0.1.37"
tracing-error = "0.2.0"
tracing-subscriber = { version = "0.3.15", features = [ "env-filter" ] }
tracing-subscriber = { version = "0.3.16", features = [ "env-filter" ] }
14 changes: 5 additions & 9 deletions cargo-pgx/src/command/connect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ All rights reserved.
Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/

use crate::{
command::{get::get_property, run::exec_psql, start::start_postgres},
CommandExecute,
};
use crate::command::get::get_property;
use crate::command::run::exec_psql;
use crate::command::start::start_postgres;
use crate::CommandExecute;
use cargo_toml::Manifest;
use eyre::{eyre, WrapErr};
use owo_colors::OwoColorize;
Expand Down Expand Up @@ -120,11 +120,7 @@ pub(crate) fn connect_psql(pg_config: &PgConfig, dbname: &str, pgcli: bool) -> e

// create the named database
if !createdb(pg_config, dbname, false, true)? {
println!(
"{} existing database {}",
" Re-using".bold().cyan(),
dbname
);
println!("{} existing database {}", " Re-using".bold().cyan(), dbname);
}

// run psql
Expand Down
Loading

0 comments on commit 1ded855

Please sign in to comment.