Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2746783

Browse filesBrowse files
Merge pull request theseus-rs#139 from theseus-rs/remove-version-12-support
depr!: remove version 12 and deprecate version 13
2 parents 1a9cc60 + 1e681f9 commit 2746783
Copy full SHA for 2746783

File tree

Expand file treeCollapse file tree

1 file changed

+2
-10
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-10
lines changed

‎postgresql_embedded/src/lib.rs

Copy file name to clipboardExpand all lines: postgresql_embedded/src/lib.rs
+2-10Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -147,14 +147,11 @@ pub static V15: LazyLock<VersionReq> = LazyLock::new(|| VersionReq::parse("=15")
147147
pub static V14: LazyLock<VersionReq> = LazyLock::new(|| VersionReq::parse("=14").unwrap());
148148

149149
/// The latest PostgreSQL version 13
150-
pub static V13: LazyLock<VersionReq> = LazyLock::new(|| VersionReq::parse("=13").unwrap());
151-
152-
/// The latest PostgreSQL version 12
153150
#[deprecated(
154-
since = "0.1.0",
151+
since = "0.17.0",
155152
note = "See https://www.postgresql.org/developer/roadmap/"
156153
)]
157-
pub static V12: LazyLock<VersionReq> = LazyLock::new(|| VersionReq::parse("=12").unwrap());
154+
pub static V13: LazyLock<VersionReq> = LazyLock::new(|| VersionReq::parse("=13").unwrap());
158155

159156
pub use settings::BOOTSTRAP_DATABASE;
160157
pub use settings::BOOTSTRAP_SUPERUSER;
@@ -199,9 +196,4 @@ mod tests {
199196
fn test_version_13() {
200197
assert_eq!(V13.to_string(), "=13");
201198
}
202-
203-
#[test]
204-
fn test_version_12() {
205-
assert_eq!(V12.to_string(), "=12");
206-
}
207199
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.