diff --git a/Cargo.lock b/Cargo.lock index 7492a7ccb5..9a33996501 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -116,24 +116,13 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" -[[package]] -name = "aes" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" -dependencies = [ - "cfg-if", - "cipher 0.4.4", - "cpufeatures 0.2.17", -] - [[package]] name = "aes" version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc0fc36d7440d015b45468ba08a21e80e056ebbd014c611c6298bb7503e04bd1" dependencies = [ - "cipher 0.5.2", + "cipher", "cpubits", "cpufeatures 0.3.1", ] @@ -873,7 +862,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce2dc9ee5f88d11e0beb842c88b33c8a5cf0d1329c4b19494af42b07dbfe8896" dependencies = [ - "cipher 0.5.2", + "cipher", ] [[package]] @@ -964,16 +953,6 @@ dependencies = [ "windows-link", ] -[[package]] -name = "cipher" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" -dependencies = [ - "crypto-common 0.1.7", - "inout 0.1.4", -] - [[package]] name = "cipher" version = "0.5.2" @@ -981,7 +960,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8cf2a2c93cd704877c0858356ed03480ff301ee950b43f1cbe4573b088bfa6c" dependencies = [ "crypto-common 0.2.2", - "inout 0.2.6", + "inout", ] [[package]] @@ -1390,7 +1369,7 @@ name = "craft-cms" version = "0.1.0" source = "git+https://github.com/storytold/craft-libs?rev=51fcc3b0413af193db952df28dffae2321745703#51fcc3b0413af193db952df28dffae2321745703" dependencies = [ - "md-5", + "md-5 0.10.6", "rayon", ] @@ -4374,15 +4353,6 @@ dependencies = [ "hashbrown 0.17.1", ] -[[package]] -name = "inout" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" -dependencies = [ - "generic-array", -] - [[package]] name = "inout" version = "0.2.6" @@ -5031,6 +5001,16 @@ dependencies = [ "digest 0.10.7", ] +[[package]] +name = "md-5" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69b6441f590336821bb897fb28fc622898ccceb1d6cea3fde5ea86b090c4de98" +dependencies = [ + "cfg-if", + "digest 0.11.3", +] + [[package]] name = "memchr" version = "2.8.3" @@ -7073,7 +7053,7 @@ version = "5.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5107b24b91445dd2aa449a258a1807b63240942157292354dc5bfdbeb8bc6db8" dependencies = [ - "aes 0.9.4", + "aes", "cbc", "futures-util", "getrandom 0.4.3", @@ -8641,7 +8621,7 @@ dependencies = [ "proptest", "serde", "serde_json", - "sha2 0.10.9", + "sha2 0.11.1", "thiserror 2.0.21", ] @@ -8659,7 +8639,7 @@ dependencies = [ "proptest", "serde", "serde_json", - "sha2 0.10.9", + "sha2 0.11.1", "thiserror 2.0.21", "tiff", "vectorcraft-color", @@ -8710,7 +8690,7 @@ dependencies = [ "getrandom 0.4.3", "hayro-ccitt", "heic-rs", - "hmac 0.12.1", + "hmac 0.13.0", "image", "jxl-color", "jxl-grid", @@ -8725,7 +8705,7 @@ dependencies = [ "same-file", "serde", "serde_json", - "sha2 0.10.9", + "sha2 0.11.1", "skrifa 0.47.0", "thiserror 2.0.21", "tiff", @@ -8904,7 +8884,7 @@ dependencies = [ name = "vectorcraft-pdf" version = "0.24.1" dependencies = [ - "aes 0.8.4", + "aes", "chrono", "craft", "craft-image-codecs", @@ -8917,12 +8897,12 @@ dependencies = [ "krilla", "kurbo 0.13.1", "log", - "md-5", + "md-5 0.11.0", "objc2-core-foundation", "objc2-core-graphics", "serde", "serde_json", - "sha2 0.10.9", + "sha2 0.11.1", "siphasher", "skrifa 0.47.0", "smallvec", @@ -8957,7 +8937,7 @@ dependencies = [ "rustix 1.1.6", "serde", "serde_json", - "sha2 0.10.9", + "sha2 0.11.1", "thiserror 2.0.21", "vectorcraft-color", "vectorcraft-doc", diff --git a/crates/color/Cargo.toml b/crates/color/Cargo.toml index f97d3db59d..777ca23301 100644 --- a/crates/color/Cargo.toml +++ b/crates/color/Cargo.toml @@ -22,4 +22,4 @@ moxcms = "0.8" [dev-dependencies] proptest = { workspace = true } serde_json = { workspace = true } -sha2 = { version = "0.10", default-features = false } +sha2 = { version = "0.11", default-features = false } diff --git a/crates/doc/Cargo.toml b/crates/doc/Cargo.toml index 10adb09199..cf84fbc933 100644 --- a/crates/doc/Cargo.toml +++ b/crates/doc/Cargo.toml @@ -29,7 +29,7 @@ craft-stream-codecs = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } # The hash of a generated art object's art, which its file holds (`generated`). -sha2 = { version = "0.10", default-features = false } +sha2 = { version = "0.11", default-features = false } thiserror = { workspace = true } chrono = { workspace = true } diff --git a/crates/engine/Cargo.toml b/crates/engine/Cargo.toml index 63d4630e1e..759c2fda58 100644 --- a/crates/engine/Cargo.toml +++ b/crates/engine/Cargo.toml @@ -92,8 +92,8 @@ rayon = { version = "1.12", optional = true } # The MAC that `grants.json` carries (grant_keys.rs) and the random key it is made with, which the # user's key store keeps: Keychain on macOS, Credential Manager on Windows, the Secret Service on # Linux. All MIT OR Apache-2.0. -hmac = "0.12.1" -sha2 = { version = "0.10", default-features = false } +hmac = "0.13.0" +sha2 = { version = "0.11", default-features = false } getrandom = "0.4" keyring-core = "1.1" diff --git a/crates/pdf/Cargo.toml b/crates/pdf/Cargo.toml index d4447f3e0c..313f2a326e 100644 --- a/crates/pdf/Cargo.toml +++ b/crates/pdf/Cargo.toml @@ -38,9 +38,9 @@ serde = { workspace = true } # The XMP packet that File Info is read from (file_info.rs). craft-xml = { workspace = true } # PDF security (encrypt.rs): pure Rust, MIT OR Apache-2.0, builds for wasm. -aes = "0.8" -md-5 = { version = "0.10", default-features = false } -sha2 = { version = "0.10", default-features = false } +aes = "0.9" +md-5 = { version = "0.11", default-features = false } +sha2 = { version = "0.11", default-features = false } # The seed of the file key, salts and IVs (encrypt.rs). getrandom = "0.4" diff --git a/crates/plugins/Cargo.toml b/crates/plugins/Cargo.toml index 621f5e79bc..cbd81ac038 100644 --- a/crates/plugins/Cargo.toml +++ b/crates/plugins/Cargo.toml @@ -19,7 +19,7 @@ serde_json = { workspace = true } craft-image-codecs = { workspace = true } craft-vectorcraft-format = { workspace = true } # The SHA-256 of a module, which the install prompt shows and a grant records. -sha2 = { version = "0.10", default-features = false } +sha2 = { version = "0.11", default-features = false } thiserror = { workspace = true } # The interpreter of JavaScript plug-ins (`js.rs`). vectorcraft-js = { workspace = true }