From d7d0dc4447205847e3ca145dca30176133c9aa8a Mon Sep 17 00:00:00 2001 From: YourFin Date: Sat, 14 Mar 2026 20:44:19 -0700 Subject: [PATCH] dep: memory -> ram The [`memory` package](https://github.com/vincenthz/hs-memory) has been orphaned, and [`ram`](https://hackage.haskell.org/package/ram) appears to be the maintained replacement. [crypton replaced `memory` with `ram` in 1.1.0](https://github.com/kazu-yamamoto/crypton/commit/7912865682ad497edc04dae00ed215d8948ada30). As a result, compiling `wreq` against the latest `crypton` will result in complaints on [this use of `convert`](https://github.com/haskell/wreq/blob/145080511a50c14e8fd5b0a956de47bf4b34852f/Network/Wreq/Internal/AWS.hs#L135), since the `convent` call resolves to `wreq`'s `memory` dependency, but the `ByteArrayAccess` for `Digest` in `crypton` is provided by `ram`. This probably also warrants some sort of version bump in `wreq`, but I'm not sure what the right call there is. --- wreq.cabal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wreq.cabal b/wreq.cabal index d8a9485..0a4b025 100644 --- a/wreq.cabal +++ b/wreq.cabal @@ -110,7 +110,7 @@ library bytestring >= 0.9, case-insensitive, containers, - crypton, + crypton >= 1.1, exceptions >= 0.5, hashable, http-client >= 0.6, @@ -118,7 +118,7 @@ library http-types >= 0.8, lens >= 4.5, lens-aeson, - memory, + ram, mime-types, time-locale-compat, template-haskell,