Skip to content

Commit 2efd567

Browse files
committed
chore: update dependencies
1 parent 3bfad10 commit 2efd567

11 files changed

Lines changed: 69 additions & 110 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ strip = true
1919
opt-level = 's'
2020

2121
[workspace.package]
22-
version = "1.1.4"
22+
version = "1.1.5"
2323
edition = "2021"
2424
repository = "https://github.com/ldclabs/ic-oss"
2525
keywords = ["object_store", "storage", "oss", "s3", "icp"]
@@ -44,7 +44,7 @@ tokio-stream = "0.1"
4444
tokio-util = { version = "0.7", features = ["codec"] }
4545
k256 = { version = "0.13", features = ["ecdsa"] }
4646
ed25519-dalek = "2"
47-
const-hex = "1"
47+
hex = "0.4"
4848
sha2 = "0.10"
4949
sha3 = "0.10"
5050
aes-gcm = "0.10"

src/ic_oss_bucket/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ic-oss-types = { path = "../ic_oss_types", version = "1" }
1919
candid = { workspace = true, features = ["value", "printer"] }
2020
ciborium = { workspace = true }
2121
ic-cdk = { workspace = true }
22-
const-hex = { workspace = true }
22+
hex = { workspace = true }
2323
serde = { workspace = true }
2424
serde_bytes = { workspace = true }
2525
base64 = { workspace = true }

src/ic_oss_bucket/src/store.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,11 +1474,11 @@ mod test {
14741474
fn test_bound_max_size() {
14751475
let v = FileId(u32::MAX, u32::MAX);
14761476
let v = v.to_bytes();
1477-
println!("FileId max_size: {:?}, {}", v.len(), const_hex::encode(&v));
1477+
println!("FileId max_size: {:?}, {}", v.len(), hex::encode(&v));
14781478

14791479
let v = FileId(0u32, 0u32);
14801480
let v = v.to_bytes();
1481-
println!("FileId min_size: {:?}, {}", v.len(), const_hex::encode(&v));
1481+
println!("FileId min_size: {:?}, {}", v.len(), hex::encode(&v));
14821482
}
14831483

14841484
#[test]

src/ic_oss_cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ candid = { workspace = true, features = ["value", "printer"] }
1414
serde_bytes = { workspace = true }
1515
tokio = { workspace = true }
1616
sha3 = { workspace = true }
17-
const-hex = { workspace = true }
17+
hex = { workspace = true }
1818
ic-agent = { workspace = true }
1919
ic-oss = { path = "../ic_oss", version = "1" }
2020
ic-oss-types = { path = "../ic_oss_types", version = "1" }

0 commit comments

Comments
 (0)