11class LolHtml < Formula
22 desc "Low output latency streaming HTML parser/rewriter with CSS selector-based API"
33 homepage "https://github.com/cloudflare/lol-html"
4- url "https://github.com/cloudflare/lol-html/archive/refs/tags/v2.3 .0.tar.gz"
5- sha256 "b36ad8ccafce9da350f4d9c32bb31bf46dddae0798d4ad6213cabd7e166e159e "
4+ url "https://github.com/cloudflare/lol-html/archive/refs/tags/v2.4 .0.tar.gz"
5+ sha256 "0fe9df689654735f1f4e1e6dd31aecbdb0e52f52784d082c9471a357144202e8 "
66 license "BSD-3-Clause"
77 head "https://github.com/cloudflare/lol-html.git" , branch : "master"
88
@@ -20,9 +20,6 @@ class LolHtml < Formula
2020 depends_on "rust" => :build
2121 depends_on "pkgconf" => :test
2222
23- # update cargo.lock, upstream pr ref, https://github.com/cloudflare/lol-html/pull/266
24- patch :DATA
25-
2623 def install
2724 system "cargo" , "cinstall" , "--jobs" , ENV . make_jobs . to_s , "--release" , "--locked" ,
2825 "--manifest-path" , "c-api/Cargo.toml" ,
@@ -49,27 +46,3 @@ def install
4946 system "./test"
5047 end
5148end
52-
53- __END__
54- diff --git a/c-api/Cargo.lock b/c-api/Cargo.lock
55- index 954418c..14d2c9c 100644
56- --- a/c-api/Cargo.lock
57- +++ b/c-api/Cargo.lock
58- @@ -176,7 +176,7 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
59-
60- [[package]]
61- name = "lol_html"
62- -version = "2.2.0"
63- +version = "2.3.0"
64- dependencies = [
65- "bitflags 2.6.0",
66- "cfg-if",
67- @@ -191,7 +191,7 @@ dependencies = [
68-
69- [[package]]
70- name = "lol_html_c_api"
71- -version = "1.1.2"
72- +version = "1.3.0"
73- dependencies = [
74- "encoding_rs",
75- "libc",
0 commit comments