From 057960d578a792ea1f4c3df6b4e5928d55c6db13 Mon Sep 17 00:00:00 2001 From: Lev Date: Mon, 22 Apr 2024 16:08:07 -0700 Subject: [PATCH 1/4] Make crate::parse_result::ParseResult public --- src/query.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query.rs b/src/query.rs index 1f8cd20..f3fb469 100644 --- a/src/query.rs +++ b/src/query.rs @@ -5,7 +5,7 @@ use prost::Message; use crate::bindings::*; use crate::error::*; -use crate::parse_result::ParseResult; +pub use crate::parse_result::ParseResult; use crate::protobuf; /// Represents the resulting fingerprint containing both the raw integer form as well as the From 5143c36ccf3590756cf7a49600584a02aa0cf827 Mon Sep 17 00:00:00 2001 From: Lev Date: Mon, 22 Apr 2024 16:10:53 -0700 Subject: [PATCH 2/4] bump version --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0a3d1ca..40ebaf7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -390,7 +390,7 @@ dependencies = [ [[package]] name = "pg_query" -version = "5.1.0" +version = "5.1.0-1" dependencies = [ "bindgen", "cc", diff --git a/Cargo.toml b/Cargo.toml index 23ae4d9..f0705e4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pg_query" description = "PostgreSQL parser that uses the actual PostgreSQL server source to parse SQL queries and return the internal PostgreSQL parse tree." -version = "5.1.0" +version = "5.1.0-1" edition = "2021" documentation = "https://docs.rs/pg_query/" build = "build.rs" From a9959aa3d84776200495f41d85250da0f5b2e173 Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Wed, 19 Jun 2024 12:23:58 -0700 Subject: [PATCH 3/4] Move export to lib.rs, remove unused export --- src/lib.rs | 2 +- src/query.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index f26d11d..1e3b3e1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -52,7 +52,7 @@ pub use error::*; pub use node_enum::*; pub use node_mut::*; pub use node_ref::*; -pub use node_structs::*; +pub use parse_result::*; pub use query::*; pub use truncate::*; diff --git a/src/query.rs b/src/query.rs index f3fb469..1f8cd20 100644 --- a/src/query.rs +++ b/src/query.rs @@ -5,7 +5,7 @@ use prost::Message; use crate::bindings::*; use crate::error::*; -pub use crate::parse_result::ParseResult; +use crate::parse_result::ParseResult; use crate::protobuf; /// Represents the resulting fingerprint containing both the raw integer form as well as the From 2aaa5fdadbc182ef4c4f0a4ee17255db296cd1c4 Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Wed, 19 Jun 2024 12:25:08 -0700 Subject: [PATCH 4/4] remove version bump --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 40ebaf7..0a3d1ca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -390,7 +390,7 @@ dependencies = [ [[package]] name = "pg_query" -version = "5.1.0-1" +version = "5.1.0" dependencies = [ "bindgen", "cc", diff --git a/Cargo.toml b/Cargo.toml index f0705e4..23ae4d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pg_query" description = "PostgreSQL parser that uses the actual PostgreSQL server source to parse SQL queries and return the internal PostgreSQL parse tree." -version = "5.1.0-1" +version = "5.1.0" edition = "2021" documentation = "https://docs.rs/pg_query/" build = "build.rs"