[package] name = "webtoon" version = "0.2.2" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/Webtoon-Studio/webtoon/" documentation = "https://docs.rs/webtoon" categories = ["web-programming::http-client"] description = "Client for interacting with various webtoon websites." keywords = ["webtoon", "webtoons", "naver", "tapas", "client"] [package.metadata.playground] features = ["rss"] [package.metadata.docs.rs] features = ["rss", "download"] all-features = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] # currently using `Mutex`, `sleep`, and `Semaphore`. tokio = { version = "1", features = ["sync", "time"] } reqwest = { version = "0.12", default-features = false, features = ["brotli", "json", "rustls-tls"]} anyhow = "1" thiserror = "1" scraper = "0.20" # used for getting the url from the css of the thumbnail and the season numbers from the title regex = "1" serde = { version = "1", features = ["derive"] } serde_json = "1" serde_with = "3" chrono = { version = "0.4",default-features = false, features = ["clock", "oldtime", "std", "serde"] } html-escape = "0.2" url = "2" # used when the session needs to be sent in a url urlencoding = "2" # feature = `rss` rss = { version = "2", optional = true } # feature = `download` image = { version = "0.25", optional = true, default-features = false, features = ["png", "jpeg"]} [dev-dependencies] pretty_assertions = "1" tokio = { version = "1", features = ["full"] } [features] default = [] rss = ["dep:rss"] download = ["dep:image", "tokio/fs"] [[example]] name = "search" path = "examples/search.rs" [[example]] name = "originals" path = "examples/originals.rs" [[example]] name = "canvas" path = "examples/canvas.rs" [[example]] name = "creator" path = "examples/creator.rs" [[example]] name = "webtoon" path = "examples/webtoon.rs" [[example]] name = "rss" path = "examples/rss.rs" required-features = ["rss"] [[example]] name = "episodes" path = "examples/episodes.rs" [[example]] name = "posts" path = "examples/posts.rs" [[example]] name = "download" path = "examples/download.rs" required-features = ["download"]