Skip to content

Commit

Permalink
Show file tree
Hide file tree
Showing 18 changed files with 209 additions and 174 deletions.
255 changes: 145 additions & 110 deletions Cargo.lock

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions api-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "unm_api_utils"
description = "The utilities for developing UnblockNeteaseMusic API."
license = "LGPL-3.0-or-later"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
repository = "https://github.com/UnblockNeteaseMusic/server-rust"
readme = "./README.md"
Expand All @@ -11,11 +11,11 @@ readme = "./README.md"
[dependencies]
concat-idents = "1.1.4"
log = "0.4.17"
unm_engine = { version = "0.3.0", path = "../engine-base" }
unm_engine_bilibili = { version = "0.3.0", path = "../engines/bilibili" }
unm_engine_joox = { version = "0.3.0", path = "../engines/joox" }
unm_engine_kugou = { version = "0.3.0", path = "../engines/kugou" }
unm_engine_kuwo = { version = "0.3.0", path = "../engines/kuwo" }
unm_engine_pyncm = { version = "0.3.0", path = "../engines/pyncm" }
unm_engine_qq = { version = "0.3.0", path = "../engines/qq" }
unm_engine_ytdl = { version = "0.3.0", path = "../engines/ytdl" }
unm_engine = { version = "0.4.0", path = "../engine-base" }
unm_engine_bilibili = { version = "0.4.0", path = "../engines/bilibili" }
unm_engine_joox = { version = "0.4.0", path = "../engines/joox" }
unm_engine_kugou = { version = "0.4.0", path = "../engines/kugou" }
unm_engine_kuwo = { version = "0.4.0", path = "../engines/kuwo" }
unm_engine_pyncm = { version = "0.4.0", path = "../engines/pyncm" }
unm_engine_qq = { version = "0.4.0", path = "../engines/qq" }
unm_engine_ytdl = { version = "0.4.0", path = "../engines/ytdl" }
4 changes: 2 additions & 2 deletions engine-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "unm_engine"
description = "The engine base for UnblockNeteaseMusic, including the executor and the Engine trait."
license = "LGPL-3.0-or-later"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
repository = "https://github.com/UnblockNeteaseMusic/server-rust"
readme = "../README.md"
Expand All @@ -14,4 +14,4 @@ async-trait = "0.1.61"
futures = "0.3.25"
log = "0.4.17"
thiserror = "1.0.38"
unm_types = { version = "0.3.0", path = "../types" }
unm_types = { version = "0.4.0", path = "../types" }
4 changes: 2 additions & 2 deletions engine-demo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ publish = false
futures = "0.3.25"
mimalloc = "0.1.34"
tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] }
unm_api_utils = { version = "0.3.0", path = "../api-utils" }
unm_api_utils = { version = "0.4.0", path = "../api-utils" }
unm_test_utils = { version = "0.1.0", path = "../test-utils" }
unm_types = { version = "0.3.0", path = "../types" }
unm_types = { version = "0.4.0", path = "../types" }
10 changes: 5 additions & 5 deletions engines/bilibili/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "unm_engine_bilibili"
description = "The Bilibili engine for UnblockNeteaseMusic."
license = "LGPL-3.0-or-later"
version = "0.3.0"
version = "0.4.0"
repository = "https://github.com/UnblockNeteaseMusic/server-rust"
readme = "../../README.md"
edition = "2021"
Expand All @@ -14,10 +14,10 @@ async-trait = "0.1.61"
http = "0.2.8"
log = "0.4.17"
serde = { version = "1.0.152", features = ["derive"] }
unm_engine = { version = "0.3.0", path = "../../engine-base" }
unm_request = { version = "0.3.0", path = "../../request" }
unm_selector = { version = "0.3.0", path = "../../selector" }
unm_types = { version = "0.3.0", path = "../../types" }
unm_engine = { version = "0.4.0", path = "../../engine-base" }
unm_request = { version = "0.4.0", path = "../../request" }
unm_selector = { version = "0.4.0", path = "../../selector" }
unm_types = { version = "0.4.0", path = "../../types" }
url = "2.3.1"

[dev-dependencies]
Expand Down
10 changes: 5 additions & 5 deletions engines/joox/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "unm_engine_joox"
description = "The Joox engine for UnblockNeteaseMusic."
license = "LGPL-3.0-or-later"
version = "0.3.0"
version = "0.4.0"
repository = "https://github.com/UnblockNeteaseMusic/server-rust"
readme = "../../README.md"
edition = "2021"
Expand All @@ -18,10 +18,10 @@ once_cell = "1.17.0"
regex = "1.7.1"
reqwest = { version = "0.11.14", features = ["native-tls-vendored"] }
serde_json = "1.0.91"
unm_engine = { version = "0.3.0", path = "../../engine-base" }
unm_request = { version = "0.3.0", path = "../../request" }
unm_selector = { version = "0.3.0", path = "../../selector" }
unm_types = { version = "0.3.0", path = "../../types" }
unm_engine = { version = "0.4.0", path = "../../engine-base" }
unm_request = { version = "0.4.0", path = "../../request" }
unm_selector = { version = "0.4.0", path = "../../selector" }
unm_types = { version = "0.4.0", path = "../../types" }

