rename hafas.nim depencency to nimhafas

This commit is contained in:
Leah 2021-03-13 20:06:02 +01:00
parent bee9d985eb
commit 467d99afac
Signed by untrusted user: ctucx
GPG Key ID: 725B65F21DB1C2C4
8 changed files with 8 additions and 8 deletions

View File

@ -12,4 +12,4 @@ bin = @["oeffisearch"]
# Dependencies
requires "nim >= 1.0.4"
requires "https://cgit.ctu.cx/hafas.nim"
requires "https://cgit.ctu.cx/nimhafas"

View File

@ -1,6 +1,6 @@
import tables, random, os, times, json, asyncfile, asyncdispatch
import types, cache_types, utils
import hafas
import nimhafas
randomize()

View File

@ -1,5 +1,5 @@
import tables
import hafas
import nimhafas
type
moreJourneysMode* = enum

View File

@ -1,5 +1,5 @@
import json, tables, options, asyncdispatch
import hafas
import nimhafas
import ../types, ../cache
when not defined(release):

View File

@ -1,5 +1,5 @@
import json, tables, options, asyncdispatch, strutils
import hafas
import nimhafas
import ../types, ../cache_types, ../cache
proc moreJourneysEndpoint*(requestData: JsonNode): Future[JsonNode] {.async.} =

View File

@ -1,5 +1,5 @@
import json, tables, options, asyncdispatch, strutils
import hafas
import nimhafas
import ../types, ../cache_types, ../cache
proc refreshJourneyEndpoint*(requestData: JsonNode): Future[JsonNode] {.async.} =

View File

@ -1,5 +1,5 @@
import json, options, asyncdispatch
import hafas
import nimhafas
const ds100Json = staticRead "../../ds100reverse.json"

View File

@ -1,4 +1,4 @@
import asynchttpserver
import httpcore
type
NimHttpResponse* = object