tstrict_funcs_imports.nim 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. discard """
  2. cmd: "nim $target $options --hints:on --experimental:strictFuncs --experimental:views --threads:on -d:ssl -d:nimCoroutines $file"
  3. targets: "c"
  4. """
  5. {.warning[UnusedImport]: off.}
  6. when defined(linux):
  7. import linenoise
  8. when defined(nimPreviewSlimSystem):
  9. import std/[
  10. assertions,
  11. formatfloat,
  12. objectdollar,
  13. syncio,
  14. widestrs,
  15. ]
  16. import
  17. algorithm,
  18. asyncdispatch,
  19. asyncfile,
  20. asyncfutures,
  21. asynchttpserver,
  22. asyncmacro,
  23. asyncnet,
  24. asyncstreams,
  25. atomics,
  26. base64,
  27. bitops,
  28. browsers,
  29. cgi,
  30. chains,
  31. colors,
  32. complex,
  33. cookies,
  34. coro,
  35. cpuinfo,
  36. cpuload,
  37. critbits,
  38. cstrutils,
  39. deques,
  40. distros,
  41. dynlib,
  42. encodings,
  43. endians,
  44. epoll,
  45. fenv,
  46. hashes,
  47. heapqueue,
  48. hotcodereloading,
  49. htmlgen,
  50. htmlparser,
  51. httpclient,
  52. httpcore,
  53. inotify,
  54. intsets,
  55. json,
  56. kqueue,
  57. lenientops,
  58. lexbase,
  59. lists,
  60. locks,
  61. logging,
  62. macrocache,
  63. macros,
  64. marshal,
  65. math,
  66. memfiles,
  67. mersenne,
  68. mimetypes,
  69. nativesockets,
  70. net,
  71. nimhcr,
  72. # nimprof,
  73. nre,
  74. oids,
  75. options,
  76. os,
  77. osproc,
  78. parsecfg,
  79. parsecsv,
  80. parsejson,
  81. parseopt,
  82. parsesql,
  83. parseutils,
  84. parsexml,
  85. pathnorm,
  86. pegs,
  87. posix_utils,
  88. prelude,
  89. random,
  90. rationals,
  91. rdstdin,
  92. re,
  93. registry,
  94. reservedmem,
  95. rlocks,
  96. ropes,
  97. rtarrays,
  98. selectors,
  99. sequtils,
  100. sets,
  101. sharedlist,
  102. sharedtables,
  103. ssl_certs,
  104. ssl_config,
  105. stats,
  106. streams,
  107. streamwrapper,
  108. strformat,
  109. strmisc,
  110. strscans,
  111. strtabs,
  112. strutils,
  113. sugar,
  114. tables,
  115. terminal,
  116. threadpool,
  117. times,
  118. typeinfo,
  119. typetraits,
  120. unicode,
  121. unidecode,
  122. unittest,
  123. uri,
  124. volatile,
  125. winlean,
  126. xmlparser,
  127. xmltree
  128. import experimental/[
  129. diff,
  130. ]
  131. import packages/docutils/[
  132. highlite,
  133. rst,
  134. rstast,
  135. rstgen,
  136. ]
  137. import std/[
  138. compilesettings,
  139. decls,
  140. editdistance,
  141. effecttraits,
  142. enumerate,
  143. enumutils,
  144. exitprocs,
  145. isolation,
  146. jsonutils,
  147. logic,
  148. monotimes,
  149. packedsets,
  150. setutils,
  151. socketstreams,
  152. stackframes,
  153. sums,
  154. time_t,
  155. varints,
  156. with,
  157. wordwrap,
  158. wrapnils,
  159. ]
  160. import std/private/[
  161. asciitables,
  162. decode_helpers,
  163. gitutils,
  164. globs,
  165. miscdollars,
  166. since,
  167. strimpl,
  168. underscored_calls,
  169. ]