From 419c8dbe0b345d3dc0a092510f242f823ca1ed8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Gr=C3=BCnewald?= <10533763+dhalucario@users.noreply.github.com> Date: Sat, 2 Aug 2025 16:23:17 +0200 Subject: [PATCH] Bump version number to 0.2.6 --- Cargo.lock | 2 +- r621/Cargo.toml | 2 +- r621/README.md | 60 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 2 deletions(-) create mode 100644 r621/README.md diff --git a/Cargo.lock b/Cargo.lock index 9115f82..7241788 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1210,7 +1210,7 @@ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" [[package]] name = "r621" -version = "0.2.5" +version = "0.2.6" dependencies = [ "anyhow", "base64 0.21.7", diff --git a/r621/Cargo.toml b/r621/Cargo.toml index 5afcfe0..37dfdb4 100644 --- a/r621/Cargo.toml +++ b/r621/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r621" -version = "0.2.5" +version = "0.2.6" edition = "2024" description = "Provides a client to access e621" homepage = "https://git.doggoat.de/dhalucario/r621" diff --git a/r621/README.md b/r621/README.md new file mode 100644 index 0000000..88574da --- /dev/null +++ b/r621/README.md @@ -0,0 +1,60 @@ +# r621 +A simple e621 client using requwest. + + + Buy Me a Coffee at ko-fi.com + + +If you would like to contact me you can reach me via [Telegram](https://t.me/yesthisiscario) + +## Features + +### Implemented +- Post + - Listing + +### Missing +- Post + - Create + - Update + - Flag + - Vote + - Favorite +- Favorites + - Listing + - Create + - Delete +- Tags + - Listing +- Tag Aliases + - Listing +- Tag Implications + - Listing +- Notes + - Listing + - Create + - Update +- Pools + - Listing + - Create + - Update + - Revert + +## Example Usage + +```rust +use r621::client::{Authentication, Client}; +use r621::post::Post; + +#[tokio::main] +async fn main() -> Result<(), Box> { + let user_agent = "MyProject/1.0 (by username on e621)"; + let auth = Authentication::Authorized { + username: "hexerade", + apikey: "1nHrmzmsvJf26EhU1F7CjnjC" + }; + + let mut esix_client = Client::new(auth, user_agent); + let posts = esix_client.list_posts(None, Some(String::from("lucario")), None).await?; +} +``` \ No newline at end of file