From ef945e37f7f5e9574f5c7a4084d534cbdc8a5836 Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Sun, 26 May 2024 16:43:57 +0200 Subject: [PATCH] add deprecation warning --- Cargo.lock | 2 +- README.md | 14 ++++++++++++++ servicepoint2/Cargo.toml | 2 +- servicepoint2/build.rs | 3 +++ 4 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 servicepoint2/build.rs diff --git a/Cargo.lock b/Cargo.lock index f8b8d84..149222f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -420,7 +420,7 @@ dependencies = [ [[package]] name = "servicepoint2" -version = "0.4.2" +version = "0.4.3" dependencies = [ "bzip2", "flate2", diff --git a/README.md b/README.md index fff4a4d..f43b819 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,17 @@ +# Archived! + +This fork will no longer be the repository where releases are published. + +Please switch to the [upstreamed version](https://github.com/cccb/servicepoint) with the following changes in your Cargo.toml: + +```diff +[dependencies] +- servicepoint2 = "0.4.2" ++ servicepoint = "0.5.0" +``` + +The new crate is also published on [crates.io](https://crates.io/crates/servicepoint). + # servicepoint2 [![crates.io](https://img.shields.io/crates/v/servicepoint2.svg)](https://crates.io/crates/servicepoint2) diff --git a/servicepoint2/Cargo.toml b/servicepoint2/Cargo.toml index 7dfa663..4d54eb3 100644 --- a/servicepoint2/Cargo.toml +++ b/servicepoint2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "servicepoint2" -version = "0.4.2" +version = "0.4.3" publish = true edition = "2021" license = "GPL-3.0-or-later" diff --git a/servicepoint2/build.rs b/servicepoint2/build.rs new file mode 100644 index 0000000..acd7da4 --- /dev/null +++ b/servicepoint2/build.rs @@ -0,0 +1,3 @@ +pub fn main() { + println!("cargo:warning=This crate is unmaintained. Please switch to `servicepoint`.") +}