mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 22:33:49 +00:00
* move sha1, md5 to nimble packages * boot the compiler * fixes tests * build the documentation * fixes docs * lol, I forgot koch.nim * add `nimHasChecksums` define * clone checksums but maybe copying is better * bump nimble hash * use ChecksumsStableCommit * fixes tests * deprecate them * fixes paths * fixes koch
177 lines
2.1 KiB
Nim
177 lines
2.1 KiB
Nim
discard """
|
|
cmd: "nim $target $options --hints:on --experimental:strictFuncs --experimental:views --threads:on -d:ssl -d:nimCoroutines $file"
|
|
targets: "c"
|
|
"""
|
|
{.warning[UnusedImport]: off.}
|
|
|
|
when defined(linux):
|
|
import linenoise
|
|
|
|
when defined(nimPreviewSlimSystem):
|
|
import std/[
|
|
assertions,
|
|
formatfloat,
|
|
objectdollar,
|
|
syncio,
|
|
widestrs,
|
|
]
|
|
|
|
import
|
|
algorithm,
|
|
asyncdispatch,
|
|
asyncfile,
|
|
asyncfutures,
|
|
asynchttpserver,
|
|
asyncmacro,
|
|
asyncnet,
|
|
asyncstreams,
|
|
atomics,
|
|
base64,
|
|
bitops,
|
|
browsers,
|
|
cgi,
|
|
chains,
|
|
colors,
|
|
complex,
|
|
cookies,
|
|
coro,
|
|
cpuinfo,
|
|
cpuload,
|
|
critbits,
|
|
cstrutils,
|
|
deques,
|
|
distros,
|
|
dynlib,
|
|
encodings,
|
|
endians,
|
|
epoll,
|
|
fenv,
|
|
hashes,
|
|
heapqueue,
|
|
hotcodereloading,
|
|
htmlgen,
|
|
htmlparser,
|
|
httpclient,
|
|
httpcore,
|
|
inotify,
|
|
intsets,
|
|
json,
|
|
kqueue,
|
|
lenientops,
|
|
lexbase,
|
|
lists,
|
|
locks,
|
|
logging,
|
|
macrocache,
|
|
macros,
|
|
marshal,
|
|
math,
|
|
memfiles,
|
|
mersenne,
|
|
mimetypes,
|
|
nativesockets,
|
|
net,
|
|
nimhcr,
|
|
# nimprof,
|
|
nre,
|
|
oids,
|
|
options,
|
|
os,
|
|
osproc,
|
|
parsecfg,
|
|
parsecsv,
|
|
parsejson,
|
|
parseopt,
|
|
parsesql,
|
|
parseutils,
|
|
parsexml,
|
|
pathnorm,
|
|
pegs,
|
|
posix_utils,
|
|
prelude,
|
|
random,
|
|
rationals,
|
|
rdstdin,
|
|
re,
|
|
registry,
|
|
reservedmem,
|
|
rlocks,
|
|
ropes,
|
|
rtarrays,
|
|
selectors,
|
|
sequtils,
|
|
sets,
|
|
sharedlist,
|
|
sharedtables,
|
|
ssl_certs,
|
|
ssl_config,
|
|
stats,
|
|
streams,
|
|
streamwrapper,
|
|
strformat,
|
|
strmisc,
|
|
strscans,
|
|
strtabs,
|
|
strutils,
|
|
sugar,
|
|
tables,
|
|
terminal,
|
|
threadpool,
|
|
times,
|
|
typeinfo,
|
|
typetraits,
|
|
unicode,
|
|
unidecode,
|
|
unittest,
|
|
uri,
|
|
volatile,
|
|
winlean,
|
|
xmlparser,
|
|
xmltree
|
|
|
|
import experimental/[
|
|
diff,
|
|
]
|
|
|
|
import packages/docutils/[
|
|
highlite,
|
|
rst,
|
|
rstast,
|
|
rstgen,
|
|
]
|
|
|
|
import std/[
|
|
compilesettings,
|
|
decls,
|
|
editdistance,
|
|
effecttraits,
|
|
enumerate,
|
|
enumutils,
|
|
exitprocs,
|
|
isolation,
|
|
jsonutils,
|
|
logic,
|
|
monotimes,
|
|
packedsets,
|
|
setutils,
|
|
socketstreams,
|
|
stackframes,
|
|
sums,
|
|
time_t,
|
|
varints,
|
|
with,
|
|
wordwrap,
|
|
wrapnils,
|
|
]
|
|
|
|
import std/private/[
|
|
asciitables,
|
|
decode_helpers,
|
|
gitutils,
|
|
globs,
|
|
miscdollars,
|
|
since,
|
|
strimpl,
|
|
underscored_calls,
|
|
]
|