Bump version number to 0.2.6
This commit is contained in:
parent
0deb26be1f
commit
419c8dbe0b
3 changed files with 62 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1210,7 +1210,7 @@ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
|
|||
|
||||
[[package]]
|
||||
name = "r621"
|
||||
version = "0.2.5"
|
||||
version = "0.2.6"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"base64 0.21.7",
|
||||
|
|
|
@ -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"
|
||||
|
|
60
r621/README.md
Normal file
60
r621/README.md
Normal file
|
@ -0,0 +1,60 @@
|
|||
# r621
|
||||
A simple e621 client using requwest.
|
||||
|
||||
<a href="https://ko-fi.com/dhalucario" target="_blank">
|
||||
<img height="35" style="border:0px;height:46px;" src="https://az743702.vo.msecnd.net/cdn/kofi3.png?v=0" alt="Buy Me a Coffee at ko-fi.com" />
|
||||
</a>
|
||||
|
||||
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<dyn std::error::Error>> {
|
||||
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?;
|
||||
}
|
||||
```
|
Loading…
Reference in a new issue