Change tracker type to be url::Url in most places

This commit is contained in:
Igor Katson 2025-02-27 12:35:37 +00:00
parent 3eb1558451
commit d709557372
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
4 changed files with 27 additions and 24 deletions

View file

@ -188,7 +188,7 @@ pub struct ManagedTorrentShared {
pub id: TorrentId,
pub info_hash: Id20,
pub(crate) spawner: BlockingSpawner,
pub trackers: HashSet<String>,
pub trackers: HashSet<url::Url>,
pub peer_id: Id20,
pub span: tracing::Span,
pub(crate) options: ManagedTorrentOptions,