From 320cb47bcee9df1d41c01de69b3e76b6d637f8dc Mon Sep 17 00:00:00 2001 From: Zed Date: Sun, 15 Nov 2020 01:21:56 +0100 Subject: [PATCH] Switch to supersnappy, update frosty --- nitter.nimble | 4 ++-- src/redis_cache.nim | 2 +- src/routes/rss.nim | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nitter.nimble b/nitter.nimble index ac04a66..12ff025 100644 --- a/nitter.nimble +++ b/nitter.nimble @@ -18,10 +18,10 @@ requires "regex#2e32fdc" requires "nimcrypto >= 0.4.11" requires "markdown#abdbe5e" requires "packedjson#7198cc8" -requires "snappy#d13e2cc" +requires "supersnappy#1.1.5" requires "redpool#57aeb25" requires "https://github.com/zedeus/redis#94bcbf1" -requires "https://github.com/disruptek/frosty#0.2.3" +requires "https://github.com/disruptek/frosty#0.3.1" # Tasks diff --git a/src/redis_cache.nim b/src/redis_cache.nim index d508ae6..2463b49 100644 --- a/src/redis_cache.nim +++ b/src/redis_cache.nim @@ -1,5 +1,5 @@ import asyncdispatch, times, strutils, tables -import redis, redpool, frosty, snappy +import redis, redpool, frosty, supersnappy import types, api diff --git a/src/routes/rss.nim b/src/routes/rss.nim index 7db2c18..2ecef89 100644 --- a/src/routes/rss.nim +++ b/src/routes/rss.nim @@ -1,4 +1,4 @@ -import asyncdispatch, strutils, tables, times, sequtils, hashes, snappy +import asyncdispatch, strutils, tables, times, sequtils, hashes, supersnappy import jester @@ -7,7 +7,7 @@ import ../query include "../views/rss.nimf" -export times, hashes, snappy +export times, hashes, supersnappy proc showRss*(req: Request; hostname: string; query: Query): Future[Rss] {.async.} = var profile: Profile