[dev-dependencies]
tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] }
Expand Down
10 changes: 5 additions & 5 deletions engines/kugou/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "unm_engine_kugou"
description = "The Kugou engine for UnblockNeteaseMusic."
license = "LGPL-3.0-or-later"
version = "0.3.0"
version = "0.4.0"
repository = "https://github.com/UnblockNeteaseMusic/server-rust"
readme = "../../README.md"
edition = "2021"
Expand All @@ -18,10 +18,10 @@ log = "0.4.17"
reqwest = { version = "0.11.14", features = ["native-tls-vendored"] }
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.91"
unm_engine = { version = "0.3.0", path = "../../engine-base" }
unm_request = { version = "0.3.0", path = "../../request" }
unm_selector = { version = "0.3.0", path = "../../selector" }
unm_types = { version = "0.3.0", path = "../../types" }
unm_engine = { version = "0.4.0", path = "../../engine-base" }
unm_request = { version = "0.4.0", path = "../../request" }
unm_selector = { version = "0.4.0", path = "../../selector" }
unm_types = { version = "0.4.0", path = "../../types" }

[dev-dependencies]
tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] }
Expand Down
10 changes: 5 additions & 5 deletions engines/kuwo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "unm_engine_kuwo"
description = "The Kuwo engine for UnblockNeteaseMusic."
license = "LGPL-3.0-or-later"
version = "0.3.0"
version = "0.4.0"
repository = "https://github.com/UnblockNeteaseMusic/server-rust"
readme = "../../README.md"
edition = "2021"
Expand All @@ -18,10 +18,10 @@ log = "0.4.17"
random-string = "1.0.0"
reqwest = { version = "0.11.14", features = ["native-tls-vendored"] }
serde = { version = "1.0.152", features = ["derive"] }
unm_engine = { version = "0.3.0", path = "../../engine-base" }
unm_request = { version = "0.3.0", path = "../../request" }
unm_selector = { version = "0.3.0", path = "../../selector" }
unm_types = { version = "0.3.0", path = "../../types" }
unm_engine = { version = "0.4.0", path = "../../engine-base" }
unm_request = { version = "0.4.0", path = "../../request" }
unm_selector = { version = "0.4.0", path = "../../selector" }
unm_types = { version = "0.4.0", path = "../../types" }

[dev-dependencies]
tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] }
Expand Down
10 changes: 5 additions & 5 deletions engines/migu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "unm_engine_migu"
description = "The Migu engine for UnblockNeteaseMusic."
license = "LGPL-3.0-or-later"
version = "0.3.0"
version = "0.4.0"
repository = "https://github.com/UnblockNeteaseMusic/server-rust"
readme = "../../README.md"
edition = "2021"
Expand All @@ -15,10 +15,10 @@ http = "0.2.8"
log = "0.4.17"
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.91"
unm_engine = { version = "0.3.0", path = "../../engine-base" }
unm_request = { version = "0.3.0", path = "../../request" }
unm_selector = { version = "0.3.0", path = "../../selector" }
unm_types = { version = "0.3.0", path = "../../types" }
unm_engine = { version = "0.4.0", path = "../../engine-base" }
unm_request = { version = "0.4.0", path = "../../request" }
unm_selector = { version = "0.4.0", path = "../../selector" }
unm_types = { version = "0.4.0", path = "../../types" }
url = "2.3.1"

[dev-dependencies]
Expand Down
8 changes: 4 additions & 4 deletions engines/pyncm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "unm_engine_pyncm"
description = "The PyNCM engine for UnblockNeteaseMusic."
license = "LGPL-3.0-or-later"
version = "0.3.0"
version = "0.4.0"
repository = "https://github.com/UnblockNeteaseMusic/server-rust"
readme = "../../README.md"
edition = "2021"
Expand All @@ -14,9 +14,9 @@ async-trait = "0.1.61"
http = "0.2.8"
log = "0.4.17"
serde = { version = "1.0.152", features = ["derive"] }
unm_engine = { version = "0.3.0", path = "../../engine-base" }
unm_request = { version = "0.3.0", path = "../../request" }
unm_types = { version = "0.3.0", path = "../../types" }
unm_engine = { version = "0.4.0", path = "../../engine-base" }
unm_request = { version = "0.4.0", path = "../../request" }
unm_types = { version = "0.4.0", path = "../../types" }
url = "2.3.1"

