chore: build with bazel+cargo-raze

This commit is contained in:
Tsiry Sandratraina
2022-12-19 16:47:40 +03:00
parent d622e16498
commit 29947dfab6
26 changed files with 2219 additions and 5 deletions

1
.bazelversion Normal file
View File

@@ -0,0 +1 @@
5.4.0

24
.gitignore vendored
View File

@@ -1,4 +1,26 @@
/target
.vscode
development.sqlite3
node_modules/
node_modules/
vendor/
cargo/
# Created by https://www.toptal.com/developers/gitignore/api/bazel
# Edit at https://www.toptal.com/developers/gitignore?templates=bazel
### Bazel ###
# gitignore template for Bazel build system
# website: https://bazel.build/
# Ignore all bazel-* symlinks. There is no full list since this can change
# based on the name of the directory bazel is cloned into.
/bazel-*
# Directories for the Bazel IntelliJ plugin containing the generated
# IntelliJ project files and plugin configuration. Seperate directories are
# for the IntelliJ, Android Studio and CLion versions of the plugin.
/.ijwb/
/.aswb/
/.clwb/
# End of https://www.toptal.com/developers/gitignore/api/bazel

48
BUILD Normal file
View File

@@ -0,0 +1,48 @@
load("//cargo:crates.bzl", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_binary")
rust_binary(
name = "music-player",
srcs = [
"src/event/events.rs",
"src/event/key.rs",
"src/event/mod.rs",
"src/handlers/album_tracks.rs",
"src/handlers/library.rs",
"src/handlers/albums.rs",
"src/handlers/mod.rs",
"src/handlers/artist_tracks.rs",
"src/handlers/play_queue.rs",
"src/handlers/artists.rs",
"src/handlers/playbar.rs",
"src/handlers/common_key_events.rs",
"src/handlers/playlist.rs",
"src/handlers/empty.rs",
"src/handlers/tracks.rs",
"src/handlers/input.rs",
"src/ui/mod.rs",
"src/ui/util.rs",
"src/app.rs",
"src/main.rs",
"src/scan.rs",
"src/args.rs",
"src/network.rs",
"src/user_config.rs",
],
deps = [
"//addons:addons_lib",
"//client:client_lib",
"//discovery:discovery_lib",
"//entity:entity_lib",
"//graphql:graphql_lib",
"//migration:migration_lib",
"//playback:playback_lib",
"//scanner:scanner_lib",
"//server:server_lib",
"//settings:settings_lib",
"//storage:storage_lib",
"//tracklist:tracklist_lib",
"//types:types_lib",
"//webui:webui_lib",
] + all_crate_deps(),
)

661
BUILD.bazel Normal file
View File

@@ -0,0 +1,661 @@
"""
@generated
cargo-raze generated Bazel file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = ["//visibility:public"])
licenses([
"notice", # See individual crates for specific licenses
])
# Aliased targets
alias(
name = "actix_cors",
actual = "@raze__actix_cors__0_6_4//:actix_cors",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "actix_files",
actual = "@raze__actix_files__0_6_2//:actix_files",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "actix_web",
actual = "@raze__actix_web__4_2_1//:actix_web",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "async_graphql",
actual = "@raze__async_graphql__4_0_15//:async_graphql",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "async_graphql_actix_web",
actual = "@raze__async_graphql_actix_web__4_0_15//:async_graphql_actix_web",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "async_graphql_tide",
actual = "@raze__async_graphql_tide__4_0_15//:async_graphql_tide",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "async_stream",
actual = "@raze__async_stream__0_3_3//:async_stream",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "async_trait",
actual = "@raze__async_trait__0_1_57//:async_trait",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "atlist_rs",
actual = "@raze__atlist_rs__0_2_1//:atlist_rs",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "chrono",
actual = "@raze__chrono__0_4_23//:chrono",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "clap",
actual = "@raze__clap__3_2_22//:clap",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "config",
actual = "@raze__config__0_13_2//:config",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "cpal",
actual = "@raze__cpal__0_14_1//:cpal",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "crossterm",
actual = "@raze__crossterm__0_25_0//:crossterm",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "ctor",
actual = "@raze__ctor__0_1_26//:ctor",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "cuid",
actual = "@raze__cuid__1_2_0//:cuid",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "dirs",
actual = "@raze__dirs__4_0_0//:dirs",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "dotenv",
actual = "@raze__dotenv__0_15_0//:dotenv",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "env_logger",
actual = "@raze__env_logger__0_9_1//:env_logger",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "envtestkit",
actual = "@raze__envtestkit__1_1_2//:envtestkit",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "futures",
actual = "@raze__futures__0_3_24//:futures",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "futures_channel",
actual = "@raze__futures_channel__0_3_25//:futures_channel",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "futures_util",
actual = "@raze__futures_util__0_3_25//:futures_util",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "itertools",
actual = "@raze__itertools__0_10_5//:itertools",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "lazy_static",
actual = "@raze__lazy_static__1_4_0//:lazy_static",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "libmdns",
actual = "@raze__libmdns__0_7_2//:libmdns",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "librespot_protocol",
actual = "@raze__librespot_protocol__0_4_2//:librespot_protocol",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "lofty",
actual = "@raze__lofty__0_9_0//:lofty",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "log",
actual = "@raze__log__0_4_17//:log",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "md5",
actual = "@raze__md5__0_7_0//:md5",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "mdns",
actual = "@raze__mdns__3_0_0//:mdns",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "mdns_sd",
actual = "@raze__mdns_sd__0_5_8//:mdns_sd",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "mime_guess",
actual = "@raze__mime_guess__2_0_4//:mime_guess",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "once_cell",
actual = "@raze__once_cell__1_16_0//:once_cell",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "owo_colors",
actual = "@raze__owo_colors__3_5_0//:owo_colors",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "parking_lot",
actual = "@raze__parking_lot__0_12_1//:parking_lot",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "prost",
actual = "@raze__prost__0_11_0//:prost",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "rand",
actual = "@raze__rand__0_8_5//:rand",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "rand_distr",
actual = "@raze__rand_distr__0_4_3//:rand_distr",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "rb",
actual = "@raze__rb__0_4_1//:rb",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "rodio",
actual = "@raze__rodio__0_16_0//:rodio",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "rust_embed",
actual = "@raze__rust_embed__6_4_1//:rust_embed",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "sea_orm",
actual = "@raze__sea_orm__0_9_3//:sea_orm",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "sea_orm_migration",
actual = "@raze__sea_orm_migration__0_9_3//:sea_orm_migration",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "serde",
actual = "@raze__serde__1_0_148//:serde",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "serde_derive",
actual = "@raze__serde_derive__1_0_148//:serde_derive",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "serde_json",
actual = "@raze__serde_json__1_0_89//:serde_json",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "slab",
actual = "@raze__slab__0_4_7//:slab",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "spinners",
actual = "@raze__spinners__4_1_0//:spinners",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "surf",
actual = "@raze__surf__2_3_2//:surf",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "symphonia",
actual = "@raze__symphonia__0_5_1//:symphonia",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tabled",
actual = "@raze__tabled__0_8_0//:tabled",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tantivy",
actual = "@raze__tantivy__0_18_1//:tantivy",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tauri",
actual = "@raze__tauri__1_2_1//:tauri",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tauri_build",
actual = "@raze__tauri_build__1_2_1//:tauri_build",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tempfile",
actual = "@raze__tempfile__3_3_0//:tempfile",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "thiserror",
actual = "@raze__thiserror__1_0_37//:thiserror",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tide",
actual = "@raze__tide__0_16_0//:tide",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tokio",
actual = "@raze__tokio__1_22_0//:tokio",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tokio_tungstenite",
actual = "@raze__tokio_tungstenite__0_17_2//:tokio_tungstenite",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "toml",
actual = "@raze__toml__0_5_9//:toml",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tonic",
actual = "@raze__tonic__0_8_2//:tonic",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tonic_build",
actual = "@raze__tonic_build__0_8_2//:tonic_build",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tonic_web",
actual = "@raze__tonic_web__0_4_0//:tonic_web",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tui",
actual = "@raze__tui__0_19_0//:tui",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tungstenite",
actual = "@raze__tungstenite__0_17_3//:tungstenite",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "url",
actual = "@raze__url__2_3_1//:url",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "uuid",
actual = "@raze__uuid__1_2_1//:uuid",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "walkdir",
actual = "@raze__walkdir__2_3_2//:walkdir",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "zerocopy",
actual = "@raze__zerocopy__0_6_1//:zerocopy",
tags = [
"cargo-raze",
"manual",
],
)
# Export file for Stardoc support
exports_files(
glob([
"**/*.bazel",
"**/*.bzl",
]),
visibility = ["//visibility:public"],
)
filegroup(
name = "srcs",
srcs = glob([
"**/*.bazel",
"**/*.bzl",
]),
visibility = ["//visibility:public"],
)

2
Cargo.lock generated
View File

@@ -3835,7 +3835,6 @@ dependencies = [
"music-player-types",
"music-player-webui",
"owo-colors",
"parking_lot 0.12.1",
"sea-orm",
"sea-orm-migration",
"serde_json",
@@ -4069,7 +4068,6 @@ dependencies = [
"music-player-storage",
"music-player-tracklist",
"owo-colors",
"parking_lot 0.12.1",
"rust-embed",
"sea-orm",
"serde",

View File

@@ -12,6 +12,77 @@ description = "An extensible music player daemon written in Rust"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace.metadata.raze]
# The path at which to write output files.
#
# `cargo raze` will generate Bazel-compatible BUILD files into this path.
# This can either be a relative path (e.g. "foo/bar"), relative to this
# Cargo.toml file; or relative to the Bazel workspace root (e.g. "//foo/bar").
workspace_path = "//cargo"
default_gen_buildrs = true
experimental_api = true
render_package_aliases = false
# This causes aliases for dependencies to be rendered in the BUILD
# file located next to this `Cargo.toml` file.
package_aliases_dir = "."
# The set of targets to generate BUILD rules for.
targets = [
"x86_64-apple-darwin",
]
# The two acceptable options are "Remote" and "Vendored" which
# is used to indicate whether the user is using a non-vendored or
# vendored set of dependencies.
genmode = "Vendored"
[package.metadata.raze.crates.ring.'*']
compile_data_attr = "glob([\"*/**\"])"
[package.metadata.raze.crates.webpki.'*']
compile_data_attr = "glob([\"*/**\"])"
[package.metadata.raze.crates.clap_derive.'*']
compile_data_attr = "glob([\"*/**\"])"
[package.metadata.raze.crates.protobuf-codegen-pure.'*']
compile_data_attr = "glob([\"*/**\"])"
[package.metadata.raze.crates.json5.'*']
compile_data_attr = "glob([\"*/**\"])"
[package.metadata.raze.crates.value-bag.'*']
compile_data_attr = "glob([\"*/**\"])"
[package.metadata.raze.crates.hmac.'*']
compile_data_attr = "glob([\"*/**\"])"
[package.metadata.raze.crates.lofty.'*']
compile_data_attr = "glob([\"*/**\"])"
[package.metadata.raze.crates.digest.'*']
additional_flags = [
'--cfg=feature=\"mac\"',
]
[package.metadata.raze.crates.sea-orm.'*']
additional_flags = [
'--cfg=feature=\"runtime-tokio-rustls\"',
'--cfg=feature=\"sqlx-sqlite\"',
]
[package.metadata.raze.crates.sea-orm-migration.'*']
additional_flags = [
'--cfg=feature=\"runtime-tokio-rustls\"',
'--cfg=feature=\"sqlx-sqlite\"',
]
[package.metadata.raze.crates.tokio.'*']
additional_flags = [
'--cfg=feature=\"full\"',
]
[workspace]
members = [
@@ -117,6 +188,5 @@ tui = { version = "0.19.0", features = ["crossterm", "serde"] }
tungstenite = "0.17.3"
futures-channel = "0.3.24"
serde_json = "1.0.85"
parking_lot = "0.12.1"
dirs = "4.0.0"
spinners = "4.1.0"

45
WORKSPACE Normal file
View File

@@ -0,0 +1,45 @@
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# To find additional information on this release or newer ones visit:
# https://github.com/bazelbuild/rules_rust/releases
http_archive(
name = "rules_rust",
sha256 = "696b01deea96a5e549f1b5ae18589e1bbd5a1d71a36a243b5cf76a9433487cf2",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.11.0/rules_rust-v0.11.0.tar.gz"],
)
http_archive(
name = "rules_proto_grpc",
sha256 = "fb7fc7a3c19a92b2f15ed7c4ffb2983e956625c1436f57a3430b897ba9864059",
strip_prefix = "rules_proto_grpc-4.3.0",
urls = ["https://github.com/rules-proto-grpc/rules_proto_grpc/archive/4.3.0.tar.gz"],
)
load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")
rules_rust_dependencies()
rust_register_toolchains(version = "1.65.0", edition="2021")
load("@rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_repos", "rules_proto_grpc_toolchains")
rules_proto_grpc_toolchains()
rules_proto_grpc_repos()
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()
load("@rules_proto_grpc//rust:repositories.bzl", rules_proto_grpc_rust_repos = "rust_repos")
rules_proto_grpc_rust_repos()
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()

20
addons/BUILD Normal file
View File

@@ -0,0 +1,20 @@
package(default_visibility = ["//visibility:public"])
load("//cargo:crates.bzl", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_library")
rust_library(
name = "addons_lib",
srcs = [
"src/datpiff.rs",
"src/deezer.rs",
"src/genius.rs",
"src/lastfm.rs",
"src/lib.rs",
"src/local.rs",
"src/musicbrainz.rs",
"src/myvazo.rs",
"src/tononkira.rs",
],
deps = all_crate_deps(),
)

24
cargo/BUILD.bazel Normal file
View File

@@ -0,0 +1,24 @@
"""
@generated
cargo-raze generated Bazel file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
# Export file for Stardoc support
exports_files(
glob([
"**/*.bazel",
"**/*.bzl",
]),
visibility = ["//visibility:public"],
)
filegroup(
name = "srcs",
srcs = glob([
"**/*.bazel",
"**/*.bzl",
]),
visibility = ["//visibility:public"],
)

418
cargo/crates.bzl Normal file
View File

@@ -0,0 +1,418 @@
"""
@generated
cargo-raze generated Bazel file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
# EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of normal dependencies for the Rust targets of that package.
_DEPENDENCIES = {
"addons": {
},
"client": {
"futures-util": "//cargo/vendor/futures-util-0.3.25:futures_util",
"tokio": "//cargo/vendor/tokio-1.22.0:tokio",
"tokio-tungstenite": "//cargo/vendor/tokio-tungstenite-0.17.2:tokio_tungstenite",
"tonic": "//cargo/vendor/tonic-0.8.2:tonic",
"url": "//cargo/vendor/url-2.3.1:url",
},
"server": {
"chrono": "//cargo/vendor/chrono-0.4.23:chrono",
"cuid": "//cargo/vendor/cuid-1.2.0:cuid",
"futures": "//cargo/vendor/futures-0.3.24:futures",
"futures-channel": "//cargo/vendor/futures-channel-0.3.25:futures_channel",
"futures-util": "//cargo/vendor/futures-util-0.3.25:futures_util",
"md5": "//cargo/vendor/md5-0.7.0:md5",
"owo-colors": "//cargo/vendor/owo-colors-3.5.0:owo_colors",
"prost": "//cargo/vendor/prost-0.11.0:prost",
"sea-orm": "//cargo/vendor/sea-orm-0.9.3:sea_orm",
"serde": "//cargo/vendor/serde-1.0.148:serde",
"tokio": "//cargo/vendor/tokio-1.22.0:tokio",
"tokio-tungstenite": "//cargo/vendor/tokio-tungstenite-0.17.2:tokio_tungstenite",
"tonic": "//cargo/vendor/tonic-0.8.2:tonic",
"tonic-web": "//cargo/vendor/tonic-web-0.4.0:tonic_web",
"tungstenite": "//cargo/vendor/tungstenite-0.17.3:tungstenite",
"uuid": "//cargo/vendor/uuid-1.2.1:uuid",
},
"entity": {
"chrono": "//cargo/vendor/chrono-0.4.23:chrono",
"md5": "//cargo/vendor/md5-0.7.0:md5",
"sea-orm": "//cargo/vendor/sea-orm-0.9.3:sea_orm",
"serde": "//cargo/vendor/serde-1.0.148:serde",
},
"types": {
"lofty": "//cargo/vendor/lofty-0.9.0:lofty",
"md5": "//cargo/vendor/md5-0.7.0:md5",
"tantivy": "//cargo/vendor/tantivy-0.18.1:tantivy",
},
"playback": {
"cpal": "//cargo/vendor/cpal-0.14.1:cpal",
"futures-util": "//cargo/vendor/futures-util-0.3.25:futures_util",
"lazy_static": "//cargo/vendor/lazy_static-1.4.0:lazy_static",
"librespot-protocol": "//cargo/vendor/librespot-protocol-0.4.2:librespot_protocol",
"log": "//cargo/vendor/log-0.4.17:log",
"owo-colors": "//cargo/vendor/owo-colors-3.5.0:owo_colors",
"parking_lot": "//cargo/vendor/parking_lot-0.12.1:parking_lot",
"rand": "//cargo/vendor/rand-0.8.5:rand",
"rand_distr": "//cargo/vendor/rand_distr-0.4.3:rand_distr",
"rb": "//cargo/vendor/rb-0.4.1:rb",
"rodio": "//cargo/vendor/rodio-0.16.0:rodio",
"symphonia": "//cargo/vendor/symphonia-0.5.1:symphonia",
"thiserror": "//cargo/vendor/thiserror-1.0.37:thiserror",
"tokio": "//cargo/vendor/tokio-1.22.0:tokio",
"zerocopy": "//cargo/vendor/zerocopy-0.6.1:zerocopy",
},
"tracklist": {
"atlist-rs": "//cargo/vendor/atlist-rs-0.2.1:atlist_rs",
"rand": "//cargo/vendor/rand-0.8.5:rand",
},
"scanner": {
"dirs": "//cargo/vendor/dirs-4.0.0:dirs",
"futures": "//cargo/vendor/futures-0.3.24:futures",
"lofty": "//cargo/vendor/lofty-0.9.0:lofty",
"md5": "//cargo/vendor/md5-0.7.0:md5",
"mime_guess": "//cargo/vendor/mime_guess-2.0.4:mime_guess",
"sea-orm": "//cargo/vendor/sea-orm-0.9.3:sea_orm",
"tokio": "//cargo/vendor/tokio-1.22.0:tokio",
"walkdir": "//cargo/vendor/walkdir-2.3.2:walkdir",
},
"migration": {
"dotenv": "//cargo/vendor/dotenv-0.15.0:dotenv",
"sea-orm-migration": "//cargo/vendor/sea-orm-migration-0.9.3:sea_orm_migration",
"tokio": "//cargo/vendor/tokio-1.22.0:tokio",
},
"settings": {
"config": "//cargo/vendor/config-0.13.2:config",
"dirs": "//cargo/vendor/dirs-4.0.0:dirs",
"md5": "//cargo/vendor/md5-0.7.0:md5",
"serde": "//cargo/vendor/serde-1.0.148:serde",
"toml": "//cargo/vendor/toml-0.5.9:toml",
"uuid": "//cargo/vendor/uuid-1.2.1:uuid",
},
"storage": {
"itertools": "//cargo/vendor/itertools-0.10.5:itertools",
"md5": "//cargo/vendor/md5-0.7.0:md5",
"sea-orm": "//cargo/vendor/sea-orm-0.9.3:sea_orm",
"tantivy": "//cargo/vendor/tantivy-0.18.1:tantivy",
"tempfile": "//cargo/vendor/tempfile-3.3.0:tempfile",
"tokio": "//cargo/vendor/tokio-1.22.0:tokio",
},
"discovery": {
"async-stream": "//cargo/vendor/async-stream-0.3.3:async_stream",
"env_logger": "//cargo/vendor/env_logger-0.9.1:env_logger",
"futures-util": "//cargo/vendor/futures-util-0.3.25:futures_util",
"libmdns": "//cargo/vendor/libmdns-0.7.2:libmdns",
"mdns": "//cargo/vendor/mdns-3.0.0:mdns",
"mdns-sd": "//cargo/vendor/mdns-sd-0.5.8:mdns_sd",
"owo-colors": "//cargo/vendor/owo-colors-3.5.0:owo_colors",
"tokio": "//cargo/vendor/tokio-1.22.0:tokio",
},
"graphql": {
"async-graphql": "//cargo/vendor/async-graphql-4.0.15:async_graphql",
"async-graphql-tide": "//cargo/vendor/async-graphql-tide-4.0.15:async_graphql_tide",
"chrono": "//cargo/vendor/chrono-0.4.23:chrono",
"cuid": "//cargo/vendor/cuid-1.2.0:cuid",
"futures-channel": "//cargo/vendor/futures-channel-0.3.25:futures_channel",
"futures-util": "//cargo/vendor/futures-util-0.3.25:futures_util",
"md5": "//cargo/vendor/md5-0.7.0:md5",
"once_cell": "//cargo/vendor/once_cell-1.16.0:once_cell",
"rand": "//cargo/vendor/rand-0.8.5:rand",
"sea-orm": "//cargo/vendor/sea-orm-0.9.3:sea_orm",
"serde": "//cargo/vendor/serde-1.0.148:serde",
"slab": "//cargo/vendor/slab-0.4.7:slab",
"tide": "//cargo/vendor/tide-0.16.0:tide",
"tokio": "//cargo/vendor/tokio-1.22.0:tokio",
},
"webui": {
"actix-cors": "//cargo/vendor/actix-cors-0.6.4:actix_cors",
"actix-files": "//cargo/vendor/actix-files-0.6.2:actix_files",
"actix-web": "//cargo/vendor/actix-web-4.2.1:actix_web",
"async-graphql": "//cargo/vendor/async-graphql-4.0.15:async_graphql",
"async-graphql-actix-web": "//cargo/vendor/async-graphql-actix-web-4.0.15:async_graphql_actix_web",
"dirs": "//cargo/vendor/dirs-4.0.0:dirs",
"mime_guess": "//cargo/vendor/mime_guess-2.0.4:mime_guess",
"owo-colors": "//cargo/vendor/owo-colors-3.5.0:owo_colors",
"rust-embed": "//cargo/vendor/rust-embed-6.4.1:rust_embed",
"sea-orm": "//cargo/vendor/sea-orm-0.9.3:sea_orm",
"serde": "//cargo/vendor/serde-1.0.148:serde",
"tokio": "//cargo/vendor/tokio-1.22.0:tokio",
},
"webui/musicplayer/src-tauri": {
"actix-web": "//cargo/vendor/actix-web-4.2.1:actix_web",
"async-graphql": "//cargo/vendor/async-graphql-4.0.15:async_graphql",
"async-graphql-actix-web": "//cargo/vendor/async-graphql-actix-web-4.0.15:async_graphql_actix_web",
"futures": "//cargo/vendor/futures-0.3.24:futures",
"serde": "//cargo/vendor/serde-1.0.148:serde",
"serde_json": "//cargo/vendor/serde_json-1.0.89:serde_json",
"tauri": "//cargo/vendor/tauri-1.2.1:tauri",
"tokio": "//cargo/vendor/tokio-1.22.0:tokio",
"uuid": "//cargo/vendor/uuid-1.2.1:uuid",
},
"": {
"clap": "//cargo/vendor/clap-3.2.22:clap",
"crossterm": "//cargo/vendor/crossterm-0.25.0:crossterm",
"dirs": "//cargo/vendor/dirs-4.0.0:dirs",
"futures": "//cargo/vendor/futures-0.3.24:futures",
"futures-channel": "//cargo/vendor/futures-channel-0.3.25:futures_channel",
"lofty": "//cargo/vendor/lofty-0.9.0:lofty",
"md5": "//cargo/vendor/md5-0.7.0:md5",
"owo-colors": "//cargo/vendor/owo-colors-3.5.0:owo_colors",
"sea-orm": "//cargo/vendor/sea-orm-0.9.3:sea_orm",
"sea-orm-migration": "//cargo/vendor/sea-orm-migration-0.9.3:sea_orm_migration",
"serde_json": "//cargo/vendor/serde_json-1.0.89:serde_json",
"spinners": "//cargo/vendor/spinners-4.1.0:spinners",
"tabled": "//cargo/vendor/tabled-0.8.0:tabled",
"tokio": "//cargo/vendor/tokio-1.22.0:tokio",
"tui": "//cargo/vendor/tui-0.19.0:tui",
"tungstenite": "//cargo/vendor/tungstenite-0.17.3:tungstenite",
},
}
# EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of proc_macro dependencies for the Rust targets of that package.
_PROC_MACRO_DEPENDENCIES = {
"addons": {
},
"client": {
},
"server": {
},
"entity": {
},
"types": {
},
"playback": {
"async-trait": "//cargo/vendor/async-trait-0.1.57:async_trait",
},
"tracklist": {
},
"scanner": {
},
"migration": {
},
"settings": {
},
"storage": {
},
"discovery": {
},
"graphql": {
},
"webui": {
"serde_derive": "//cargo/vendor/serde_derive-1.0.148:serde_derive",
},
"webui/musicplayer/src-tauri": {
},
"": {
},
}
# EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of normal dev dependencies for the Rust targets of that package.
_DEV_DEPENDENCIES = {
"addons": {
},
"client": {
"envtestkit": "//cargo/vendor/envtestkit-1.1.2:envtestkit",
"tonic-web": "//cargo/vendor/tonic-web-0.4.0:tonic_web",
},
"server": {
},
"entity": {
},
"types": {
},
"playback": {
},
"tracklist": {
},
"scanner": {
},
"migration": {
},
"settings": {
},
"storage": {
},
"discovery": {
},
"graphql": {
},
"webui": {
"futures-util": "//cargo/vendor/futures-util-0.3.25:futures_util",
"serde_json": "//cargo/vendor/serde_json-1.0.89:serde_json",
"surf": "//cargo/vendor/surf-2.3.2:surf",
},
"webui/musicplayer/src-tauri": {
},
"": {
},
}
# EXPERIMENTAL -- MAY CHANGE AT ANY TIME: A mapping of package names to a set of proc_macro dev dependencies for the Rust targets of that package.
_DEV_PROC_MACRO_DEPENDENCIES = {
"addons": {
},
"client": {
},
"server": {
},
"entity": {
},
"types": {
},
"playback": {
},
"tracklist": {
},
"scanner": {
},
"migration": {
},
"settings": {
},
"storage": {
},
"discovery": {
},
"graphql": {
"ctor": "//cargo/vendor/ctor-0.1.26:ctor",
},
"webui": {
},
"webui/musicplayer/src-tauri": {
},
"": {
},
}
def crate_deps(deps, package_name = None):
"""EXPERIMENTAL -- MAY CHANGE AT ANY TIME: Finds the fully qualified label of the requested crates for the package where this macro is called.
WARNING: This macro is part of an expeirmental API and is subject to change.
Args:
deps (list): The desired list of crate targets.
package_name (str, optional): The package name of the set of dependencies to look up.
Defaults to `native.package_name()`.
Returns:
list: A list of labels to cargo-raze generated targets (str)
"""
if not package_name:
package_name = native.package_name()
# Join both sets of dependencies
dependencies = _flatten_dependency_maps([
_DEPENDENCIES,
_PROC_MACRO_DEPENDENCIES,
_DEV_DEPENDENCIES,
_DEV_PROC_MACRO_DEPENDENCIES,
])
if not deps:
return []
missing_crates = []
crate_targets = []
for crate_target in deps:
if crate_target not in dependencies[package_name]:
missing_crates.append(crate_target)
else:
crate_targets.append(dependencies[package_name][crate_target])
if missing_crates:
fail("Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`".format(
missing_crates,
package_name,
dependencies[package_name],
))
return crate_targets
def all_crate_deps(normal = False, normal_dev = False, proc_macro = False, proc_macro_dev = False, package_name = None):
"""EXPERIMENTAL -- MAY CHANGE AT ANY TIME: Finds the fully qualified label of all requested direct crate dependencies \
for the package where this macro is called.
If no parameters are set, all normal dependencies are returned. Setting any one flag will
otherwise impact the contents of the returned list.
Args:
normal (bool, optional): If True, normal dependencies are included in the
output list. Defaults to False.
normal_dev (bool, optional): If True, normla dev dependencies will be
included in the output list. Defaults to False.
proc_macro (bool, optional): If True, proc_macro dependencies are included
in the output list. Defaults to False.
proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
included in the output list. Defaults to False.
package_name (str, optional): The package name of the set of dependencies to look up.
Defaults to `native.package_name()`.
Returns:
list: A list of labels to cargo-raze generated targets (str)
"""
if not package_name:
package_name = native.package_name()
# Determine the relevant maps to use
all_dependency_maps = []
if normal:
all_dependency_maps.append(_DEPENDENCIES)
if normal_dev:
all_dependency_maps.append(_DEV_DEPENDENCIES)
if proc_macro:
all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES)
if proc_macro_dev:
all_dependency_maps.append(_DEV_PROC_MACRO_DEPENDENCIES)
# Default to always using normal dependencies
if not all_dependency_maps:
all_dependency_maps.append(_DEPENDENCIES)
dependencies = _flatten_dependency_maps(all_dependency_maps)
if not dependencies:
return []
return dependencies[package_name].values()
def _flatten_dependency_maps(all_dependency_maps):
"""Flatten a list of dependency maps into one dictionary.
Dependency maps have the following structure:
```python
DEPENDENCIES_MAP = {
# The first key in the map is a Bazel package
# name of the workspace this file is defined in.
"package_name": {
# An alias to a crate target. # The label of the crate target the
# Aliases are only crate names. # alias refers to.
"alias": "@full//:label",
}
}
```
Args:
all_dependency_maps (list): A list of dicts as described above
Returns:
dict: A dictionary as described above
"""
dependencies = {}
for dep_map in all_dependency_maps:
for pkg_name in dep_map:
if pkg_name not in dependencies:
# Add a non-frozen dict to the collection of dependencies
dependencies.setdefault(pkg_name, dict(dep_map[pkg_name].items()))
continue
duplicate_crate_aliases = [key for key in dependencies[pkg_name] if key in dep_map[pkg_name]]
if duplicate_crate_aliases:
fail("There should be no duplicate crate aliases: {}".format(duplicate_crate_aliases))
dependencies[pkg_name].update(dep_map[pkg_name])
return dependencies

23
client/BUILD Normal file
View File

@@ -0,0 +1,23 @@
package(default_visibility = ["//visibility:public"])
load("//cargo:crates.bzl", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_library")
rust_library(
name = "client_lib",
srcs = [
"src/lib.rs",
"src/library.rs",
"src/playback.rs",
"src/playlist.rs",
"src/tracklist.rs",
"src/ws_client.rs",
],
deps = [
"//server:server_lib",
"//settings:settings_lib",
"//playback:playback_lib",
"//storage:storage_lib",
"//tracklist:tracklist_lib",
] + all_crate_deps(),
)

10
discovery/BUILD Normal file
View File

@@ -0,0 +1,10 @@
package(default_visibility = ["//visibility:public"])
load("//cargo:crates.bzl", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_library")
rust_library(
name = "discovery_lib",
srcs = ["src/lib.rs"],
deps = ["//settings:settings_lib"] + all_crate_deps(),
)

20
entity/BUILD Normal file
View File

@@ -0,0 +1,20 @@
package(default_visibility = ["//visibility:public"])
load("//cargo:crates.bzl", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_library")
rust_library(
name = "entity_lib",
srcs = [
"src/addon.rs",
"src/album.rs",
"src/artist_tracks.rs",
"src/artist.rs",
"src/folder.rs",
"src/lib.rs",
"src/playlist_tracks.rs",
"src/playlist.rs",
"src/track.rs",
],
deps = ["//types:types_lib"] + all_crate_deps(),
)

41
graphql/BUILD Normal file
View File

@@ -0,0 +1,41 @@
package(default_visibility = ["//visibility:public"])
load("//cargo:crates.bzl", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_library")
rust_library(
name = "graphql_lib",
srcs = [
"src/schema/objects/album.rs",
"src/schema/objects/artist.rs",
"src/schema/objects/current_track.rs",
"src/schema/objects/folder.rs",
"src/schema/objects/lyrics.rs",
"src/schema/objects/mod.rs",
"src/schema/objects/player_state.rs",
"src/schema/objects/playlist.rs",
"src/schema/objects/search_result.rs",
"src/schema/objects/track.rs",
"src/schema/objects/tracklist.rs",
"src/schema/addons.rs",
"src/schema/core.rs",
"src/schema/history.rs",
"src/schema/library.rs",
"src/schema/mixer.rs",
"src/schema/mod.rs",
"src/schema/playback.rs",
"src/schema/playlist.rs",
"src/schema/tracklist.rs",
"src/lib.rs",
"src/simple_broker.rs",
],
deps = [
"//playback:playback_lib",
"//scanner:scanner_lib",
"//settings:settings_lib",
"//storage:storage_lib",
"//entity:entity_lib",
"//tracklist:tracklist_lib",
"//types:types_lib",
] + all_crate_deps(),
)

10
migration/BUILD Normal file
View File

@@ -0,0 +1,10 @@
package(default_visibility = ["//visibility:public"])
load("//cargo:crates.bzl", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_library")
rust_library(
name = "migration_lib",
srcs = ["src/lib.rs"],
deps = ["//settings:settings_lib"] + all_crate_deps(),
)

29
playback/BUILD Normal file
View File

@@ -0,0 +1,29 @@
package(default_visibility = ["//visibility:public"])
load("//cargo:crates.bzl", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_library")
rust_library(
name = "playback_lib",
srcs = [
"src/audio_backend/mod.rs",
"src/audio_backend/rodio.rs",
"src/audio_backend/sdl.rs",
"src/decoder/mod.rs",
"src/decoder/symphonia_decoder.rs",
"src/metadata/mod.rs",
"src/metadata/audio/file.rs",
"src/metadata/audio/mod.rs",
"src/config.rs",
"src/dither.rs",
"src/lib.rs",
"src/tests.rs",
"src/convert.rs",
"src/formatter.rs",
"src/player.rs",
],
deps = [
"//tracklist:tracklist_lib",
"//entity:entity_lib",
] + all_crate_deps(),
)

16
scanner/BUILD Normal file
View File

@@ -0,0 +1,16 @@
package(default_visibility = ["//visibility:public"])
load("//cargo:crates.bzl", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_library")
rust_library(
name = "scanner_lib",
srcs = ["src/lib.rs"],
deps = [
"//settings:settings_lib",
"//entity:entity_lib",
"//storage:storage_lib",
"//types:types_lib",
"//migration:migration_lib",
] + all_crate_deps(),
)

42
server/BUILD Normal file
View File

@@ -0,0 +1,42 @@
package(default_visibility = ["//visibility:public"])
load("//cargo:crates.bzl", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_library")
load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
proto_library(
name = "protos",
srcs = ["proto/*/*/*.proto"],
visibility = ["//visibility:public"],
)
cargo_build_script(
name = "build_script",
srcs = ["build.rs"],
data = [":protos"],
)
rust_library(
name = "server_lib",
srcs = [
"src/addons.rs",
"src/history.rs",
"src/playlist.rs",
"src/core.rs",
"src/lib.rs",
"src/mixer.rs",
"src/server.rs",
"src/event.rs",
"src/library.rs",
"src/playback.rs",
"src/tracklist.rs"
],
deps = [
"//playback:playback_lib",
"//scanner:scanner_lib",
"//settings:settings_lib",
"//storage:storage_lib",
"//entity:entity_lib",
"//tracklist:tracklist_lib",
] + all_crate_deps(),
)

10
settings/BUILD Normal file
View File

@@ -0,0 +1,10 @@
package(default_visibility = ["//visibility:public"])
load("//cargo:crates.bzl", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_library")
rust_library(
name = "settings_lib",
srcs = ["src/lib.rs"],
deps = all_crate_deps(),
)

19
storage/BUILD Normal file
View File

@@ -0,0 +1,19 @@
package(default_visibility = ["//visibility:public"])
load("//cargo:crates.bzl", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_library")
rust_library(
name = "storage_lib",
srcs = [
"src/lib.rs",
"src/searcher/album.rs",
"src/searcher/artist.rs",
"src/searcher/mod.rs",
"src/searcher/track.rs",
],
deps = [
"//settings:settings_lib",
"//types:types_lib",
] + all_crate_deps(),
)

10
tracklist/BUILD Normal file
View File

@@ -0,0 +1,10 @@
package(default_visibility = ["//visibility:public"])
load("//cargo:crates.bzl", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_library")
rust_library(
name = "tracklist_lib",
srcs = ["src/lib.rs"],
deps = ["//entity:entity_lib"] + all_crate_deps(),
)

13
types/BUILD Normal file
View File

@@ -0,0 +1,13 @@
package(default_visibility = ["//visibility:public"])
load("//cargo:crates.bzl", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_library")
rust_library(
name = "types_lib",
srcs = [
"src/lib.rs",
"src/types.rs",
],
deps = all_crate_deps(),
)

18
webui/BUILD Normal file
View File

@@ -0,0 +1,18 @@
package(default_visibility = ["//visibility:public"])
load("//cargo:crates.bzl", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_library")
rust_library(
name = "webui_lib",
srcs = ["src/lib.rs"],
deps = [
"//graphql:graphql_lib",
"//settings:settings_lib",
"//storage:storage_lib",
"//playback:playback_lib",
"//tracklist:tracklist_lib",
"//entity:entity_lib",
"//scanner:scanner_lib",
] + all_crate_deps(),
)

View File

@@ -55,6 +55,5 @@ dirs = "4.0.0"
serde_derive = "1.0.145"
serde = { version = "1.0.145", features = ["serde_derive"] }
tokio = { version = "1.21.2", features = ["full"] }
parking_lot = "0.12.1"
actix-cors = "0.6.3"
sea-orm = { version = "0.9.3", features = ["runtime-tokio-rustls", "sqlx-sqlite"] }

View File

@@ -0,0 +1,4 @@
package(default_visibility = ["//visibility:public"])
load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_library")
load("@rules_rust//cargo:defs.bzl", "cargo_build_script")

View File

@@ -0,0 +1,643 @@
"""
@generated
cargo-raze generated Bazel file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = ["//visibility:public"])
licenses([
"notice", # See individual crates for specific licenses
])
# Aliased targets
alias(
name = "actix_cors",
actual = "@raze__actix_cors__0_6_4//:actix_cors",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "actix_files",
actual = "@raze__actix_files__0_6_2//:actix_files",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "actix_web",
actual = "@raze__actix_web__4_2_1//:actix_web",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "async_graphql",
actual = "@raze__async_graphql__4_0_15//:async_graphql",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "async_graphql_actix_web",
actual = "@raze__async_graphql_actix_web__4_0_15//:async_graphql_actix_web",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "async_graphql_tide",
actual = "@raze__async_graphql_tide__4_0_15//:async_graphql_tide",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "async_stream",
actual = "@raze__async_stream__0_3_3//:async_stream",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "async_trait",
actual = "@raze__async_trait__0_1_57//:async_trait",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "atlist_rs",
actual = "@raze__atlist_rs__0_2_1//:atlist_rs",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "chrono",
actual = "@raze__chrono__0_4_23//:chrono",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "clap",
actual = "@raze__clap__3_2_22//:clap",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "config",
actual = "@raze__config__0_13_2//:config",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "cpal",
actual = "@raze__cpal__0_14_1//:cpal",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "crossterm",
actual = "@raze__crossterm__0_25_0//:crossterm",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "ctor",
actual = "@raze__ctor__0_1_26//:ctor",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "cuid",
actual = "@raze__cuid__1_2_0//:cuid",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "dirs",
actual = "@raze__dirs__4_0_0//:dirs",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "dotenv",
actual = "@raze__dotenv__0_15_0//:dotenv",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "env_logger",
actual = "@raze__env_logger__0_9_1//:env_logger",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "envtestkit",
actual = "@raze__envtestkit__1_1_2//:envtestkit",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "futures",
actual = "@raze__futures__0_3_24//:futures",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "futures_channel",
actual = "@raze__futures_channel__0_3_25//:futures_channel",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "futures_util",
actual = "@raze__futures_util__0_3_25//:futures_util",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "itertools",
actual = "@raze__itertools__0_10_5//:itertools",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "lazy_static",
actual = "@raze__lazy_static__1_4_0//:lazy_static",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "libmdns",
actual = "@raze__libmdns__0_7_2//:libmdns",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "librespot_protocol",
actual = "@raze__librespot_protocol__0_4_2//:librespot_protocol",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "lofty",
actual = "@raze__lofty__0_9_0//:lofty",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "log",
actual = "@raze__log__0_4_17//:log",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "md5",
actual = "@raze__md5__0_7_0//:md5",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "mdns",
actual = "@raze__mdns__3_0_0//:mdns",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "mdns_sd",
actual = "@raze__mdns_sd__0_5_8//:mdns_sd",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "mime_guess",
actual = "@raze__mime_guess__2_0_4//:mime_guess",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "once_cell",
actual = "@raze__once_cell__1_16_0//:once_cell",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "owo_colors",
actual = "@raze__owo_colors__3_5_0//:owo_colors",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "parking_lot",
actual = "@raze__parking_lot__0_12_1//:parking_lot",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "prost",
actual = "@raze__prost__0_11_0//:prost",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "rand",
actual = "@raze__rand__0_8_5//:rand",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "rand_distr",
actual = "@raze__rand_distr__0_4_3//:rand_distr",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "rb",
actual = "@raze__rb__0_4_1//:rb",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "rodio",
actual = "@raze__rodio__0_16_0//:rodio",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "rust_embed",
actual = "@raze__rust_embed__6_4_1//:rust_embed",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "sea_orm",
actual = "@raze__sea_orm__0_9_3//:sea_orm",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "sea_orm_migration",
actual = "@raze__sea_orm_migration__0_9_3//:sea_orm_migration",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "serde",
actual = "@raze__serde__1_0_148//:serde",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "serde_derive",
actual = "@raze__serde_derive__1_0_148//:serde_derive",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "serde_json",
actual = "@raze__serde_json__1_0_89//:serde_json",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "slab",
actual = "@raze__slab__0_4_7//:slab",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "spinners",
actual = "@raze__spinners__4_1_0//:spinners",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "surf",
actual = "@raze__surf__2_3_2//:surf",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "symphonia",
actual = "@raze__symphonia__0_5_1//:symphonia",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tabled",
actual = "@raze__tabled__0_8_0//:tabled",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tantivy",
actual = "@raze__tantivy__0_18_1//:tantivy",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tauri",
actual = "@raze__tauri__1_2_1//:tauri",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tauri_build",
actual = "@raze__tauri_build__1_2_1//:tauri_build",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tempfile",
actual = "@raze__tempfile__3_3_0//:tempfile",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "thiserror",
actual = "@raze__thiserror__1_0_37//:thiserror",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tide",
actual = "@raze__tide__0_16_0//:tide",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tokio",
actual = "@raze__tokio__1_22_0//:tokio",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tokio_tungstenite",
actual = "@raze__tokio_tungstenite__0_17_2//:tokio_tungstenite",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "toml",
actual = "@raze__toml__0_5_9//:toml",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tonic",
actual = "@raze__tonic__0_8_2//:tonic",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tonic_build",
actual = "@raze__tonic_build__0_8_2//:tonic_build",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tonic_web",
actual = "@raze__tonic_web__0_4_0//:tonic_web",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tui",
actual = "@raze__tui__0_19_0//:tui",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "tungstenite",
actual = "@raze__tungstenite__0_17_3//:tungstenite",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "url",
actual = "@raze__url__2_3_1//:url",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "uuid",
actual = "@raze__uuid__1_2_1//:uuid",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "walkdir",
actual = "@raze__walkdir__2_3_2//:walkdir",
tags = [
"cargo-raze",
"manual",
],
)
alias(
name = "zerocopy",
actual = "@raze__zerocopy__0_6_1//:zerocopy",
tags = [
"cargo-raze",
"manual",
],
)