Preparing for v7.0.0-beta.1

This commit is contained in:
Igor Katson 2024-08-19 17:29:22 +01:00
parent 4e220407ce
commit 06c6bf4487
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
8 changed files with 174 additions and 119 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "librqbit"
version = "7.0.0-beta.0"
version = "7.0.0-beta.1"
authors = ["Igor Katson <igor.katson@gmail.com>"]
edition = "2021"
description = "The main library used by rqbit torrent client. The binary is just a small wrapper on top of it."
@ -31,13 +31,13 @@ sqlx = { version = "0.7", features = [
], optional = true }
bencode = { path = "../bencode", default-features = false, package = "librqbit-bencode", version = "3" }
tracker_comms = { path = "../tracker_comms", default-features = false, package = "librqbit-tracker-comms", version = "1.0.3" }
buffers = { path = "../buffers", package = "librqbit-buffers", version = "4" }
buffers = { path = "../buffers", package = "librqbit-buffers", version = "4.1" }
librqbit-core = { path = "../librqbit_core", version = "4" }
clone_to_owned = { path = "../clone_to_owned", package = "librqbit-clone-to-owned", version = "3" }
peer_binary_protocol = { path = "../peer_binary_protocol", package = "librqbit-peer-protocol", version = "4.0.0" }
peer_binary_protocol = { path = "../peer_binary_protocol", package = "librqbit-peer-protocol", version = "4.1" }
sha1w = { path = "../sha1w", default-features = false, package = "librqbit-sha1-wrapper", version = "3.0.0" }
dht = { path = "../dht", package = "librqbit-dht", version = "5.1.0" }
librqbit-upnp = { path = "../upnp", version = "0.1.0" }
librqbit-upnp = { path = "../upnp", version = "0.1.1" }
tokio = { version = "1", features = [
"macros",

View file

@ -64,7 +64,6 @@ impl TorrentStorage for FilesystemStorage {
#[cfg(target_family = "windows")]
{
use std::os::windows::fs::FileExt;
let mut remaining = buf.len();
let g = of.file.read();
let f = g.as_ref().context("file is None")?;
f.seek_read(buf, offset)?;