dom96 / jester

A sinatra-like web framework for Nim.
MIT License
1.57k stars 120 forks source link

development on windows (httpbeast) #298

Closed severak closed 2 years ago

severak commented 2 years ago

I work on map rendering server which I want to run both on windows and linux. My main development machine is on windows but finished product will be run mostly on linux.

I ran into some issues with dependencies which I solved using nimble lock functionality. However on linux it did not want to compile as httpbeast was missing in nimble.lock file. I solved this using -d:useStdLib during build.

I have two questions:

dom96 commented 2 years ago

However on linux it did not want to compile as httpbeast was missing in nimble.lock file

Huh, that sounds like a lock file limitation that needs to be resolved. HttpBeast is a dependency of Jester only on non-Windows. Please report it in the Nimble repo. What you should be able to do is also recreate the lock file on Linux, then on Windows the httpbeast package will be installed but won't be used.

It's safe to not use httpbeast on Linux, but you will lose the performance advantage of utilising it.