diff --git a/Cargo.lock b/Cargo.lock index 81d86e1e3..81db8de53 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -122,6 +122,21 @@ dependencies = [ "memchr", ] +[[package]] +name = "alloc-no-stdlib" +version = "2.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3" + +[[package]] +name = "alloc-stdlib" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e76a019e91224d279006ff972f1e984179a6e9feb050adba6ce8274aef23195" +dependencies = [ + "alloc-no-stdlib", +] + [[package]] name = "alloca" version = "0.4.0" @@ -448,7 +463,7 @@ dependencies = [ "jaq-std", "markkit", "markkit-cli", - "md-5 0.11.0", + "md-5", "monty", "monty-types", "num-bigint 0.4.8", @@ -745,15 +760,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "block-padding" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8894febbff9f758034a5b8e12d87918f56dfc64a8e1fe757d65e29041538d93" -dependencies = [ - "generic-array 0.14.7", -] - [[package]] name = "block-padding" version = "0.4.2" @@ -806,6 +812,16 @@ dependencies = [ "rustc_version", ] +[[package]] +name = "brotli-decompressor" +version = "5.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a32acac15fe1967bc3986b2a6347dffc965602354ea6f450ad07e8bfd253583" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", +] + [[package]] name = "bstr" version = "1.13.1" @@ -875,9 +891,9 @@ dependencies = [ [[package]] name = "calamine" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9ca341b94bc4b29e08970b1a03914fad2dfe177e2ecb67fcd6de9046004aafb" +checksum = "f431b67cba6122a1f7d26b7adafc71bbdf07026095fe811f5efc025d8748e1d8" dependencies = [ "atoi_simd", "byteorder", @@ -885,7 +901,7 @@ dependencies = [ "encoding_rs", "fast-float2", "log", - "quick-xml 0.42.0", + "quick-xml", "serde", "zip", ] @@ -905,15 +921,6 @@ dependencies = [ "rustversion", ] -[[package]] -name = "cbc" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6" -dependencies = [ - "cipher 0.4.4", -] - [[package]] name = "cbc" version = "0.2.1" @@ -937,9 +944,9 @@ dependencies = [ [[package]] name = "cfb" -version = "0.15.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f13298d9178622b7916ec5d01d470425c04273c8ed07e87b1c38b34c4f4612b" +checksum = "fef29b910ef2b9dbecc60168d1568d643c633b0518af970c17e83bd5f6e2c94f" dependencies = [ "fnv", "uuid", @@ -1732,12 +1739,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "deranged" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e9de72ce2ad1f90dc62fa25f0f430ef85eb4b0d8fa0be4f30373bc40a21d28e" - [[package]] name = "derive-where" version = "1.6.1" @@ -1853,11 +1854,11 @@ checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" [[package]] name = "ecb" -version = "0.1.2" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a8bfa975b1aec2145850fcaa1c6fe269a16578c44705a532ae3edc92b8881c7" +checksum = "26f2a8b3e564eba0877223dc343703ad0385794e882e6d13f3a4dd5c6b1f41ac" dependencies = [ - "cipher 0.4.4", + "cipher 0.5.2", ] [[package]] @@ -2094,9 +2095,9 @@ checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" [[package]] name = "fetchkit" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eef9fadf79a855de81a091f76b8449f8f6d312e7b6622e14a961bad84b350f22" +checksum = "8256b05aa0fc9f4b989f17665578917c580103f36a2af81b20e4b9c2f195d281" dependencies = [ "async-trait", "bytes", @@ -2105,7 +2106,7 @@ dependencies = [ "markkit", "pdf-inspector", "percent-encoding", - "quick-xml 0.41.0", + "quick-xml", "reqwest", "schemars", "serde", @@ -2120,9 +2121,9 @@ dependencies = [ [[package]] name = "fetchkit-cli" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "903241be14111602101e5615c9cc91c04af4369e7b4c770d1d4dfd9ef087e9d1" +checksum = "5c4073e4fa53582027dd32b32f045e33508960fa3bb6b24d97de817ec560815b" dependencies = [ "async-trait", "clap", @@ -2970,7 +2971,6 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" dependencies = [ - "block-padding 0.3.3", "generic-array 0.14.7", ] @@ -2980,7 +2980,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4250ce6452e92010fdf7268ccc5d14faa80bb12fc741938534c58f16804e03c7" dependencies = [ - "block-padding 0.4.2", + "block-padding", "hybrid-array", ] @@ -3399,13 +3399,14 @@ dependencies = [ [[package]] name = "lopdf" -version = "0.42.0" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25aab26d99567469098e64a02f42679f8965c6401263eefa31d8f2dcc37a221c" +checksum = "bfffda0fe1ab0157e1a13c14bebd3f28671f2fccb7922f0722ec53926e6922d3" dependencies = [ - "aes 0.8.4", + "aes 0.9.3", "bitflags 2.13.2", - "cbc 0.1.2", + "brotli-decompressor", + "cbc", "chrono", "ecb", "encoding_rs", @@ -3413,18 +3414,15 @@ dependencies = [ "getrandom 0.4.3", "indexmap", "itoa", - "jiff", "log", - "md-5 0.10.6", + "md-5", "nom", "rand 0.10.3", "rangemap", "rayon", - "sha2 0.10.9", + "sha2 0.11.1", "stringprep", "thiserror", - "time", - "ttf-parser", "weezl", ] @@ -3478,9 +3476,9 @@ dependencies = [ [[package]] name = "markkit" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "688329d19a51cc92a77ae70536ce55e9f5d45d86e542616066134cce8fd03b54" +checksum = "652d7765546c65399d40d0649c6a9b7c4b74b377da8827b1303a3024a65ba9ff" dependencies = [ "base64 0.23.1", "calamine", @@ -3492,7 +3490,7 @@ dependencies = [ "mail-parser", "miniz_oxide", "pulldown-cmark", - "quick-xml 0.42.0", + "quick-xml", "scraper", "serde", "serde_json", @@ -3505,9 +3503,9 @@ dependencies = [ [[package]] name = "markkit-cli" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e88e13ea9f8bb4bb436563d0ec33342f438306810b5053df1336c3493d3479" +checksum = "33e229b4496d19cfa5bfed8cf1477876ae46652060933bdf9a82c18a832e33fa" dependencies = [ "anyhow", "clap", @@ -3536,16 +3534,6 @@ dependencies = [ "regex-automata", ] -[[package]] -name = "md-5" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" -dependencies = [ - "cfg-if", - "digest 0.10.7", -] - [[package]] name = "md-5" version = "0.11.0" @@ -3886,12 +3874,6 @@ dependencies = [ "rand_core 0.10.1", ] -[[package]] -name = "num-conv" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" - [[package]] name = "num-integer" version = "0.1.47" @@ -4323,9 +4305,9 @@ dependencies = [ [[package]] name = "pdf-inspector" -version = "0.1.8" +version = "1.25.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd2f755e49ad38eafbc82ba2bec1c59d57b5bf829b13a8f35e4263bc8913df3a" +checksum = "ef5970f05a55de82c8d6d6fd5f8ff162b50fc7828cc1fd0abd965abad6fcbc5b" dependencies = [ "env_logger", "include_dir", @@ -4336,6 +4318,7 @@ dependencies = [ "regex", "thiserror", "ttf-parser", + "unicode-bidi", "unicode-normalization", ] @@ -4540,7 +4523,7 @@ checksum = "63d440a804ec8d6fafbb6b84471e013286658d373248927692ab3366686220ca" dependencies = [ "aes 0.9.3", "aes-gcm 0.11.1", - "cbc 0.2.1", + "cbc", "der", "pbkdf2", "rand_core 0.10.1", @@ -4683,12 +4666,6 @@ dependencies = [ "zerovec", ] -[[package]] -name = "powerfmt" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958" - [[package]] name = "ppv-lite86" version = "0.2.21" @@ -4913,15 +4890,6 @@ version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" -[[package]] -name = "quick-xml" -version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1" -dependencies = [ - "memchr", -] - [[package]] name = "quick-xml" version = "0.42.0" @@ -5384,10 +5352,10 @@ dependencies = [ "aes 0.9.3", "aws-lc-rs", "bitflags 2.13.2", - "block-padding 0.4.2", + "block-padding", "byteorder", "bytes", - "cbc 0.2.1", + "cbc", "cipher 0.5.2", "crypto-bigint", "ctr 0.10.1", @@ -6421,7 +6389,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.4.3", + "getrandom 0.3.4", "once_cell", "rustix", "windows-sys 0.61.2", @@ -6510,36 +6478,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "time" -version = "0.3.55" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134" -dependencies = [ - "deranged", - "num-conv", - "powerfmt", - "serde_core", - "time-core", - "time-macros", -] - -[[package]] -name = "time-core" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" - -[[package]] -name = "time-macros" -version = "0.2.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85" -dependencies = [ - "num-conv", - "time-core", -] - [[package]] name = "tinystr" version = "0.8.4" @@ -6932,7 +6870,7 @@ version = "2.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5283634e518fe9e82c7b20520bb4bc209009fd16c82077c802f8111ecbb0117a" dependencies = [ - "rand 0.10.3", + "rand 0.9.5", ] [[package]] @@ -7584,9 +7522,9 @@ dependencies = [ [[package]] name = "weezl" -version = "0.1.12" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28ac98ddc8b9274cb41bb4d9d4d5c425b6020c50c46f25559911905610b4a88" +checksum = "d4ca08e5ef825b65b056d9efbd95c8750683f0a6d0466d02e96dc2e4e360f3d2" [[package]] name = "winapi" diff --git a/crates/bashkit/Cargo.toml b/crates/bashkit/Cargo.toml index 02e5f6077..89f164e22 100644 --- a/crates/bashkit/Cargo.toml +++ b/crates/bashkit/Cargo.toml @@ -447,12 +447,12 @@ required-features = ["markkit", "fetchkit"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies] tokio = { version = "1", features = ["rt-multi-thread", "fs"] } # markkit builtin (native only: markkit-cli needs tokio's multi-thread rt). -markkit-cli = { version = "0.3", default-features = false, features = ["all_formats"], optional = true } -markkit = { version = "0.3", default-features = false, features = ["all_formats"], optional = true } +markkit-cli = { version = "0.3.1", default-features = false, features = ["all_formats"], optional = true } +markkit = { version = "0.3.1", default-features = false, features = ["all_formats"], optional = true } # fetchkit builtin (native only). No `reqwest-tls`: all traffic goes through # bashkit's HttpClient, so fetchkit adds no TLS stack. -fetchkit-cli = { version = "0.7", default-features = false, features = ["docs-pdf", "docs-markkit"], optional = true } -fetchkit = { version = "0.7", default-features = false, features = ["docs-pdf", "docs-markkit"], optional = true } +fetchkit-cli = { version = "0.7.1", default-features = false, features = ["docs-pdf", "docs-markkit"], optional = true } +fetchkit = { version = "0.7.1", default-features = false, features = ["docs-pdf", "docs-markkit"], optional = true } # std::time::{Instant,SystemTime} panic on wasm32-unknown-unknown; see # time_compat/mod.rs. Only pulled in for wasm32 — everywhere else time_compat diff --git a/supply-chain/config.toml b/supply-chain/config.toml index dc0e01c11..8eb00ccaf 100644 --- a/supply-chain/config.toml +++ b/supply-chain/config.toml @@ -82,6 +82,16 @@ criteria = "safe-to-deploy" version = "1.1.5" criteria = "safe-to-deploy" +[[exemptions.alloc-no-stdlib]] +version = "2.0.4" +criteria = "safe-to-deploy" +notes = "Allocator helper for brotli-decompressor; reached only through the off-by-default fetchkit feature." + +[[exemptions.alloc-stdlib]] +version = "0.2.4" +criteria = "safe-to-deploy" +notes = "Allocator helper for brotli-decompressor; reached only through the off-by-default fetchkit feature." + [[exemptions.alloca]] version = "0.4.0" criteria = "safe-to-run" @@ -226,10 +236,6 @@ criteria = "safe-to-deploy" version = "0.12.1" criteria = "safe-to-deploy" -[[exemptions.block-padding]] -version = "0.3.3" -criteria = "safe-to-deploy" - [[exemptions.block-padding]] version = "0.4.2" criteria = "safe-to-deploy" @@ -250,6 +256,11 @@ criteria = "safe-to-run" version = "0.4.5" criteria = "safe-to-deploy" +[[exemptions.brotli-decompressor]] +version = "5.0.3" +criteria = "safe-to-deploy" +notes = "New transitive dep of lopdf 0.45 via fetchkit 0.7.1 (fetchkit feature only, off by default). Widely used decompressor from the brotli crate family." + [[exemptions.bstr]] version = "1.13.1" criteria = "safe-to-deploy" @@ -280,7 +291,7 @@ criteria = "safe-to-deploy" notes = "Reviewed the slice-to-FFI stream wrapper, buffer accounting, drop paths, and pure-Rust backend selection; no ambient capabilities." [[exemptions.calamine]] -version = "0.37.0" +version = "0.38.0" criteria = "safe-to-deploy" [[exemptions.cast]] @@ -291,10 +302,6 @@ criteria = "safe-to-run" version = "0.2.4" criteria = "safe-to-deploy" -[[exemptions.cbc]] -version = "0.1.2" -criteria = "safe-to-deploy" - [[exemptions.cbc]] version = "0.2.1" criteria = "safe-to-deploy" @@ -304,7 +311,7 @@ version = "1.4.3" criteria = "safe-to-deploy" [[exemptions.cfb]] -version = "0.15.0" +version = "0.16.0" criteria = "safe-to-deploy" [[exemptions.cfg-if]] @@ -564,10 +571,6 @@ criteria = "safe-to-deploy" version = "0.8.1" criteria = "safe-to-deploy" -[[exemptions.deranged]] -version = "0.5.9" -criteria = "safe-to-deploy" - [[exemptions.derive-where]] version = "1.6.1" criteria = "safe-to-deploy" @@ -621,7 +624,7 @@ version = "1.0.20" criteria = "safe-to-deploy" [[exemptions.ecb]] -version = "0.1.2" +version = "0.2.1" criteria = "safe-to-deploy" [[exemptions.ecdsa]] @@ -709,11 +712,11 @@ version = "2.5.0" criteria = "safe-to-deploy" [[exemptions.fetchkit]] -version = "0.7.0" +version = "0.7.1" criteria = "safe-to-deploy" [[exemptions.fetchkit-cli]] -version = "0.7.0" +version = "0.7.1" criteria = "safe-to-deploy" [[exemptions.ff]] @@ -1178,7 +1181,7 @@ version = "0.7.2" criteria = "safe-to-deploy" [[exemptions.lopdf]] -version = "0.42.0" +version = "0.45.0" criteria = "safe-to-deploy" [[exemptions.lzma-rs]] @@ -1202,21 +1205,17 @@ version = "0.11.4" criteria = "safe-to-deploy" [[exemptions.markkit]] -version = "0.3.0" +version = "0.3.1" criteria = "safe-to-deploy" [[exemptions.markkit-cli]] -version = "0.3.0" +version = "0.3.1" criteria = "safe-to-deploy" [[exemptions.markup5ever]] version = "0.40.0" criteria = "safe-to-deploy" -[[exemptions.md-5]] -version = "0.10.6" -criteria = "safe-to-deploy" - [[exemptions.md-5]] version = "0.11.0" criteria = "safe-to-deploy" @@ -1333,10 +1332,6 @@ criteria = "safe-to-deploy" version = "0.4.8" criteria = "safe-to-deploy" -[[exemptions.num-conv]] -version = "0.2.2" -criteria = "safe-to-deploy" - [[exemptions.num-integer]] version = "0.1.47" criteria = "safe-to-deploy" @@ -1482,8 +1477,9 @@ version = "0.13.0" criteria = "safe-to-deploy" [[exemptions.pdf-inspector]] -version = "0.1.8" +version = "1.25.2" criteria = "safe-to-deploy" +notes = "Major jump from 0.1.8, pulled in by fetchkit 0.7.1 (the version fetchkit ships and tests with). Parses untrusted PDFs only behind the off-by-default `fetchkit` feature; bashkit's fetchkit builtin tests and markkit_fetchkit example pass on it." [[exemptions.pem-rfc7468]] version = "1.0.0" @@ -1611,10 +1607,6 @@ criteria = "safe-to-deploy" version = "0.1.6" criteria = "safe-to-deploy" -[[exemptions.powerfmt]] -version = "0.2.1" -criteria = "safe-to-deploy" - [[exemptions.ppv-lite86]] version = "0.2.21" criteria = "safe-to-deploy" @@ -1687,10 +1679,6 @@ criteria = "safe-to-deploy" version = "1.2.3" criteria = "safe-to-run" -[[exemptions.quick-xml]] -version = "0.41.0" -criteria = "safe-to-deploy" - [[exemptions.quick-xml]] version = "0.42.0" criteria = "safe-to-deploy" @@ -2232,18 +2220,6 @@ criteria = "safe-to-deploy" version = "1.1.10" criteria = "safe-to-deploy" -[[exemptions.time]] -version = "0.3.55" -criteria = "safe-to-deploy" - -[[exemptions.time-core]] -version = "0.1.9" -criteria = "safe-to-deploy" - -[[exemptions.time-macros]] -version = "0.2.32" -criteria = "safe-to-deploy" - [[exemptions.tinystr]] version = "0.8.4" criteria = "safe-to-deploy" @@ -2500,7 +2476,7 @@ version = "1.0.9" criteria = "safe-to-deploy" [[exemptions.weezl]] -version = "0.1.12" +version = "0.2.1" criteria = "safe-to-deploy" [[exemptions.winapi]]