Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SleeplessOne1917 committed Jun 11, 2024
1 parent cab6a3b commit 3a95648
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@
<h1 align="center">lemmy-client</h1>
<p align="center">A Rust HTTP client for <a href="https://github.com/LemmyNet/lemmy">Lemmy</a>. Uses the browser's built-in <a href="https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API">fetch API</a> when targeting WASM to keep the binary size small.</p>
</div>

## 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.
5 changes: 4 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
//!
Expand All @@ -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;

Expand Down

0 comments on commit 3a95648

Please sign in to comment.