From 3e3b35f6a372a414b0532c689e20dcd32c5386e5 Mon Sep 17 00:00:00 2001 From: "Eric B. Ridge" Date: Fri, 24 Feb 2023 15:02:49 -0500 Subject: [PATCH 1/4] prepare v1.0.0-rc.0 --- plrust-trusted-pgx/Cargo.toml | 2 +- plrust/Cargo.toml | 2 +- plrustc/plrustc/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plrust-trusted-pgx/Cargo.toml b/plrust-trusted-pgx/Cargo.toml index 3bd22698..91b54653 100644 --- a/plrust-trusted-pgx/Cargo.toml +++ b/plrust-trusted-pgx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "plrust-trusted-pgx" -version = "0.0.0-do-not-use" +version = "1.0.0-rc.0" authors = ["TCDI "] edition = "2021" license = "PostgreSQL" diff --git a/plrust/Cargo.toml b/plrust/Cargo.toml index d67b2df3..f1e4f784 100644 --- a/plrust/Cargo.toml +++ b/plrust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "plrust" -version = "1.0.0-beta.1" +version = "1.0.0-rc.0" authors = ["TCDI "] edition = "2021" license = "PostgreSQL Open Source License" diff --git a/plrustc/plrustc/Cargo.toml b/plrustc/plrustc/Cargo.toml index c4adf707..3bdacdd9 100644 --- a/plrustc/plrustc/Cargo.toml +++ b/plrustc/plrustc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "plrustc" -version = "0.1.0" +version = "1.0.0-rc.0" edition = "2021" description = "`rustc_driver` wrapper for plrust" From 142163927d563fb90208d26e4cb7e74ddf53339c Mon Sep 17 00:00:00 2001 From: "Eric B. Ridge" Date: Fri, 24 Feb 2023 15:05:22 -0500 Subject: [PATCH 2/4] cleanup plrustc Cargo.toml --- plrustc/Cargo.lock | 10 +++++----- plrustc/plrustc/Cargo.toml | 10 ++++------ 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/plrustc/Cargo.lock b/plrustc/Cargo.lock index f4a37737..3af7a6ab 100644 --- a/plrustc/Cargo.lock +++ b/plrustc/Cargo.lock @@ -173,13 +173,13 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.17.0" +version = "1.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66" +checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" [[package]] name = "plrustc" -version = "0.1.0" +version = "1.0.0-rc.0" dependencies = [ "compiletest_rs", "once_cell", @@ -297,9 +297,9 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.107" +version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" dependencies = [ "proc-macro2", "quote", diff --git a/plrustc/plrustc/Cargo.toml b/plrustc/plrustc/Cargo.toml index 3bdacdd9..46b68479 100644 --- a/plrustc/plrustc/Cargo.toml +++ b/plrustc/plrustc/Cargo.toml @@ -3,15 +3,13 @@ name = "plrustc" version = "1.0.0-rc.0" edition = "2021" description = "`rustc_driver` wrapper for plrust" +license = "PostgreSQL" +authors = ["TCDI "] +homepage = "https://github.com/tcdi/plrust/" +repository = "https://github.com/tcdi/plrust/" [dependencies] once_cell = "1.17.0" -# rustc_tools_util = "0.3.0" -# log = "0.4" -# env-logger = "0.10" - -# [build-dependencies] -# rustc_tools_util = "0.3.0" [dev-dependencies] compiletest_rs = "0.9" From 11ff85d959e78328ec1f9d62c0f4ffc32dde3e5d Mon Sep 17 00:00:00 2001 From: "Eric B. Ridge" Date: Fri, 24 Feb 2023 15:06:14 -0500 Subject: [PATCH 3/4] upgrade dependencies --- Cargo.lock | 8 ++++---- plrust/Cargo.toml | 10 +++++----- plrustc/plrustc/Cargo.toml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c58fc211..1ebc2d5c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1097,7 +1097,7 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "plrust" -version = "1.0.0-beta.1" +version = "1.0.0-rc.0" dependencies = [ "base64 0.21.0", "cfg-if", @@ -1128,7 +1128,7 @@ dependencies = [ [[package]] name = "plrust-trusted-pgx" -version = "0.0.0-do-not-use" +version = "1.0.0-rc.0" dependencies = [ "pgx", ] @@ -2099,9 +2099,9 @@ checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd" [[package]] name = "winnow" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e03edcaf98895c6e811156c6a3d8532deb3fc546964ef11c5c5182d1ca5e47dd" +checksum = "44c06e7dbfe731192c512aa707249279d720876a868eb08f21ea93eb9de1eca9" dependencies = [ "memchr", ] diff --git a/plrust/Cargo.toml b/plrust/Cargo.toml index f1e4f784..7cd98703 100644 --- a/plrust/Cargo.toml +++ b/plrust/Cargo.toml @@ -28,7 +28,7 @@ force_enable_x86_64_darwin_generations = [] [dependencies] cfg-if = "1" # platform conditional helper -once_cell = "1.17.0" # polyfills a nightly feature +once_cell = "1.17.1" # polyfills a nightly feature semver = "1.0.16" home = "0.5.4" # where can we find cargo? @@ -36,14 +36,14 @@ home = "0.5.4" # where can we find cargo? base64 = "0.21.0" flate2 = "1.0.25" serde = "1.0.152" -serde_json = "1.0.91" +serde_json = "1.0.93" # pgx core details pgx = { version = "=0.7.2" } # language handler support libloading = "0.7.4" -toml = "0.7.1" +toml = "0.7.2" tempdir = "0.3.7" # for building crates tempfile = "3.3.0" @@ -68,5 +68,5 @@ memfd = "0.6.2" # for anonymously writing/loading user function .so [dev-dependencies] pgx-tests = { version = "=0.7.2" } tempdir = "0.3.7" -once_cell = "1.17.0" -toml = "0.7.1" +once_cell = "1.17.1" +toml = "0.7.2" diff --git a/plrustc/plrustc/Cargo.toml b/plrustc/plrustc/Cargo.toml index 46b68479..a483bc51 100644 --- a/plrustc/plrustc/Cargo.toml +++ b/plrustc/plrustc/Cargo.toml @@ -9,7 +9,7 @@ homepage = "https://github.com/tcdi/plrust/" repository = "https://github.com/tcdi/plrust/" [dependencies] -once_cell = "1.17.0" +once_cell = "1.17.1" [dev-dependencies] compiletest_rs = "0.9" From e7c07a79310fd57e2b2da9c2ebe26e1ad84a6f19 Mon Sep 17 00:00:00 2001 From: "Eric B. Ridge" Date: Fri, 24 Feb 2023 15:09:38 -0500 Subject: [PATCH 4/4] fix type-o --- plrust-trusted-pgx/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plrust-trusted-pgx/README.md b/plrust-trusted-pgx/README.md index c9ad42f4..8bf7631a 100644 --- a/plrust-trusted-pgx/README.md +++ b/plrust-trusted-pgx/README.md @@ -5,5 +5,5 @@ of capabilities necessary to compile [`plrust`](https://github.com/tcdi/plrust) user functions along with safe access to various parts of Postgres including some data types, logging, Spi, and triggers. -You might be tempted to use this for your own pgx extension development, but you shouldn't. It's intended for use onely +You might be tempted to use this for your own pgx extension development, but you shouldn't. It's intended for use only with plrust. \ No newline at end of file