Skip to content

Commit 6a26de2

Browse files
committed
chore: Upgrade dependencies, prepare v0.6.2
1 parent 97e4ce3 commit 6a26de2

5 files changed

Lines changed: 75 additions & 79 deletions

File tree

Cargo.lock

Lines changed: 36 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/pithos/Cargo.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
[package]
22
name = "pithos"
33
description = "Client for the Pithos object storage file format"
4-
version = "0.6.1"
4+
version = "0.6.2"
55
authors.workspace = true
66
edition.workspace = true
77
repository.workspace = true
88
license.workspace = true
99

1010
[dependencies]
11-
anyhow = "1.0.93"
11+
anyhow = "1.0.98"
1212
async-channel = "2.3.1"
13-
async-trait = "0.1.83"
13+
async-trait = "0.1.88"
1414
base64 = "0.22.1"
15-
borsh = {version = "1.5.3", features = ["std", "derive"]}
16-
bytes = "1.8.0"
15+
borsh = { version = "1.5.7", features = ["std", "derive"] }
16+
bytes = "1.10.1"
1717
chacha20poly1305 = "0.10.1"
18-
clap = { version = "4.5.21", features = ["derive"] }
18+
clap = { version = "4.5.38", features = ["derive"] }
1919
crypto_kx = { version = "0.2.1", features = ["serde"] }
2020
dotenvy = "0.15.7"
2121
futures = "0.3.31"
2222
futures-util = "0.3.31"
23-
openssl = "0.10.68"
24-
pithos_lib = { path = "../pithos_lib", version="0.6.1"}
25-
rand = "0.8.5"
26-
serde_json = "1.0.133"
27-
tokio = { version = "1.41.1", features = ["full"] }
28-
tokio-stream = "0.1.16"
29-
tokio-util = "0.7.12"
30-
tracing = "0.1.40"
31-
tracing-subscriber = {version = "0.3.18", features = ["env-filter", "time"]}
23+
openssl = "0.10.72"
24+
pithos_lib = { path = "../pithos_lib", version = "0.6.2" }
25+
rand = "0.9.1"
26+
serde_json = "1.0.140"
27+
tokio = { version = "1.45.0", features = ["full"] }
28+
tokio-stream = "0.1.17"
29+
tokio-util = "0.7.15"
30+
tracing = "0.1.41"
31+
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "time"] }
3232
x25519-dalek = "2.0.1"
33-
indicatif = "0.17.9"
33+
indicatif = "0.17.11"

crates/pithos/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ use pithos_lib::pithos::pithoswriter::PithosWriter;
1616
use pithos_lib::pithos::structs::{
1717
DirContextVariants, EndOfFileMetadata, FileContextVariants, EOF_META_LEN,
1818
};
19-
use rand::distributions::Alphanumeric;
20-
use rand::{thread_rng, Rng};
19+
use rand::distr::Alphanumeric;
20+
use rand::Rng;
2121
use std::fmt::Write;
2222
use std::io::SeekFrom;
2323
use std::os::unix::fs::MetadataExt;
@@ -453,7 +453,7 @@ async fn main() -> Result<()> {
453453
reader_public_keys,
454454
} => {
455455
// Generate random symmetric "key" for encryption
456-
let key: [u8; 32] = thread_rng()
456+
let key: [u8; 32] = rand::rng()
457457
.sample_iter(&Alphanumeric)
458458
.take(32)
459459
.map(char::from)

crates/pithos_lib/Cargo.toml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "pithos_lib"
33
description = "Library and components for encrypting / compressing pithos (.pto) files, including specification"
4-
version = "0.6.1"
4+
version = "0.6.2"
55
authors.workspace = true
66
edition.workspace = true
77
repository.workspace = true
@@ -10,39 +10,39 @@ license.workspace = true
1010
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1111

1212
[dependencies]
13-
anyhow = "1.0.93"
14-
async-compression = {version = "0.4.17", features = ["tokio", "zstd", "gzip"]}
13+
anyhow = "1.0.98"
14+
async-compression = { version = "0.4.23", features = ["tokio", "zstd", "gzip"] }
1515
hex = "0.4.3"
1616
chacha20poly1305 = "0.10.1"
1717
byteorder = "1.5.0"
18-
bytes = "1.8.0"
19-
tokio = {version = "1.41.1", features = ["full"]}
20-
tokio-util = "0.7.12"
21-
async-trait = "0.1.83"
22-
hyper = {version = "1.5.0", features = ["full"]}
18+
bytes = "1.10.1"
19+
tokio = { version = "1.45.0", features = ["full"] }
20+
tokio-util = "0.7.15"
21+
async-trait = "0.1.88"
22+
hyper = { version = "1.6.0", features = ["full"] }
2323
futures = "0.3.31"
2424
async-channel = "2.3.1"
2525
async-stream = "0.3.6"
26-
tar = "0.4.43"
26+
tar = "0.4.44"
2727
digest = "0.10.7"
2828
async_zip = { version = "0.0.17", features = ["chrono", "tokio", "deflate"] }
29-
pin-project = "1.1.7"
30-
tracing = "0.1.40"
29+
pin-project = "1.1.10"
30+
tracing = "0.1.41"
3131
md-5 = "0.10.6"
3232
sha1 = "0.10.6"
33-
sha2 = "0.10.8"
33+
sha2 = "0.10.9"
3434
blake2 = "0.10.6"
35-
rand_core = "0.6.4"
36-
thiserror = "2.0.3"
35+
rand_core = "0.9.3"
36+
thiserror = "2.0.12"
3737
crypto_kx = "0.2.1"
3838
base64 = "0.22.1"
3939
scrypt = { version = "0.11.0" }
40-
borsh = {version = "1.5.3", features = ["std", "derive"]}
41-
itertools = "0.13.0"
42-
serde = {version = "1.0.215", features = ["derive"]}
40+
borsh = { version = "1.5.7", features = ["std", "derive"] }
41+
itertools = "0.14.0"
42+
serde = { version = "1.0.219", features = ["derive"] }
4343

4444
[dev-dependencies]
45-
criterion = { version = "0.5.1", features = ["html_reports", "async_tokio"] }
45+
criterion = { version = "0.6.0", features = ["html_reports", "async_tokio"] }
4646
pithos = { path = "../pithos" }
4747

4848
[[bench]]

crates/pithos_pyo3/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
22
name = "pithos_pyo3"
33
description = "Client for the Pithos object storage file format"
4-
version = "0.6.0"
4+
version = "0.6.2"
55
authors.workspace = true
66
edition.workspace = true
77
repository.workspace = true
88
license.workspace = true
99

1010
[dependencies]
11-
pithos_lib = { path = "../pithos_lib", version="0.6.0"}
11+
pithos_lib = { path = "../pithos_lib", version = "0.6.2" }

0 commit comments

Comments
 (0)