# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "mangadex-api" version = "3.4.1" authors = ["gondolyr ", "tonymushah tonymushahdev06@yahoo.com"] description = "SDK for the MangaDex API" readme = "../README.md" keywords = [ "api", "client", "mangadex", "sdk", ] categories = ["api-bindings"] license = "MIT OR Apache-2.0" repository = "https://github.com/tonymushah/mangadex-api" resolver = "2" [package.metadata.docs.rs] rustdoc-args = ["--document-private-items"] [lib] name = "mangadex_api" path = "src/lib.rs" [dependencies.derive_builder] workspace = true [dependencies.futures] workspace = true optional = true [dependencies.reqwest] workspace = true [dependencies.mangadex-api-schema] workspace = true [dependencies.mangadex-api-types] workspace = true [dependencies.serde] workspace = true [dependencies.serde_json] workspace = true [dependencies.serde_qs] workspace = true [dependencies.thiserror] workspace = true [dependencies.time] workspace = true [dependencies.url] workspace = true [dependencies.uuid] workspace = true [dependencies.bytes] workspace = true optional = true [dev-dependencies.anyhow] workspace = true [dev-dependencies.serde_urlencoded] workspace = true [dev-dependencies.clap] workspace = true features = ["derive"] [dev-dependencies.fake] workspace = true [dev-dependencies.serde_json] workspace = true [dev-dependencies.tokio] workspace = true features = [ "macros", "rt-multi-thread", ] [dependencies.tokio] workspace = true default-features = false features = [ "time" ] optional = true [dependencies.async-stream] workspace = true optional = true [dependencies.tokio-stream] workspace = true optional = true [dependencies.getset] workspace = true optional = true [dev-dependencies.wiremock] workspace = true [features] default = ["oauth"] multi-thread = ["futures"] tokio-multi-thread = ["tokio/sync"] rw-multi-thread = ["tokio/sync"] legacy-auth = [] legacy-user-delete = [] utils = ["dep:bytes", "dep:tokio", "dep:async-stream", "dep:tokio-stream", "reqwest/stream"] non_exhaustive = ["mangadex-api-schema/non_exhaustive", "mangadex-api-types/non_exhaustive"] deserializable-endpoint = ["dep:getset"] serialize = ["mangadex-api-schema/serialize"] oauth = [] custom_list_v2 = [] [[example]] name = "oauth_manga_feed" required-features = ["oauth", "serialize"] [[example]] name = "download_chapter_via_utils_vecs" required-features = ["utils"] [[example]] name = "download_chapter_via_utils_stream" required-features = ["utils"] [[example]] name = "download_chapter_via_utils_stream_with_checker" required-features = ["utils"] [[example]] name = "download_cover_via_utils_manga_id" required-features = ["utils"] [[example]] name = "download_cover_via_utils" required-features = ["utils"] [[example]] name = "oauth_login" required-features = ["oauth"] [[example]] name = "oauth_login_refresh" required-features = ["oauth"]