[package]
name = "bili_core"
version = "0.1.1"
edition = "2024"
rust-version = "1.92"
authors = ["LJason <ljason@ljason77.com>"]
repository = "https://github.com/LJason77/BiliCore"
description = "Bilibili Core"
license-file = "LICENSE"
readme = "README.md"

[lints.clippy]
pedantic = "deny"
unwrap_used = "deny"
expect_used = "deny"

[profile.release]
codegen-units = 1
lto = "fat"
opt-level = "z"
panic = "abort"
strip = "symbols"

[features]
default = ["log"]
log = []
# 收藏夹
fav = []

[dependencies]
reqwest = { version = "0.12", features = ["json", "gzip"] }
serde = { version = "1", features = ["derive"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }

[target.'cfg(target_env = "musl")'.dependencies]
mimalloc = { version = "0.1", features = ["override"] }
