blivemsg 0.2.1

Bilibili Live Message Library
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"
name = "blivemsg"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bilibili Live Message Library"
documentation = "https://docs.rs/blivemsg"
readme = "README_CRATES.md"
keywords = [
    "bilibili",
    "danmaku",
    "live",
    "streaming",
]
categories = [
    "api-bindings",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/urlynn/blivemsg"

[features]
cli = [
    "dep:clap",
    "dep:toml",
    "protobuf-support",
]
default = []
emulation = ["dep:wreq-util"]
protobuf-support = [
    "dep:prost",
    "dep:bytes",
    "dep:base64",
]

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

[[bin]]
name = "blivemsg-cli"
path = "src/bin/cli.rs"
required-features = ["cli"]

[dependencies.base64]
version = "0.22.1"
optional = true

[dependencies.brotli]
version = "8.0.2"

[dependencies.bytes]
version = "1.11.1"
optional = true

[dependencies.clap]
version = "4.6.1"
features = ["derive"]
optional = true

[dependencies.flate2]
version = "1.1.9"

[dependencies.futures-util]
version = "0.3.32"

[dependencies.hex]
version = "0.4.3"

[dependencies.md-5]
version = "0.11.0"

[dependencies.prost]
version = "0.14.3"
optional = true

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1.52.3"
features = [
    "rt-multi-thread",
    "macros",
    "time",
    "net",
]

[dependencies.tokio-stream]
version = "0.1.18"

[dependencies.tokio-tungstenite]
version = "0.29.0"
features = ["native-tls"]

[dependencies.toml]
version = "0.9.8"
optional = true

[dependencies.wreq]
version = "5.3"

[dependencies.wreq-util]
version = "2.2.6"
optional = true