Skip to content

Commit 51ae89b

Browse files
committed
chore: update to edition 2024 and resolver 3
1 parent d6891c5 commit 51ae89b

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
**.iso
33
**.iso.part
44
todo.md
5+
gimp-3.0.4-arm64.dmg

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ members = [
44
"crates/cli",
55
"crates/util",
66
]
7-
resolver = "2"
7+
resolver = "3"
8+
edition = "2024"
89

910
[workspace.dependencies]
1011
tokio = { version = "1.33.0", features = ["full"] }

crates/bit_rev/src/file.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,11 @@ pub fn build_tracker_url(
125125
// let announce_url = torrent_meta.torrent_file.announce.as_ref().unwrap();
126126
let info_hash_encoded = url_encode_bytes(torrent_meta.info_hash.as_ref()).unwrap();
127127
let peer_id_encoded = url_encode_bytes(peer_id).unwrap();
128+
// let info_hash_encoded = urlencoding::encode_binary(&torrent_meta.info_hash);
129+
// let peer_id_encoded = urlencoding::encode_binary(&peer_id);
128130

129131
format!(
132+
// "{}?info_hash={}&peer_id={}&port={}&uploaded=0&downloaded=0&compact=1&left={}&event=started?supportcrypto=1&numwant=80&key=DF45C574",
130133
"{}?info_hash={}&peer_id={}&port={}&uploaded=0&downloaded=0&compact=1&left={}",
131134
tracker_url,
132135
info_hash_encoded,

gimp-3.0.4-arm64.dmg.torrent

21.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)