-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathCargo.toml
More file actions
56 lines (53 loc) · 2.28 KB
/
Copy pathCargo.toml
File metadata and controls
56 lines (53 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[package]
authors.workspace = true
description = "The Torrust Bittorrent HTTP tracker."
documentation.workspace = true
edition.workspace = true
homepage.workspace = true
keywords = [ "axum", "bittorrent", "http", "server", "torrust", "tracker" ]
license.workspace = true
name = "torrust-tracker-axum-http-server"
publish.workspace = true
readme = "README.md"
repository.workspace = true
rust-version.workspace = true
version = "0.1.0"
[dependencies]
axum = { version = "0", features = [ "macros" ] }
axum-client-ip = "0"
axum-server = { version = "0", features = [ "tls-rustls-no-provider" ] }
torrust-tracker-http-core = { version = "0.1.0", path = "../http-core" }
torrust-tracker-http-protocol = { version = "0.1.0", path = "../http-protocol" }
torrust-info-hash = "=0.2.0"
torrust-tracker-core = { version = "0.1.0", path = "../tracker-core" }
derive_more = { version = "2", features = [ "as_ref", "constructor", "from" ] }
futures = "0"
hyper = "1"
reqwest = { version = "0", features = [ "json" ] }
serde = { version = "1", features = [ "derive" ] }
tokio = { version = "1", features = [ "macros", "net", "rt-multi-thread", "signal", "sync" ] }
tokio-util = "0.7.15"
torrust-tracker-axum-server = { version = "0.1.0", path = "../axum-server" }
torrust-server-lib = "0.2.0"
torrust-clock = "3.0.0"
torrust-tracker-configuration = { version = "3.0.0", path = "../configuration" }
torrust-net-primitives = "0.1.0"
torrust-tracker-primitives = { version = "3.0.0", path = "../primitives" }
torrust-tracker-swarm-coordination-registry = { version = "0.1.0", path = "../swarm-coordination-registry" }
tower = { version = "0", features = [ "timeout" ] }
tower-http = { version = "0", features = [ "compression-full", "cors", "propagate-header", "request-id", "trace" ] }
tracing = "0"
socket2 = "0.6.4"
[dev-dependencies]
local-ip-address = "0"
rand = "0.9"
serde_bencode = "0"
serde_bytes = "0"
torrust-peer-id = "0.1.0"
torrust-tracker-client-lib = { version = "0.1.0", path = "../tracker-client" }
torrust-tracker-test-helpers = { version = "3.0.0", path = "../test-helpers" }
uuid = { version = "1", features = [ "v4" ] }
# cargo-machete cannot detect `serde_bytes` usage via `#[serde(with = "serde_bytes")]`
# string attributes in test code; suppress the false-positive.
[package.metadata.cargo-machete]
ignored = [ "serde_bytes" ]