neiam
/gitgud
Git Gud
public · Issues · Pulls · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
1
Log in to mark this repository.
Deps: the last three advisories — hackney gone, ruzstd 0.9, faster-hex 0.10.1
841d377 · Gabriel Morell · 2026-10-23 04:15
Message
{commit_body(@commit)}
Files changed
modified
config/config.exs
+4
−0
@@ -222,6 +222,10 @@ config :git_gud, GitGud.Cache,
| 222 | 222 | # runtime.exs from env vars. |
| 223 | 223 | config :ex_aws, |
| 224 | 224 | json_codec: Jason, |
| 225 | + # Req, like everything else here, rather than ex_aws's default | |
| 226 | + # hackney — which nothing else needs, and whose 1.x line has advisories | |
| 227 | + # only 4.x fixes. | |
| 228 | + http_client: ExAws.Request.Req, | |
| 225 | 229 | access_key_id: [{:system, "GARAGE_ACCESS_KEY_ID"}, :instance_role], |
| 226 | 230 | secret_access_key: [{:system, "GARAGE_SECRET_ACCESS_KEY"}, :instance_role] |
| 227 | 231 |
modified
mix.exs
+2
−3
@@ -66,8 +66,8 @@ defmodule GitGud.MixProject do
| 66 | 66 | # log instead of being silently dropped. |
| 67 | 67 | {:gen_smtp, "~> 1.2"}, |
| 68 | 68 | {:req, "~> 0.5"}, |
| 69 | − # Error tracking. Uses the hackney client (already a dep) and | |
| 70 | − # captures crash reports via a :logger handler (see application.ex). | |
| 69 | + # Error tracking, through a Req client (GitGud.SentryClient), with | |
| 70 | + # crash reports captured via a :logger handler (see application.ex). | |
| 71 | 71 | {:sentry, "~> 10.8"}, |
| 72 | 72 | {:telemetry_metrics, "~> 1.0"}, |
| 73 | 73 | {:telemetry_poller, "~> 1.0"}, |
@@ -100,7 +100,6 @@ defmodule GitGud.MixProject do
| 100 | 100 | {:ex_aws, "~> 2.5"}, |
| 101 | 101 | {:ex_aws_s3, "~> 2.5"}, |
| 102 | 102 | {:sweet_xml, "~> 0.7"}, |
| 103 | − {:hackney, "~> 1.20"}, | |
| 104 | 103 | {:joken, "~> 2.6"}, |
| 105 | 104 | {:rustler, "~> 0.34"}, |
| 106 | 105 | # `:protobuf` ships Google.Protobuf.* well-known types itself — adding |
modified
mix.lock
+2
−7
@@ -2,10 +2,9 @@
| 2 | 2 | "asn1_compiler": {:hex, :asn1_compiler, "0.1.1", "64a4e52b59d1f225878445ace2c75cd2245b13a5a81182304fd9dc5acfc8994e", [:mix], [], "hexpm", "c250d24c22f1a3f305d88864400f9ac2df55c6886e1e3a030e2946efeb94695e"}, |
| 3 | 3 | "bandit": {:hex, :bandit, "1.13.1", "1ce25a7beb750ed3fa2e905962f1f9a679cb585f1da0ae45637d06e385ce2eae", [:mix], [{:hpax, "~> 1.1", [hex: :hpax, repo: "hexpm", optional: false]}, {:plug, "~> 1.18", [hex: :plug, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}, {:thousand_island, "~> 1.6", [hex: :thousand_island, repo: "hexpm", optional: false]}, {:websock, "~> 0.5", [hex: :websock, repo: "hexpm", optional: false]}], "hexpm", "39028f0b5a21404661410a6c19275060a9822c9dcca70b7c3e4e4fa50b11da58"}, |
| 4 | 4 | "bcrypt_elixir": {:hex, :bcrypt_elixir, "3.3.2", "d50091e3c9492d73e17fc1e1619a9b09d6a5ef99160eb4d736926fd475a16ca3", [:make, :mix], [{:comeonin, "~> 5.3", [hex: :comeonin, repo: "hexpm", optional: false]}, {:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "471be5151874ae7931911057d1467d908955f93554f7a6cd1b7d804cac8cef53"}, |
| 5 | − "castore": {:hex, :castore, "1.0.22", "a01978e6a5d42fa3a34143630588f92036e7d90e2309ecdd466722d1279a2213", [], [], "hexpm", "c2a4d42723b4affbc1c3e15d8f6df3f7d8f1f627c84de643383634cce58493d5"}, | |
| 5 | + "castore": {:hex, :castore, "1.0.22", "a01978e6a5d42fa3a34143630588f92036e7d90e2309ecdd466722d1279a2213", [:mix], [], "hexpm", "c2a4d42723b4affbc1c3e15d8f6df3f7d8f1f627c84de643383634cce58493d5"}, | |
| 6 | 6 | "cbor": {:hex, :cbor, "1.0.2", "9b0af85af291a556e10a0ffd48ba9a21a75e711828fafd3af193d56d95f0907f", [:mix], [], "hexpm", "edbc9b4a16eb93a582437b9b249c340a75af03958e338fb43d8c1be9fc65b864"}, |
| 7 | 7 | "cc_precompiler": {:hex, :cc_precompiler, "0.1.11", "8c844d0b9fb98a3edea067f94f616b3f6b29b959b6b3bf25fee94ffe34364768", [:mix], [{:elixir_make, "~> 0.7", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "3427232caf0835f94680e5bcf082408a70b48ad68a5f5c0b02a3bea9f3a075b9"}, |
| 8 | − "certifi": {:hex, :certifi, "2.15.0", "0e6e882fcdaaa0a5a9f2b3db55b1394dba07e8d6d9bcad08318fb604c6839712", [:rebar3], [], "hexpm", "b147ed22ce71d72eafdad94f055165c1c182f61a2ff49df28bcc71d1d5b94a60"}, | |
| 9 | 8 | "comeonin": {:hex, :comeonin, "5.5.1", "5113e5f3800799787de08a6e0db307133850e635d34e9fab23c70b6501669510", [:mix], [], "hexpm", "65aac8f19938145377cee73973f192c5645873dcf550a8a6b18187d17c13ccdb"}, |
| 10 | 9 | "db_connection": {:hex, :db_connection, "2.10.2", "ae391e803a5adff104da913c2fc1c0c14a37f8b10001dcef568796e1fb7bf95c", [:mix], [{:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "510b14482330f1af6490a2fa0efd8d4f1435d1529b165647df22ac0f2df0fa93"}, |
| 11 | 10 | "decimal": {:hex, :decimal, "3.2.0", "f1235f05d841a211fda78a08fdb9777f2ff51a71f18455233fae186ff76187c6", [:mix], [], "hexpm", "190bca80580ce61aa69bb0eacadd7677710205c770225c2c2c07e32a5c31b234"}, |
@@ -24,7 +23,6 @@
| 24 | 23 | "fine": {:hex, :fine, "0.1.6", "4bf7151493443c454aac9f2fa2f34f5fefd0346a83fb5586a016c4a135c63247", [:mix], [], "hexpm", "5638eb4495488e885ebec167fa57973e5c35e1a50c344eb7666c90ec1c4e3b12"}, |
| 25 | 24 | "gen_smtp": {:hex, :gen_smtp, "1.3.0", "62c3d91f0dcf6ce9db71bcb6881d7ad0d1d834c7f38c13fa8e952f4104a8442e", [:rebar3], [{:ranch, ">= 1.8.0", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "0b73fbf069864ecbce02fe653b16d3f35fd889d0fdd4e14527675565c39d84e6"}, |
| 26 | 25 | "gettext": {:hex, :gettext, "1.0.2", "5457e1fd3f4abe47b0e13ff85086aabae760497a3497909b8473e0acee57673b", [:mix], [{:expo, "~> 0.5.1 or ~> 1.0", [hex: :expo, repo: "hexpm", optional: false]}], "hexpm", "eab805501886802071ad290714515c8c4a17196ea76e5afc9d06ca85fb1bfeb3"}, |
| 27 | − "hackney": {:hex, :hackney, "1.25.0", "390e9b83f31e5b325b9f43b76e1a785cbdb69b5b6cd4e079aa67835ded046867", [:rebar3], [{:certifi, "~> 2.15.0", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "~> 6.1.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "~> 1.0.0", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "~> 1.4", [hex: :mimerl, repo: "hexpm", optional: false]}, {:parse_trans, "3.4.1", [hex: :parse_trans, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "~> 1.1.0", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}, {:unicode_util_compat, "~> 0.7.1", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "7209bfd75fd1f42467211ff8f59ea74d6f2a9e81cbcee95a56711ee79fd6b1d4"}, | |
| 28 | 26 | "heroicons": {:git, "https://github.com/tailwindlabs/heroicons.git", "0435d4ca364a608cc75e2f8683d374e55abbae26", [tag: "v2.2.0", sparse: "optimized", depth: 1]}, |
| 29 | 27 | "hpax": {:hex, :hpax, "1.1.0", "782931867cc23217c68fb5f68fe1a11f5e7544c7fda82c8a7019a5df5a4a1cdf", [:mix], [], "hexpm", "0b8d0f05832f55571d65ac720f79bf8994138ffbb133209dc4685eae0ad456a8"}, |
| 30 | 28 | "idna": {:hex, :idna, "6.1.1", "8a63070e9f7d0c62eb9d9fcb360a7de382448200fbbd1b106cc96d3d8099df8d", [:rebar3], [{:unicode_util_compat, "~> 0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "92376eb7894412ed19ac475e4a86f7b413c1b9fbb5bd16dccd57934157944cea"}, |
@@ -151,9 +149,7 @@
| 151 | 149 | "lumis_wasm_zsh": {:hex, :lumis_wasm_zsh, "0.26.3", "173c57aef5d00410df8f8d7241a4d7f5e841accbeb2f3220402b8b8fe4c3da48", [:mix], [], "hexpm", "4e34edd793ea5182ff1ff68b80a7a1088469b58e85501568eb40016984f9e2f0"}, |
| 152 | 150 | "mdex": {:hex, :mdex, "0.14.2", "8d2b376f3de8f9f03a2ba0992eeb4f76d58fa790b0ed78dc90bcb5422ce7ff5d", [:mix], [{:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:lumis, "~> 0.10", [hex: :lumis, repo: "hexpm", optional: true]}, {:mdex_native, ">= 0.2.11", [hex: :mdex_native, repo: "hexpm", optional: false]}, {:nimble_options, "~> 1.0", [hex: :nimble_options, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}, {:phoenix_live_view, "~> 0.20.0 or ~> 1.0", [hex: :phoenix_live_view, repo: "hexpm", optional: true]}], "hexpm", "7003e60b8621ab1c9b3671221a8dcc27dee9f9086026c25ea7aed4057d07978f"}, |
| 153 | 151 | "mdex_native": {:hex, :mdex_native, "0.2.12", "867912ab5675e0a315e44ea5eb9ec22ac09c12559cc89fc1ba71afd7d95bf96a", [:mix], [{:rustler, "~> 0.32", [hex: :rustler, repo: "hexpm", optional: true]}, {:rustler_precompiled, "~> 0.8", [hex: :rustler_precompiled, repo: "hexpm", optional: false]}], "hexpm", "c9557b4e576515b01edc5bc48f6ac0a6e13c25a0bd3bf4a6e0a2ccd2199d747b"}, |
| 154 | − "metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], [], "hexpm", "69b09adddc4f74a40716ae54d140f93beb0fb8978d8636eaded0c31b6f099f16"}, | |
| 155 | 152 | "mime": {:hex, :mime, "2.0.7", "b8d739037be7cd402aee1ba0306edfdef982687ee7e9859bee6198c1e7e2f128", [:mix], [], "hexpm", "6171188e399ee16023ffc5b76ce445eb6d9672e2e241d2df6050f3c771e80ccd"}, |
| 156 | − "mimerl": {:hex, :mimerl, "1.5.0", "f35aca6f23242339b3666e0ac0702379e362b469d0aea167f6cc713547e777ed", [:rebar3], [], "hexpm", "db648ce065bae14ea84ca8b5dd123f42f49417cef693541110bf6f9e9be9ecc4"}, | |
| 157 | 153 | "mint": {:hex, :mint, "1.11.0", "a713551624815c0435237b93d90ea8b9b14254690c66f732d0ef8930f76ff1d9", [:mix], [{:castore, "~> 0.1.0 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: true]}, {:hpax, "~> 1.1", [hex: :hpax, repo: "hexpm", optional: false]}], "hexpm", "c6279ba2d6aa3a383a1d4cfbe7b59f42e6efd400f58d8e2acfeac48a438693ab"}, |
| 158 | 154 | "nebulex": {:hex, :nebulex, "2.6.6", "677e27fcfa89eaa085d9509d5e066f305f98c1b2264ce6676eaca6fb08d4939e", [:mix], [{:decorator, "~> 1.4", [hex: :decorator, repo: "hexpm", optional: true]}, {:shards, "~> 1.1", [hex: :shards, repo: "hexpm", optional: true]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: true]}], "hexpm", "8cbf531af6fe407383b6ba410a43a19319af47804929d8a8d1975a780b9952df"}, |
| 159 | 155 | "nimble_options": {:hex, :nimble_options, "1.1.1", "e3a492d54d85fc3fd7c5baf411d9d2852922f66e69476317787a7b2bb000a61b", [:mix], [], "hexpm", "821b2470ca9442c4b6984882fe9bb0389371b8ddec4d45a9504f00a66f650b44"}, |
@@ -163,7 +159,6 @@
| 163 | 159 | "nimble_totp": {:hex, :nimble_totp, "1.0.0", "79753bae6ce59fd7cacdb21501a1dbac249e53a51c4cd22b34fa8438ee067283", [:mix], [], "hexpm", "6ce5e4c068feecdb782e85b18237f86f66541523e6bad123e02ee1adbe48eda9"}, |
| 164 | 160 | "oban": {:hex, :oban, "2.22.1", "9d2a38cec95070b31c1e274fae55f3925089f62159d8f3facabee0454d55b257", [:mix], [{:ecto_sql, "~> 3.10", [hex: :ecto_sql, repo: "hexpm", optional: false]}, {:ecto_sqlite3, "~> 0.9", [hex: :ecto_sqlite3, repo: "hexpm", optional: true]}, {:igniter, "~> 0.5", [hex: :igniter, repo: "hexpm", optional: true]}, {:jason, "~> 1.1", [hex: :jason, repo: "hexpm", optional: true]}, {:myxql, "~> 0.7", [hex: :myxql, repo: "hexpm", optional: true]}, {:postgrex, "~> 0.20", [hex: :postgrex, repo: "hexpm", optional: true]}, {:telemetry, "~> 1.3", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "af2508c156c5b0ec30b21b0883babf7e2716af35ed5d264095896103fe3cea37"}, |
| 165 | 161 | "octo_fetch": {:hex, :octo_fetch, "0.5.0", "f50701568b9fc752656367f82cc134d5fbefff37c5a0e8ddfcceb02ceee3f5fc", [:mix], [{:castore, "~> 0.1 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "~> 1.1", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}], "hexpm", "6226cc3c14ca948ee9f25fb0446322e5c288e215da9beba7899b6b5f4cd3ccb0"}, |
| 166 | − "parse_trans": {:hex, :parse_trans, "3.4.1", "6e6aa8167cb44cc8f39441d05193be6e6f4e7c2946cb2759f015f8c56b76e5ff", [:rebar3], [], "hexpm", "620a406ce75dada827b82e453c19cf06776be266f5a67cff34e1ef2cbb60e49a"}, | |
| 167 | 162 | "peep": {:hex, :peep, "3.5.0", "9f6ead7b0f2c684494200c8fc02e7e62e8c459afe861b29bd859e4c96f402ed8", [:mix], [{:nimble_options, "~> 1.1", [hex: :nimble_options, repo: "hexpm", optional: false]}, {:plug, "~> 1.16", [hex: :plug, repo: "hexpm", optional: true]}, {:telemetry_metrics, "~> 1.0", [hex: :telemetry_metrics, repo: "hexpm", optional: false]}], "hexpm", "5a73a99c6e60062415efeb7e536a663387146463a3d3df1417da31fd665ac210"}, |
| 168 | 163 | "phoenix": {:hex, :phoenix, "1.8.16", "6a4742054740496bfabefc95253f978d8f595f07bb601039b7a18b384a873916", [:mix], [{:bandit, "~> 1.0", [hex: :bandit, repo: "hexpm", optional: true]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:phoenix_pubsub, "~> 2.4", [hex: :phoenix_pubsub, repo: "hexpm", optional: false]}, {:phoenix_template, "~> 1.0", [hex: :phoenix_template, repo: "hexpm", optional: false]}, {:phoenix_view, "~> 2.0", [hex: :phoenix_view, repo: "hexpm", optional: true]}, {:plug, "~> 1.14", [hex: :plug, repo: "hexpm", optional: false]}, {:plug_cowboy, "~> 2.7", [hex: :plug_cowboy, repo: "hexpm", optional: true]}, {:plug_crypto, "~> 2.2", [hex: :plug_crypto, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}, {:websock_adapter, "~> 0.5", [hex: :websock_adapter, repo: "hexpm", optional: false]}], "hexpm", "e7355c35889305bc539eb09dae2393abcbaf0f65f6874a3f0dcb5f0ec53737fe"}, |
| 169 | 164 | "phoenix_ecto": {:hex, :phoenix_ecto, "4.7.0", "75c4b9dfb3efdc42aec2bd5f8bccd978aca0651dbcbc7a3f362ea5d9d43153c6", [:mix], [{:ecto, "~> 3.5", [hex: :ecto, repo: "hexpm", optional: false]}, {:phoenix_html, "~> 2.14.2 or ~> 3.0 or ~> 4.1", [hex: :phoenix_html, repo: "hexpm", optional: true]}, {:plug, "~> 1.9", [hex: :plug, repo: "hexpm", optional: false]}, {:postgrex, "~> 0.16 or ~> 1.0", [hex: :postgrex, repo: "hexpm", optional: true]}], "hexpm", "1d75011e4254cb4ddf823e81823a9629559a1be93b4321a6a5f11a5306fbf4cc"}, |
@@ -178,7 +173,7 @@
| 178 | 173 | "postgrex": {:hex, :postgrex, "0.22.4", "d271f595dfd25230b6398354e19d17bb5e2d20130fd2d9bdca7e15f125d43552", [:mix], [{:db_connection, "~> 2.9", [hex: :db_connection, repo: "hexpm", optional: false]}, {:decimal, "~> 1.5 or ~> 2.0 or ~> 3.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:table, "~> 0.1.0", [hex: :table, repo: "hexpm", optional: true]}], "hexpm", "4aae45a2d60e35b04eea2602440be152fae332901f1fc7a60fc7cb7f0f9a9c5a"}, |
| 179 | 174 | "prom_ex": {:hex, :prom_ex, "1.11.0", "1f6d67f2dead92224cb4f59beb3e4d319257c5728d9638b4a5e8ceb51a4f9c7e", [:mix], [{:absinthe, ">= 1.7.0", [hex: :absinthe, repo: "hexpm", optional: true]}, {:broadway, ">= 1.1.0", [hex: :broadway, repo: "hexpm", optional: true]}, {:ecto, ">= 3.11.0", [hex: :ecto, repo: "hexpm", optional: true]}, {:finch, "~> 0.18", [hex: :finch, repo: "hexpm", optional: false]}, {:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}, {:oban, ">= 2.10.0", [hex: :oban, repo: "hexpm", optional: true]}, {:octo_fetch, "~> 0.4", [hex: :octo_fetch, repo: "hexpm", optional: false]}, {:peep, "~> 3.0", [hex: :peep, repo: "hexpm", optional: false]}, {:phoenix, ">= 1.7.0", [hex: :phoenix, repo: "hexpm", optional: true]}, {:phoenix_live_view, ">= 0.20.0", [hex: :phoenix_live_view, repo: "hexpm", optional: true]}, {:plug, ">= 1.16.0", [hex: :plug, repo: "hexpm", optional: true]}, {:plug_cowboy, ">= 2.6.0", [hex: :plug_cowboy, repo: "hexpm", optional: true]}, {:telemetry, ">= 1.0.0", [hex: :telemetry, repo: "hexpm", optional: false]}, {:telemetry_metrics, "~> 1.0", [hex: :telemetry_metrics, repo: "hexpm", optional: false]}, {:telemetry_metrics_prometheus_core, "~> 1.2", [hex: :telemetry_metrics_prometheus_core, repo: "hexpm", optional: false]}, {:telemetry_poller, "~> 1.1", [hex: :telemetry_poller, repo: "hexpm", optional: false]}], "hexpm", "76b074bc3730f0802978a7eb5c7091a65473eaaf07e99ec9e933138dcc327805"}, |
| 180 | 175 | "protobuf": {:hex, :protobuf, "0.17.1", "5c058a4abbdf3c094bbdab142022b22950dd25214fcfdc624ae9bf0c60f9346f", [:mix], [{:jason, "~> 1.2", [hex: :jason, repo: "hexpm", optional: true]}], "hexpm", "76770ecda0ef057e540932f15b5a143ba8877875e88727f53429a7dc4dbf8b6c"}, |
| 181 | − "ranch": {:hex, :ranch, "2.3.0", "7de7b041a9a6a5091a3aa5898d66c0564be671d87db4f9d63b1b5ee775b097df", [], [], "hexpm", "6168ec49409d982f7cfbd83dd083144f6cbe67caa4036551d2f0a3ad67c9d023"}, | |
| 176 | + "ranch": {:hex, :ranch, "2.3.0", "7de7b041a9a6a5091a3aa5898d66c0564be671d87db4f9d63b1b5ee775b097df", [:make, :rebar3], [], "hexpm", "6168ec49409d982f7cfbd83dd083144f6cbe67caa4036551d2f0a3ad67c9d023"}, | |
| 182 | 177 | "req": {:hex, :req, "0.7.5", "0c3293cbf7717aba20b1b1b3ea13fe8d3fdf6f1557490f390c3f1ef6dd9db955", [:mix], [{:brotli, "~> 0.3.1", [hex: :brotli, repo: "hexpm", optional: true]}, {:finch, "~> 0.21", [hex: :finch, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:mime, "~> 2.0.6 or ~> 2.1", [hex: :mime, repo: "hexpm", optional: false]}, {:nimble_csv, "~> 1.0", [hex: :nimble_csv, repo: "hexpm", optional: true]}, {:plug, "~> 1.0", [hex: :plug, repo: "hexpm", optional: true]}], "hexpm", "576853c4bf403faa3c1fa5d093e0759227083b78f8a6864c67d62c0a9c45514d"}, |
| 183 | 178 | "rustler": {:hex, :rustler, "0.38.0", "7a8906998ff0d28e3021c0a73264abcda719bda344b2e58307c6805b0f87c9b4", [:mix], [{:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "704c03c1bf66be12b031c5a389347b91c81c5cb819a24b068b0de36fe4a5652a"}, |
| 184 | 179 | "rustler_precompiled": {:hex, :rustler_precompiled, "0.10.0", "8f07ff0865cb09a6a0f75e11701e9a46e331e05f737da4e5b01374dcd25b68c0", [:mix], [{:rustler, "~> 0.28", [hex: :rustler, repo: "hexpm", optional: true]}], "hexpm", "c68c9dc732c12acfdf4a7fa06f4e6f48a641179e6be49a474c8a60809929c430"}, |
modified
native/gitgud_apt/Cargo.lock
+4
−14
@@ -973,9 +973,9 @@ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
| 973 | 973 | |
| 974 | 974 | [[package]] |
| 975 | 975 | name = "ruzstd" |
| 976 | −version = "0.7.3" | |
| 976 | +version = "0.9.1" | |
| 977 | 977 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 978 | −checksum = "fad02996bfc73da3e301efe90b1837be9ed8f4a462b6ed410aa35d00381de89f" | |
| 978 | +checksum = "69e4ce4a039f42bf25920b95667e4d789e98749ab11bbb8d2c2936f788421bb5" | |
| 979 | 979 | dependencies = [ |
| 980 | 980 | "twox-hash", |
| 981 | 981 | ] |
@@ -1079,12 +1079,6 @@ version = "1.2.1"
| 1079 | 1079 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 1080 | 1080 | checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" |
| 1081 | 1081 | |
| 1082 | −[[package]] | |
| 1083 | −name = "static_assertions" | |
| 1084 | −version = "1.1.0" | |
| 1085 | −source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 1086 | −checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" | |
| 1087 | − | |
| 1088 | 1082 | [[package]] |
| 1089 | 1083 | name = "string_cache" |
| 1090 | 1084 | version = "0.9.0" |
@@ -1177,13 +1171,9 @@ dependencies = [
| 1177 | 1171 | |
| 1178 | 1172 | [[package]] |
| 1179 | 1173 | name = "twox-hash" |
| 1180 | −version = "1.6.3" | |
| 1174 | +version = "2.1.5" | |
| 1181 | 1175 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 1182 | −checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" | |
| 1183 | −dependencies = [ | |
| 1184 | − "cfg-if", | |
| 1185 | − "static_assertions", | |
| 1186 | −] | |
| 1176 | +checksum = "86a801b3cea342a06d468c8710662aa29e5e05e4f5c0d62f00bbb7f2ad7941c2" | |
| 1187 | 1177 | |
| 1188 | 1178 | [[package]] |
| 1189 | 1179 | name = "typenum" |
modified
native/gitgud_apt/Cargo.toml
+1
−1
@@ -51,4 +51,4 @@ anyhow = "1"
| 51 | 51 | # the image. `lzma-rs` also encodes xz, which is what lets the |
| 52 | 52 | # repository offer `Packages.xz` as the Debian guidance asks. |
| 53 | 53 | lzma-rs = "0.3" |
| 54 | −ruzstd = "0.7" | |
| 54 | +ruzstd = "0.9" |
modified
native/gitgud_apt/src/lib.rs
+2
−2
@@ -244,7 +244,7 @@ fn xz_compress<'a>(env: Env<'a>, data: Binary) -> NifResult<Term<'a>> {
| 244 | 244 | #[rustler::nif(schedule = "DirtyCpu")] |
| 245 | 245 | fn zstd_decompress<'a>(env: Env<'a>, data: Binary) -> NifResult<Term<'a>> { |
| 246 | 246 | wrap_binary(env, || { |
| 247 | − let mut decoder = ruzstd::StreamingDecoder::new(Cursor::new(data.as_slice())) | |
| 247 | + let mut decoder = ruzstd::decoding::StreamingDecoder::new(Cursor::new(data.as_slice())) | |
| 248 | 248 | .map_err(|e| anyhow!("reading the zstd frame: {e}"))?; |
| 249 | 249 | let mut out = Vec::new(); |
| 250 | 250 | decoder |
@@ -273,7 +273,7 @@ fn xz_decompress_capped<'a>(env: Env<'a>, data: Binary, limit: u64) -> NifResult
| 273 | 273 | #[rustler::nif(schedule = "DirtyCpu")] |
| 274 | 274 | fn zstd_decompress_capped<'a>(env: Env<'a>, data: Binary, limit: u64) -> NifResult<Term<'a>> { |
| 275 | 275 | wrap_binary(env, || { |
| 276 | − let decoder = ruzstd::StreamingDecoder::new(Cursor::new(data.as_slice())) | |
| 276 | + let decoder = ruzstd::decoding::StreamingDecoder::new(Cursor::new(data.as_slice())) | |
| 277 | 277 | .map_err(|e| anyhow!("reading the zstd frame: {e}"))?; |
| 278 | 278 | let mut out = Vec::new(); |
| 279 | 279 | // One byte past the limit is how "exactly at" is told apart |
modified
native/gitgud_gix/Cargo.lock
+17
−6
@@ -40,9 +40,9 @@ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
| 40 | 40 | |
| 41 | 41 | [[package]] |
| 42 | 42 | name = "autocfg" |
| 43 | −version = "1.5.0" | |
| 43 | +version = "1.5.1" | |
| 44 | 44 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 45 | −checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" | |
| 45 | +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" | |
| 46 | 46 | |
| 47 | 47 | [[package]] |
| 48 | 48 | name = "bitflags" |
@@ -188,6 +188,15 @@ dependencies = [
| 188 | 188 | "parking_lot_core", |
| 189 | 189 | ] |
| 190 | 190 | |
| 191 | +[[package]] | |
| 192 | +name = "defmt" | |
| 193 | +version = "0.3.101" | |
| 194 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 195 | +checksum = "4deef977660e373c458df605a913d4ab121db0ccd18d1ad6976dff7d37cddb53" | |
| 196 | +dependencies = [ | |
| 197 | + "defmt 1.1.1", | |
| 198 | +] | |
| 199 | + | |
| 191 | 200 | [[package]] |
| 192 | 201 | name = "defmt" |
| 193 | 202 | version = "1.1.1" |
@@ -262,10 +271,12 @@ dependencies = [
| 262 | 271 | |
| 263 | 272 | [[package]] |
| 264 | 273 | name = "faster-hex" |
| 265 | −version = "0.10.0" | |
| 274 | +version = "0.10.1" | |
| 266 | 275 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 267 | −checksum = "7223ae2d2f179b803433d9c830478527e92b8117eab39460edae7f1614d9fb73" | |
| 276 | +checksum = "04839bdf9d8c10f66806fad16b852fc72aab80873aebc3cb69d85b4fa41543ed" | |
| 268 | 277 | dependencies = [ |
| 278 | + "autocfg", | |
| 279 | + "defmt 0.3.101", | |
| 269 | 280 | "heapless", |
| 270 | 281 | "serde", |
| 271 | 282 | ] |
@@ -1288,7 +1299,7 @@ version = "0.2.35"
| 1288 | 1299 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 1289 | 1300 | checksum = "668b7183bd07af9a4885f5c35b0cc5c83c4607a913c16b7e17291832910d2dcc" |
| 1290 | 1301 | dependencies = [ |
| 1291 | − "defmt", | |
| 1302 | + "defmt 1.1.1", | |
| 1292 | 1303 | "jiff-core", |
| 1293 | 1304 | "jiff-static", |
| 1294 | 1305 | "jiff-tzdb-platform", |
@@ -1305,7 +1316,7 @@ version = "0.1.0"
| 1305 | 1316 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 1306 | 1317 | checksum = "7feca88439efe53da3754500c1851dedf3cb36c524dd5cf8225cc0794de95d09" |
| 1307 | 1318 | dependencies = [ |
| 1308 | − "defmt", | |
| 1319 | + "defmt 1.1.1", | |
| 1309 | 1320 | ] |
| 1310 | 1321 | |
| 1311 | 1322 | [[package]] |
Parents: c717e39