Skip to content

ngocdo1987/pet-nim-starter

Repository files navigation

How to build

nim c helloworld.nim

or compile + run

nim c -r helloworld.nim

or compile + optimize size

nim -d:release c hello
nim -d:release --opt:size c hello
nim -d:release --opt:size c hello && strip -s hello

or support SSL (if you receive error "SSL support is not available. Cannot connect over SSL. Compile with -d:ssl to enable")

nim -d:release -d:ssl --opt:size c http_server && strip -s http_server

Base64 support

https://nim-lang.org/docs/base64.html

HTTP client

Home: https://nim-lang.org/docs/httpclient.html Proxy: https://nim-lang.org/docs/httpclient.html#proxy

HTTP server

https://planety.github.io/prologue/quickstart/

Datetime

https://nim-lang.org/docs/times.html

Examples

https://github.com/planety/prologue-examples/tree/master

Releases

No releases published

Packages

No packages published