[package]
edition = "2024"
rust-version = "1.95"
name = "bbdown-core"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust library for resolving Bilibili metadata, download plans, media, subtitles, and danmaku."
homepage = "https://github.com/Joey-Project/BBDown-rust"
documentation = "https://docs.rs/bbdown-core"
readme = "README.md"
keywords = [
"bbdown",
"bilibili",
"download",
"video",
"async",
]
categories = [
"api-bindings",
"multimedia::video",
"web-programming",
]
license = "MIT"
repository = "https://github.com/Joey-Project/BBDown-rust"
resolver = "2"
[lib]
name = "bbdown_core"
path = "src/lib.rs"
[dependencies.futures-util]
version = "0.3.31"
[dependencies.md-5]
version = "0.10.6"
[dependencies.reqwest]
version = "0.12.23"
features = [
"charset",
"gzip",
"json",
"rustls-tls",
"stream",
]
default-features = false
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.143"
[dependencies.thiserror]
version = "2.0.16"
[dependencies.tokio]
version = "1.47.1"
features = [
"fs",
"io-util",
"macros",
"process",
"rt-multi-thread",
"time",
]
[dependencies.url]
version = "2.5.7"
[dev-dependencies.anyhow]
version = "1.0.99"
[dev-dependencies.httpmock]
version = "0.8.0-alpha.1"
[dev-dependencies.tempfile]
version = "3.21.0"
[dev-dependencies.tokio]
version = "1.47.1"
features = [
"fs",
"io-util",
"macros",
"process",
"rt-multi-thread",
"time",
]
[lints.clippy]
expect_used = "deny"
panic = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"