Prepare for releasing 8.1.0
This commit is contained in:
parent
3fa55bdc14
commit
28332fd4b9
21 changed files with 1387 additions and 978 deletions
|
|
@ -27,7 +27,7 @@ librqbit-core = { path = "../librqbit_core", default-features = false, version =
|
|||
byteorder = "1.5"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
urlencoding = "2"
|
||||
rand = "0.8"
|
||||
rand = "0.9"
|
||||
tracing = "0.1.40"
|
||||
reqwest = { version = "0.12", default-features = false, features = ["json"] }
|
||||
bencode = { path = "../bencode", default-features = false, package = "librqbit-bencode", version = "3" }
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ const CONNECTION_ID_MAGIC: ConnectionId = 0x41727101980;
|
|||
pub type TransactionId = u32;
|
||||
|
||||
pub fn new_transaction_id() -> TransactionId {
|
||||
rand::thread_rng().gen()
|
||||
rand::rng().random()
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue