[dependencies.async-stream]
optional = true
version = "0.3"
[dependencies.bytes]
optional = true
version = "1.6"
[dependencies.derive_builder]
version = "0.20"
[dependencies.futures]
optional = true
version = "0.3"
[dependencies.getset]
optional = true
version = "0"
[dependencies.mangadex-api-schema]
default-features = false
package = "mangadex-api-schema-rust"
version = "0.10"
[dependencies.mangadex-api-types]
default-features = false
package = "mangadex-api-types-rust"
version = "0.10"
[dependencies.reqwest]
features = ["cookies", "json", "multipart", "rustls-tls"]
version = "0.12"
[dependencies.serde]
features = ["derive"]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.serde_qs]
version = "0.13"
[dependencies.thiserror]
version = "2"
[dependencies.time]
features = ["serde-human-readable", "large-dates", "local-offset"]
version = "0.3"
[dependencies.tokio]
default-features = false
features = ["time"]
optional = true
version = "1"
[dependencies.tokio-stream]
optional = true
version = "0.1"
[dependencies.url]
features = ["serde"]
version = "2.5"
[dependencies.uuid]
features = ["serde", "v4"]
version = "1.8"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.clap]
features = ["derive"]
version = "4.5.4"
[dev-dependencies.fake]
version = "3.0.0"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.serde_urlencoded]
version = "0.7"
[dev-dependencies.tokio]
default-features = false
features = ["macros", "rt-multi-thread"]
version = "1"
[dev-dependencies.wiremock]
version = "0.6"
[[example]]
name = "download_chapter"
path = "examples/download_chapter.rs"
[[example]]
name = "download_chapter_stream"
path = "examples/download_chapter_stream.rs"
[[example]]
name = "download_chapter_via_utils_stream"
path = "examples/download_chapter_via_utils_stream.rs"
required-features = ["utils"]
[[example]]
name = "download_chapter_via_utils_stream_with_checker"
path = "examples/download_chapter_via_utils_stream_with_checker.rs"
required-features = ["utils"]
[[example]]
name = "download_chapter_via_utils_vecs"
path = "examples/download_chapter_via_utils_vecs.rs"
required-features = ["utils"]
[[example]]
name = "download_cover_via_utils"
path = "examples/download_cover_via_utils.rs"
required-features = ["utils"]
[[example]]
name = "download_cover_via_utils_manga_id"
path = "examples/download_cover_via_utils_manga_id.rs"
required-features = ["utils"]
[[example]]
name = "fetch_popular_titles"
path = "examples/fetch_popular_titles.rs"
[[example]]
name = "getting-started"
path = "examples/getting-started.rs"
[[example]]
name = "latest_updates"
path = "examples/latest_updates.rs"
[[example]]
name = "legacy_cover_download"
path = "examples/legacy_cover_download.rs"
[[example]]
name = "legacy_download_chapter"
path = "examples/legacy_download_chapter.rs"
[[example]]
name = "login"
path = "examples/login.rs"
[[example]]
name = "manga_covers"
path = "examples/manga_covers.rs"
[[example]]
name = "map_legacy_ids"
path = "examples/map_legacy_ids.rs"
[[example]]
name = "oauth_login"
path = "examples/oauth_login.rs"
required-features = ["oauth"]
[[example]]
name = "oauth_login_refresh"
path = "examples/oauth_login_refresh.rs"
required-features = ["oauth"]
[[example]]
name = "oauth_manga_feed"
path = "examples/oauth_manga_feed.rs"
required-features = ["oauth", "serialize"]
[[example]]
name = "search_manga_by_title"
path = "examples/search_manga_by_title.rs"
[[example]]
name = "search_manga_by_title_with_reference_expansion"
path = "examples/search_manga_by_title_with_reference_expansion.rs"
[[example]]
name = "setting_a_custom_user_agent"
path = "examples/setting_a_custom_user_agent.rs"
[[example]]
name = "upload"
path = "examples/upload.rs"
[[example]]
name = "v5_demo"
path = "examples/v5_demo.rs"
[features]
custom_list_v2 = []
default = ["oauth"]
deserializable-endpoint = ["dep:getset"]
legacy-auth = []
legacy-user-delete = []
multi-thread = ["futures"]
non_exhaustive = ["mangadex-api-schema/non_exhaustive", "mangadex-api-types/non_exhaustive"]
oauth = []
rw-multi-thread = ["tokio/sync"]
serialize = ["mangadex-api-schema/serialize"]
tokio-multi-thread = ["tokio/sync"]
utils = ["dep:bytes", "dep:tokio", "dep:async-stream", "dep:tokio-stream", "reqwest/stream"]
[lib]
name = "mangadex_api"
path = "src/lib.rs"
[package]
authors = ["gondolyr <gondolyr@tutanota.com>", "tonymushah tonymushahdev06@yahoo.com"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["api-bindings"]
description = "SDK for the MangaDex API"
edition = "2021"
keywords = ["api", "client", "mangadex", "sdk"]
license = "MIT OR Apache-2.0"
name = "mangadex-api"
readme = "README.md"
repository = "https://github.com/tonymushah/mangadex-api"
resolver = "2"
version = "3.4.1"
[package.metadata.docs.rs]
rustdoc-args = ["--document-private-items"]