diff --git a/Cargo.lock b/Cargo.lock index 33df75ea..93d02893 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -130,6 +130,15 @@ dependencies = [ "generic-array", ] +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + [[package]] name = "bson" version = "2.15.0" @@ -254,6 +263,12 @@ dependencies = [ "memchr", ] +[[package]] +name = "const-oid" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" + [[package]] name = "const-random" version = "0.1.18" @@ -372,6 +387,15 @@ dependencies = [ "typenum", ] +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", +] + [[package]] name = "darling" version = "0.21.3" @@ -473,11 +497,22 @@ version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ - "block-buffer", - "crypto-common", + "block-buffer 0.10.4", + "crypto-common 0.1.7", "subtle", ] +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer 0.12.1", + "const-oid", + "crypto-common 0.2.2", +] + [[package]] name = "displaydoc" version = "0.2.6" @@ -841,7 +876,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest", + "digest 0.10.7", ] [[package]] @@ -883,6 +918,15 @@ version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" +[[package]] +name = "hybrid-array" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "707114b52a152fa7bdb290cd7cd5912d9467273b6d74e21b8d81aca1f8533f6b" +dependencies = [ + "typenum", +] + [[package]] name = "hyper" version = "1.10.1" @@ -1339,7 +1383,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" dependencies = [ "cfg-if", - "digest", + "digest 0.10.7", ] [[package]] @@ -1436,7 +1480,7 @@ dependencies = [ "serde_bytes", "serde_with", "sha1", - "sha2", + "sha2 0.10.9", "socket2", "stringprep", "strsim", @@ -1551,7 +1595,7 @@ version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" dependencies = [ - "digest", + "digest 0.10.7", ] [[package]] @@ -2188,7 +2232,7 @@ checksum = "a978451301f4db1d02937a4ab3ccce137717b81826e79b7d49ffe3244a13c3b8" dependencies = [ "cfg-if", "cpufeatures 0.2.17", - "digest", + "digest 0.10.7", ] [[package]] @@ -2199,7 +2243,18 @@ checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", "cpufeatures 0.2.17", - "digest", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.0", + "digest 0.11.3", ] [[package]] @@ -2454,7 +2509,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "sha2", + "sha2 0.11.0", "tempfile", "thiserror", "tokio", diff --git a/Cargo.toml b/Cargo.toml index 87186e91..0b816c5e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,6 +33,6 @@ thiserror = "2" tracing = { version = "0.1", default-features = false, features = ["std"] } tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync", "time"] } rusqlite = { version = "0.40", features = ["bundled"] } -sha2 = "0.10" +sha2 = "0.11" chrono = { version = "0.4", default-features = false, features = ["clock", "serde", "std"] } uuid = { version = "1", features = ["v4", "serde"] } diff --git a/crates/tinyflows/Cargo.toml b/crates/tinyflows/Cargo.toml index 7821971b..efa2795f 100644 --- a/crates/tinyflows/Cargo.toml +++ b/crates/tinyflows/Cargo.toml @@ -34,7 +34,7 @@ tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync", "time" reqwest = { version = "0.13", default-features = false, features = ["json"], optional = true } # `caps::host` only: hashing an author-supplied state key (and namespace) into # one safe path component, and staging a script in a temporary directory. -sha2 = { version = "0.10", optional = true } +sha2 = { version = "0.11", optional = true } tempfile = { version = "3", optional = true } # `store` only: the advisory file lock that keeps two processes from deciding # the same proposal at once. @@ -81,7 +81,7 @@ proptest = "1" # `host-caps` feature is on (the same rule `caps::mock` follows), so what that # feature would switch on has to be present for a test build too. An optional # dependency is not activated by `cfg(test)`, hence these. -sha2 = "0.10" +sha2 = "0.11" tempfile = "3" fs2 = "0.4" reqwest = { version = "0.13", default-features = false, features = ["json", "rustls"] }