[package]
edition = "2024"
name = "backbeat_sdk"
version = "0.5.0-beta"
authors = ["zkldi <zkldi@proton.me>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The library for interfacing with Backbeat."
readme = "README.md"
keywords = [
"backbeat",
"rhythm-game",
]
categories = []
license = "GPL-3.0"
repository = "https://github.com/zkldi/backbeat"
resolver = "2"
[features]
test-util = []
[lib]
name = "backbeat_sdk"
path = "src/lib.rs"
[[test]]
name = "collection_api"
path = "tests/collection_api.rs"
[[test]]
name = "create_load"
path = "tests/create_load.rs"
[[test]]
name = "download_ingest"
path = "tests/download_ingest.rs"
[[test]]
name = "import_asset"
path = "tests/import_asset.rs"
[[test]]
name = "path_pk"
path = "tests/path_pk.rs"
[[test]]
name = "pathological_bms_download"
path = "tests/pathological_bms_download.rs"
[[test]]
name = "prune"
path = "tests/prune.rs"
[[test]]
name = "remote_paths"
path = "tests/remote_paths.rs"
[[test]]
name = "remote_servers"
path = "tests/remote_servers.rs"
[[test]]
name = "runtime_independence"
path = "tests/runtime_independence.rs"
[[test]]
name = "stats"
path = "tests/stats.rs"
[[test]]
name = "unfractured_bb"
path = "tests/unfractured_bb.rs"
[[test]]
name = "uninstall_bundle"
path = "tests/uninstall_bundle.rs"
[dependencies.backbeat_core]
version = "0.5.0-beta"
features = ["sqlx"]
[dependencies.backbeat_server_client]
version = "0.5.0-beta"
[dependencies.backbeat_store_config]
version = "0.5.0-beta"
[dependencies.bytes]
version = "1.11.1"
[dependencies.chrono]
version = "0.4.45"
features = ["serde"]
[dependencies.dashmap]
version = "6.1.0"
[dependencies.derive_more]
version = "2"
[dependencies.fs-err]
version = "3.0.0"
[dependencies.futures]
version = "0.3.31"
[dependencies.futures-lite]
version = "2.6.1"
[dependencies.parking_lot]
version = "0.12"
[dependencies.reqwest]
version = "0.12.8"
features = [
"stream",
"gzip",
"json",
]
[dependencies.serde]
version = "1.0.204"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1.0.120"
[dependencies.sqlx]
version = "0.9.0"
features = [
"runtime-tokio",
"sqlite-unbundled",
"derive",
"macros",
"chrono",
"uuid",
]
[dependencies.thiserror]
version = "2.0.6"
[dependencies.tokio]
version = "1.44.2"
features = ["full"]
[dependencies.tokio-util]
version = "0.7.12"
features = [
"io-util",
"rt",
]
[dependencies.tracing]
version = "0.1.37"
[dependencies.url]
version = "2.5"
[dependencies.uuid]
version = "1.26.0"
features = [
"v4",
"v4",
]
[dev-dependencies.backbeat_inspector]
version = "0.5.0-beta"
[dev-dependencies.flate2]
version = "1.0.34"
[dev-dependencies.sqlx]
version = "0.9.0"
features = [
"runtime-tokio",
"sqlite-unbundled",
"derive",
"macros",
"chrono",
"uuid",
"sqlite",
]
[dev-dependencies.tar]
version = "0.4"
[dev-dependencies.tempfile]
version = "3.27.0"
[dev-dependencies.tokio]
version = "1.44.2"
features = ["full"]
[lints.clippy]
cargo_common_metadata = "allow"
cast_possible_wrap = "allow"
dbg_macro = "warn"
doc_markdown = "allow"
expect_used = "allow"
manual_range_contains = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
new_without_default = "allow"
option_if_let_else = "allow"
panic = "allow"
redundant_closure_for_method_calls = "allow"
redundant_pub_crate = "allow"
significant_drop_tightening = "allow"
todo = "warn"
too_long_first_doc_paragraph = "allow"
too_many_lines = "allow"
unimplemented = "warn"
unwrap_used = "warn"
use_self = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unreachable_pub = "warn"