From 3a956489e7812b7cb1dfb4d11cf0376521d6c12f Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com> Date: Tue, 11 Jun 2024 13:05:45 -0400 Subject: [PATCH] v1.0.0 --- Cargo.toml | 2 +- README.md | 4 ++++ src/lib.rs | 5 ++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1b25f31..77e20b5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lemmy-client" -version = "0.19.5-alpha.1" +version = "1.0.0" edition = "2021" license = "AGPL-3.0" authors = ["SleeplessOne1917"] diff --git a/README.md b/README.md index 5fabfaa..d1807b5 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,7 @@
A Rust HTTP client for Lemmy. Uses the browser's built-in fetch API when targeting WASM to keep the binary size small.
+ +## IMPORTANT NOTICE + +This crate now uses a different versioning scheme than before so as not to be too tied down to Lemmy releases. For Lemmy versions 0.19.4 and up, use versions 1.x.x. For Lemmy versions 0.19.3 and under, use versions 0.19.5 and up. This is confusing, but should become a non issue as Lemmy accumulates versions and fewer servers use Lemmy versions use 0.19.3 and lower. diff --git a/src/lib.rs b/src/lib.rs index 6c8f57a..255274f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -7,7 +7,7 @@ )] //! A Rust HTTP client for Lemmy. //! If used when targeting WASM, uses the browser's built-in fetch API to reduce bundle size. -//! # Example +//! ## Example //! ``` //! use lemmy_client::{LemmyClient, ClientOptions}; //! @@ -21,6 +21,9 @@ //! //! assert!(res.is_ok()); //! } +//! +//! ## IMPORTANT NOTICE +//! This crate now uses a different versioning scheme than before so as not to be too tied down to Lemmy releases. For Lemmy versions 0.19.4 and up, use versions 1.x.x. For Lemmy versions 0.19.3 and under, use versions 0.19.5 and up. This is confusing, but should become a non issue as Lemmy accumulates versions and fewer servers use Lemmy versions use 0.19.3 and lower. //! ``` use std::collections::HashMap;