Skip to content

Commit 321ce19

Browse files
committed
Merge #1289: Refactor packages: extract udp-tracker-core package
1886593 refactor: [#1282] extract udp-tracker-core package (Jose Celano) 84cf581 refactor: [#1282] move BanService to udp-tracker-core package (Jose Celano) Pull request description: Refactor packages: extract `udp-tracker-core` package ACKs for top commit: josecelano: ACK 1886593 Tree-SHA512: 6b960df70f9c7049dd5ea95e4e4abbb470671470a53d54e0a81fdb8fa97d41ca0ac3a313be95d623a03041e6bbddffeea6f2bec83e29263adbaa1dcd4b06a315
2 parents 27dd4f9 + 1886593 commit 321ce19

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+940
-230
lines changed

.github/workflows/deployment.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
cargo publish -p bittorrent-tracker-client
6060
cargo publish -p bittorrent-tracker-core
6161
cargo publish -p bittorrent-udp-protocol
62+
cargo publish -p bittorrent-udp-tracker-core
6263
cargo publish -p torrust-tracker
6364
cargo publish -p torrust-tracker-api-client
6465
cargo publish -p torrust-tracker-client

Cargo.lock

+25-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-4
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,9 @@ bittorrent-http-protocol = { version = "3.0.0-develop", path = "packages/http-pr
4343
bittorrent-primitives = "0.1.0"
4444
bittorrent-tracker-client = { version = "3.0.0-develop", path = "packages/tracker-client" }
4545
bittorrent-tracker-core = { version = "3.0.0-develop", path = "packages/tracker-core" }
46-
bittorrent-udp-protocol = { version = "3.0.0-develop", path = "packages/udp-protocol" }
47-
bloom = "0.3.2"
48-
blowfish = "0"
46+
bittorrent-udp-tracker-core = { version = "3.0.0-develop", path = "packages/udp-tracker-core" }
4947
camino = { version = "1", features = ["serde", "serde1"] }
5048
chrono = { version = "0", default-features = false, features = ["clock"] }
51-
cipher = "0"
5249
clap = { version = "4", features = ["derive", "env"] }
5350
crossbeam-skiplist = "0"
5451
dashmap = "6"

packages/udp-tracker-core/Cargo.toml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[package]
2+
authors.workspace = true
3+
description = "A library with the core functionality needed to implement a BitTorrent UDP tracker."
4+
documentation.workspace = true
5+
edition.workspace = true
6+
homepage.workspace = true
7+
keywords = ["api", "bittorrent", "core", "library", "tracker"]
8+
license.workspace = true
9+
name = "bittorrent-udp-tracker-core"
10+
publish.workspace = true
11+
readme = "README.md"
12+
repository.workspace = true
13+
rust-version.workspace = true
14+
version.workspace = true
15+
16+
[dependencies]
17+
aquatic_udp_protocol = "0"
18+
bittorrent-primitives = "0.1.0"
19+
bittorrent-tracker-core = { version = "3.0.0-develop", path = "../tracker-core" }
20+
bittorrent-udp-protocol = { version = "3.0.0-develop", path = "../udp-protocol" }
21+
bloom = "0.3.2"
22+
blowfish = "0"
23+
cipher = "0"
24+
futures = "0"
25+
lazy_static = "1"
26+
rand = "0"
27+
thiserror = "2"
28+
tokio = { version = "1", features = ["macros", "net", "rt-multi-thread", "signal", "sync"] }
29+
torrust-tracker-configuration = { version = "3.0.0-develop", path = "../configuration" }
30+
torrust-tracker-primitives = { version = "3.0.0-develop", path = "../primitives" }
31+
tracing = "0"
32+
zerocopy = "0.7"
33+
34+
[dev-dependencies]
35+
mockall = "0"
36+
torrust-tracker-test-helpers = { version = "3.0.0-develop", path = "../test-helpers" }

0 commit comments

Comments
 (0)