update Cargo.toml

This commit is contained in:
Nikita Sivukhin
2025-11-12 16:14:14 +04:00
parent 2d517f9fd7
commit aa65cfd55d
2 changed files with 12 additions and 1 deletions

View File

@@ -21,11 +21,18 @@ base64 = "0.22.1"
prost = "0.14.1" prost = "0.14.1"
roaring = "0.11.2" roaring = "0.11.2"
[target.'cfg(target_os = "linux")'.dependencies]
libc = { version = "0.2.172" }
[dev-dependencies] [dev-dependencies]
ctor = "0.4.2" ctor = "0.4.2"
tempfile = { workspace = true } tempfile = { workspace = true }
tracing-subscriber = { workspace = true, features = ["env-filter"] } tracing-subscriber = { workspace = true, features = ["env-filter"] }
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "test-util"] } tokio = { workspace = true, features = [
"macros",
"rt-multi-thread",
"test-util",
] }
uuid = "1.17.0" uuid = "1.17.0"
rand = { workspace = true } rand = { workspace = true }
rand_chacha = { workspace = true } rand_chacha = { workspace = true }

View File

@@ -1223,6 +1223,10 @@ pub async fn bootstrap_db_file_v1<C: ProtocolIO, Ctx>(
wait_proto_message::<Ctx, PageData>(coro, &completion, &client.network_stats, &mut bytes) wait_proto_message::<Ctx, PageData>(coro, &completion, &client.network_stats, &mut bytes)
.await? .await?
{ {
tracing::info!(
"bootstrap_db_file: received page page_id={}",
page_data.page_id
);
let offset = page_data.page_id * PAGE_SIZE as u64; let offset = page_data.page_id * PAGE_SIZE as u64;
let page = decode_page(&header, page_data)?; let page = decode_page(&header, page_data)?;
if page.len() != PAGE_SIZE { if page.len() != PAGE_SIZE {