[dev-dependencies]
Expand Down
10 changes: 5 additions & 5 deletions engines/qq/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "unm_engine_qq"
description = "The QQ engine for UnblockNeteaseMusic."
license = "LGPL-3.0-or-later"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
repository = "https://github.com/UnblockNeteaseMusic/server-rust"
readme = "../../README.md"
Expand All @@ -23,10 +23,10 @@ reqwest = "0.11.14"
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.91"
thiserror = "1.0.38"
unm_engine = { version = "0.3.0", path = "../../engine-base" }
unm_request = { version = "0.3.0", path = "../../request" }
unm_selector = { version = "0.3.0", path = "../../selector" }
unm_types = { version = "0.3.0", path = "../../types" }
unm_engine = { version = "0.4.0", path = "../../engine-base" }
unm_request = { version = "0.4.0", path = "../../request" }
unm_selector = { version = "0.4.0", path = "../../selector" }
unm_types = { version = "0.4.0", path = "../../types" }
url = "2.3.1"

[dev-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions engines/ytdl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "unm_engine_ytdl"
description = "The YtDl (youtube-dl, yt-dlp, …) engine for UnblockNeteaseMusic."
license = "LGPL-3.0-or-later"
version = "0.3.0"
version = "0.4.0"
repository = "https://github.com/UnblockNeteaseMusic/server-rust"
readme = "../../README.md"
edition = "2021"
Expand All @@ -16,8 +16,8 @@ log = "0.4.17"
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.91"
tokio = { version = "1.24.2", features = ["process"] }
unm_engine = { version = "0.3.0", path = "../../engine-base" }
unm_types = { version = "0.3.0", path = "../../types" }
unm_engine = { version = "0.4.0", path = "../../engine-base" }
unm_types = { version = "0.4.0", path = "../../types" }
winapi = "0.3.9"

[dev-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions napi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ mimalloc = "0.1.34"
napi = { version = "2.10.9", features = ["full"] }
napi-derive = "2.9.5"
simple_logger = "4.0.0"
unm_api_utils = { version = "0.3.0", path = "../api-utils" }
unm_engine = { version = "0.3.0", path = "../engine-base" }
unm_types = { version = "0.3.0", path = "../types" }
unm_api_utils = { version = "0.4.0", path = "../api-utils" }
unm_engine = { version = "0.4.0", path = "../engine-base" }
unm_types = { version = "0.4.0", path = "../types" }

[build-dependencies]
napi-build = "2.0.1"
2 changes: 1 addition & 1 deletion request/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "unm_request"
description = "The request-related methods for UnblockNeteaseMusic."
license = "LGPL-3.0-or-later"
version = "0.3.0"
version = "0.4.0"
repository = "https://github.com/UnblockNeteaseMusic/server-rust"
readme = "../README.md"
edition = "2021"
Expand Down
10 changes: 5 additions & 5 deletions rest-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "unm_rest_api"
description = "The RESTful API that can deal with UnblockNeteaseMusic API."
version = "0.3.0"
version = "0.4.0"
edition = "2021"
license = "LGPL-3.0-or-later"
repository = "https://github.com/UnblockNeteaseMusic/server-rust"
Expand All @@ -26,8 +26,8 @@ tower = { version = "0.4.13", features = ["buffer", "limit", "load-shed"] }
tower-http = { version = "0.3.5", features = ["cors"] }
tracing = "0.1.37"
tracing-subscriber = "0.3.16"
unm_api_utils = { version = "0.3.0", path = "../api-utils" }
unm_engine = { version = "0.3.0", path = "../engine-base" }
unm_engine_bilibili = { version = "0.3.0", path = "../engines/bilibili" }
unm_types = { version = "0.3.0", path = "../types" }
unm_api_utils = { version = "0.4.0", path = "../api-utils" }
unm_engine = { version = "0.4.0", path = "../engine-base" }
unm_engine_bilibili = { version = "0.4.0", path = "../engines/bilibili" }
unm_types = { version = "0.4.0", path = "../types" }
url = "2.3.1"
4 changes: 2 additions & 2 deletions selector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
name = "unm_selector"
description = "The algorithm for UnblockNeteaseMusic, determining what Song to return."
license = "LGPL-3.0-or-later"
version = "0.3.0"
version = "0.4.0"
repository = "https://github.com/UnblockNeteaseMusic/server-rust"
readme = "../README.md"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
unm_types = { version = "0.3.0", path = "../types" }
unm_types = { version = "0.4.0", path = "../types" }

[dev-dependencies]
once_cell = "1.17.0"
Expand Down
4 changes: 2 additions & 2 deletions test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ publish = false
futures = "0.3.25"
log = "0.4.17"
simple_logger = "4.0.0"
unm_engine = { version = "0.3.0", path = "../engine-base" }
unm_types = { version = "0.3.0", path = "../types" }
unm_engine = { version = "0.4.0", path = "../engine-base" }
unm_types = { version = "0.4.0", path = "../types" }
2 changes: 1 addition & 1 deletion types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "unm_types"
description = "The type definitions for UnblockNeteaseMusic."
license = "LGPL-3.0-or-later"
version = "0.3.0"
version = "0.4.0"
repository = "https://github.com/UnblockNeteaseMusic/server-rust"
readme = "../README.md"
edition = "2021"
Expand Down

0 comments on commit 477318f

Please sign in to comment.