Documentation
# 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 = "2024"
rust-version = "1.85"
name = "tongbal-api"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Chzzk API"
documentation = "https://docs.rs/tongbal-api"
readme = "README.md"
keywords = [
    "api",
    "chzzk",
]
categories = [
    "api-bindings",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/m3idnotfree/tongbal"

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

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

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

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

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

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

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

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

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

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

[dependencies.asknothingx2-util]
version = "0.5.0"
features = [
    "api",
    "oauth",
]

[dependencies.reqwest]
version = "0.13.2"

[dependencies.serde]
version = "1.0.228"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tongbal-types]
version = "=0.1.0"

[dependencies.url]
version = "2.5.8"
features = ["serde"]

[dev-dependencies.tokio]
version = "1.50.0"

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