| Crates.io | webtoon |
| lib.rs | webtoon |
| version | 0.9.0 |
| created_at | 2024-10-22 08:33:28.355977+00 |
| updated_at | 2025-08-19 21:59:41.304874+00 |
| description | Client for interacting with various webtoon websites. |
| homepage | |
| repository | https://github.com/Webtoon-Studio/webtoon/ |
| max_upload_size | |
| id | 1418377 |
| size | 675,287 |
Welcome to the webtoon library, a Rust-based SDK that allows you to interact with a Webtoon platform programmatically.
This library provides a set of utilities and methods to handle various Webtoon-specific operations such as fetching episodes, posting comments, subscribing, liking, and managing episode metadata. Platform support varies.
Supported:
webtoons.com only).webtoons.com only).webtoons.com only).MSRV: 1.85.0
To use this library, add webtoon to your Cargo.toml:
[dependencies]
tokio = { version = "1", features = ["full"] }
webtoon = "0.9.0"
The main entry point to the library is through a Client. Each platform has its own client that is responsible for
exposing various ways to interact with the specific platform.
webtoons.comuse webtoon::platform::webtoons::{errors::Error, Client, Type};
#[tokio::main]
async fn main() -> Result<(), Error> {
// Initialize the client
let client = Client::new();
// Fetch a webtoon by its `id` and its `Type`
let webtoon = client
.webtoon(95, Type::Original)
.await?
.expect("No webtoon with this id and type on webtoon.com");
// Fetch title and print to stdout
println!("{}", webtoon.title().await?);
Ok(())
}
comic.naver.comuse webtoon::platform::naver::{errors::Error, Client};
#[tokio::main]
async fn main() -> Result<(), Error> {
// Initialize the client
let client = Client::new();
// Fetch a webtoon by `id`
let webtoon = client
.webtoon(838432)
.await?
.expect("No webtoon with this id on comic.naver.com");
// Print title to stdout
println!("{}", webtoon.title());
Ok(())
}
For more examples, check out the examples folder.
rss: Enables the ability to get the RSS feed data for a webtoons.com.