# 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"
rust-version = "1.75"
name = "dlsite-rs-next"
version = "0.2.0"
build = false
include = [
    "/src/**/*.rs",
    "/tests/**/*.rs",
    "/tests/**/*.json",
    "/tests/**/*.html",
    "/tests/**/*.txt",
    "/Cargo.toml",
    "/README.md",
    "/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance DLsite client with caching, parallel parsing, and streaming support"
homepage = "https://github.com/BK927/dlsite-rs-next"
documentation = "https://docs.rs/dlsite-rs-next"
readme = "README.md"
keywords = [
    "dlsite",
    "api",
    "async",
    "japan",
    "doujin",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/BK927/dlsite-rs-next"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cookie-store = ["reqwest/cookies"]
default = [
    "unknown-field-log",
    "reqwest-rustls-tls",
]
document-features = ["dep:document-features"]
reqwest-native-tls = ["reqwest/native-tls"]
reqwest-rustls-tls = ["reqwest/rustls-tls"]
search-html = [
    "dep:scraper",
    "dep:rayon",
]
unknown-field-error = []
unknown-field-log = ["dep:serde_ignored"]

[lib]
name = "dlsite_rs_next"
path = "src/lib.rs"

[[test]]
name = "download_handoff_mock"
path = "tests/download_handoff_mock.rs"

[[test]]
name = "live_smoke"
path = "tests/live_smoke.rs"

[[test]]
name = "play_library_mock"
path = "tests/play_library_mock.rs"

[[test]]
name = "public_catalog_mock"
path = "tests/public_catalog_mock.rs"

[[test]]
name = "search_client_mock"
path = "tests/search_client_mock.rs"

[[test]]
name = "unit"
path = "tests/unit.rs"

[[test]]
name = "viewer_mock"
path = "tests/viewer_mock.rs"

[dependencies.chrono]
version = "0.4.39"
features = ["serde"]

[dependencies.document-features]
version = "0.2.11"
optional = true

[dependencies.futures]
version = "0.3.31"

[dependencies.lru]
version = "0.16.2"

[dependencies.rayon]
version = "1.11.0"
optional = true

[dependencies.reqwest]
version = "0.12.9"
default-features = false

[dependencies.scraper]
version = "0.23.1"
optional = true

[dependencies.serde]
version = "1.0.216"

[dependencies.serde-aux]
version = "4.5.0"

[dependencies.serde_ignored]
version = "0.1.10"
optional = true

[dependencies.serde_json]
version = "1.0.133"

[dependencies.serde_path_to_error]
version = "0.1"

[dependencies.serde_repr]
version = "0.1.19"

[dependencies.serde_with]
version = "3.11.0"
features = ["macros"]

[dependencies.strum]
version = "0.27.1"
features = ["derive"]

[dependencies.thiserror]
version = "2.0.9"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "time",
    "sync",
]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.3.1"

[dev-dependencies.anyhow]
version = "1"
features = [
    "backtrace",
    "std",
]

[dev-dependencies.insta]
version = "1.42"
features = ["json"]

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.test-case]
version = "3.1.0"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.tracing-subscriber]
version = "0.3"

[dev-dependencies.wiremock]
version = "0.6"
