From eab6efc42a3db46020e5a8e582c27696b3c0ec09 Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Fri, 21 Oct 2022 00:22:31 +0200 Subject: [PATCH] Shards: Add required dependencies and update lock file --- shard.lock | 8 ++++++++ shard.yml | 16 +++++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/shard.lock b/shard.lock index 397bd8bc9..80c5c8e7f 100644 --- a/shard.lock +++ b/shard.lock @@ -32,6 +32,10 @@ shards: git: https://github.com/will/crystal-pg.git version: 0.24.0 + pool: + git: https://github.com/ysbaddaden/pool.git + version: 0.2.4 + protodec: git: https://github.com/iv-org/protodec.git version: 0.1.5 @@ -40,6 +44,10 @@ shards: git: https://github.com/luislavena/radix.git version: 0.4.1 + redis: + git: https://github.com/stefanwille/crystal-redis.git + version: 2.8.3 + spectator: git: https://github.com/icy-arctic-fox/spectator.git version: 0.10.4 diff --git a/shard.yml b/shard.yml index 367f7c73a..0a1b8ad2d 100644 --- a/shard.yml +++ b/shard.yml @@ -10,25 +10,35 @@ targets: main: src/invidious.cr dependencies: + # Database pg: github: will/crystal-pg version: ~> 0.24.0 sqlite3: github: crystal-lang/crystal-sqlite3 version: ~> 0.18.0 + + # Web server kemal: github: kemalcr/kemal version: ~> 1.1.2 kilt: github: jeromegn/kilt version: ~> 0.6.1 - protodec: - github: iv-org/protodec - version: ~> 0.1.5 athena-negotiation: github: athena-framework/negotiation version: ~> 0.1.1 + # Youtube backend + protodec: + github: iv-org/protodec + version: ~> 0.1.5 + + # Caching + redis: + github: stefanwille/crystal-redis + version: ~> 2.8.3 + development_dependencies: spectator: github: icy-arctic-fox/spectator