Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
run: |
cargo publish -p bittorrent-http-protocol
cargo publish -p bittorrent-tracker-client
cargo publish -p bittorrent-tracker-core
cargo publish -p torrust-tracker
cargo publish -p torrust-tracker-api-client
cargo publish -p torrust-tracker-client
Expand Down
31 changes: 31 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ axum-server = { version = "0", features = ["tls-rustls-no-provider"] }
bittorrent-http-protocol = { version = "3.0.0-develop", path = "packages/http-protocol" }
bittorrent-primitives = "0.1.0"
bittorrent-tracker-client = { version = "3.0.0-develop", path = "packages/tracker-client" }
bittorrent-tracker-core = { version = "3.0.0-develop", path = "packages/tracker-core" }
bloom = "0.3.2"
blowfish = "0"
camino = { version = "1", features = ["serde", "serde1"] }
Expand Down Expand Up @@ -90,7 +91,17 @@ uuid = { version = "1", features = ["v4"] }
zerocopy = "0.7"

[package.metadata.cargo-machete]
ignored = ["crossbeam-skiplist", "dashmap", "figment", "parking_lot", "serde_bytes"]
ignored = [
"crossbeam-skiplist",
"dashmap",
"figment",
"parking_lot",
"r2d2",
"r2d2_mysql",
"r2d2_sqlite",
"serde_bytes",
"torrust-tracker-torrent-repository",
]

[dev-dependencies]
local-ip-address = "0"
Expand All @@ -109,6 +120,7 @@ members = [
"packages/torrent-repository",
"packages/tracker-api-client",
"packages/tracker-client",
"packages/tracker-core",
]

[profile.dev]
Expand Down
43 changes: 43 additions & 0 deletions packages/tracker-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[package]
description = "A library with the core functionality needed to implement a BitTorrent tracker."
keywords = ["api", "bittorrent", "core", "library", "tracker"]
name = "bittorrent-tracker-core"
readme = "README.md"

authors.workspace = true
documentation.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
publish.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true

[dependencies]
aquatic_udp_protocol = "0"
bittorrent-http-protocol = { version = "3.0.0-develop", path = "../http-protocol" }
bittorrent-primitives = "0.1.0"
chrono = { version = "0", default-features = false, features = ["clock"] }
derive_more = { version = "1", features = ["as_ref", "constructor", "from"] }
futures = "0"
r2d2 = "0"
r2d2_mysql = "25"
r2d2_sqlite = { version = "0", features = ["bundled"] }
rand = "0"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
thiserror = "2"
tokio = { version = "1", features = ["macros", "net", "rt-multi-thread", "signal", "sync"] }
torrust-tracker-clock = { version = "3.0.0-develop", path = "../clock" }
torrust-tracker-configuration = { version = "3.0.0-develop", path = "../configuration" }
torrust-tracker-located-error = { version = "3.0.0-develop", path = "../located-error" }
torrust-tracker-primitives = { version = "3.0.0-develop", path = "../primitives" }
torrust-tracker-torrent-repository = { version = "3.0.0-develop", path = "../torrent-repository" }
tracing = "0"

[dev-dependencies]
local-ip-address = "0"
mockall = "0"
torrust-tracker-api-client = { version = "3.0.0-develop", path = "../tracker-api-client" }
torrust-tracker-test-helpers = { version = "3.0.0-develop", path = "../test-helpers" }
Loading