Skip to main content

max / goingson

Take pter 0.2.0 No source changes: pter's public API is unchanged across the bump, and 0.2.0 is a minor because it moves the scraper floor to 0.27, which parses the untrusted HTML this feeds it.
Author: Max Johnson <me@maxj.phd> · 2026-08-01 14:14 UTC
Signed with PGP, not checked
Commit: d4ce7fb78b353b396a216b96980287773fcf44db
Parent: 5a44785
2 files changed, +40 insertions, -9 deletions
M Cargo.lock +39 -8
@@ -1084,7 +1084,7 @@
1084 1084 source = "registry+https://github.com/rust-lang/crates.io-index"
1085 1085 checksum = "dae61cf9c0abb83bd659dab65b7e4e38d8236824c85f0f804f173567bda257d2"
1086 1086 dependencies = [
1087 - "cssparser-macros",
1087 + "cssparser-macros 0.6.1",
1088 1088 "dtoa-short",
1089 1089 "itoa",
1090 1090 "phf 0.13.1",
@@ -1097,8 +1097,10 @@
1097 1097 source = "registry+https://github.com/rust-lang/crates.io-index"
1098 1098 checksum = "8c9cdaae01d5ed7882b04d795e7f752f46ff52d2fa3b50a20d28c464510bba98"
1099 1099 dependencies = [
1100 + "cssparser-macros 0.7.0",
1100 1101 "dtoa-short",
1101 1102 "itoa",
1103 + "phf 0.13.1",
1102 1104 "smallvec",
1103 1105 ]
1104 1106
@@ -1112,6 +1114,16 @@
1112 1114 "syn 2.0.119",
1113 1115 ]
1114 1116
1117 + [[package]]
1118 + name = "cssparser-macros"
1119 + version = "0.7.0"
1120 + source = "registry+https://github.com/rust-lang/crates.io-index"
1121 + checksum = "10a2a99df6e410a8ff4245aa2006499ea662245f967cc7c0a38c83ef8eb44dbf"
1122 + dependencies = [
1123 + "quote",
1124 + "syn 2.0.119",
1125 + ]
1126 +
1115 1127 [[package]]
1116 1128 name = "csv"
1117 1129 version = "1.4.0"
@@ -1402,7 +1414,7 @@
1402 1414 "foldhash",
1403 1415 "html5ever 0.38.0",
1404 1416 "precomputed-hash",
1405 - "selectors",
1417 + "selectors 0.36.1",
1406 1418 "tendril",
1407 1419 ]
1408 1420
@@ -4566,9 +4578,9 @@
4566 4578
4567 4579 [[package]]
4568 4580 name = "pter"
4569 - version = "0.1.1"
4581 + version = "0.2.0"
4570 4582 source = "registry+https://github.com/rust-lang/crates.io-index"
4571 - checksum = "de3ba745ab9c44764e3d5e39b7c212a65ed1cc80e8403a18ba36fff35d041c17"
4583 + checksum = "0c6e56e426516d2aa4892b4c6e13e86c56f662be186ce601bc6e1e690daa9647"
4572 4584 dependencies = [
4573 4585 "scraper",
4574 4586 ]
@@ -5193,16 +5205,16 @@
5193 5205
5194 5206 [[package]]
5195 5207 name = "scraper"
5196 - version = "0.26.0"
5208 + version = "0.27.0"
5197 5209 source = "registry+https://github.com/rust-lang/crates.io-index"
5198 - checksum = "f0f5297102b8b62b4454ee8561601b2d551b4913148feb4241ca9d1a04bf4526"
5210 + checksum = "bdd0be4d296f048bfb06dd01bbc80ef789ddd2e55583e8d2e6b804942abfabc2"
5199 5211 dependencies = [
5200 - "cssparser 0.36.0",
5212 + "cssparser 0.37.0",
5201 5213 "ego-tree",
5202 5214 "getopts",
5203 5215 "html5ever 0.39.0",
5204 5216 "precomputed-hash",
5205 - "selectors",
5217 + "selectors 0.38.0",
5206 5218 "tendril",
5207 5219 ]
5208 5220
@@ -5267,6 +5279,25 @@
5267 5279 "smallvec",
5268 5280 ]
5269 5281
5282 + [[package]]
5283 + name = "selectors"
5284 + version = "0.38.0"
5285 + source = "registry+https://github.com/rust-lang/crates.io-index"
5286 + checksum = "8adfa1c298912827b8a28b223b3b874357397ae706e6190acd9bf28cee99114d"
5287 + dependencies = [
5288 + "bitflags 2.13.1",
5289 + "cssparser 0.37.0",
5290 + "derive_more",
5291 + "log",
5292 + "new_debug_unreachable",
5293 + "phf 0.13.1",
5294 + "phf_codegen 0.13.1",
5295 + "precomputed-hash",
5296 + "rustc-hash",
5297 + "servo_arc",
5298 + "smallvec",
5299 + ]
5300 +
5270 5301 [[package]]
5271 5302 name = "self_cell"
5272 5303 version = "1.3.0"
@@ -107,7 +107,7 @@
107 107 keyring = { workspace = true }
108 108
109 109 # HTML email to readable markdown
110 - pter = "0.1"
110 + pter = "0.2"
111 111
112 112 # === Desktop-only dependencies (not available on iOS/Android) ===
113 113