tstrict_funcs_imports.nim 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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. md5,
  67. memfiles,
  68. mersenne,
  69. mimetypes,
  70. nativesockets,
  71. net,
  72. nimhcr,
  73. # nimprof,
  74. nre,
  75. oids,
  76. options,
  77. os,
  78. osproc,
  79. parsecfg,
  80. parsecsv,
  81. parsejson,
  82. parseopt,
  83. parsesql,
  84. parseutils,
  85. parsexml,
  86. pathnorm,
  87. pegs,
  88. posix_utils,
  89. prelude,
  90. punycode,
  91. random,
  92. rationals,
  93. rdstdin,
  94. re,
  95. registry,
  96. reservedmem,
  97. rlocks,
  98. ropes,
  99. rtarrays,
  100. selectors,
  101. sequtils,
  102. sets,
  103. sharedlist,
  104. sharedtables,
  105. ssl_certs,
  106. ssl_config,
  107. stats,
  108. streams,
  109. streamwrapper,
  110. strformat,
  111. strmisc,
  112. strscans,
  113. strtabs,
  114. strutils,
  115. sugar,
  116. tables,
  117. terminal,
  118. threadpool,
  119. times,
  120. typeinfo,
  121. typetraits,
  122. unicode,
  123. unidecode,
  124. unittest,
  125. uri,
  126. volatile,
  127. winlean,
  128. xmlparser,
  129. xmltree
  130. import experimental/[
  131. diff,
  132. ]
  133. import packages/docutils/[
  134. highlite,
  135. rst,
  136. rstast,
  137. rstgen,
  138. ]
  139. import std/[
  140. compilesettings,
  141. decls,
  142. editdistance,
  143. effecttraits,
  144. enumerate,
  145. enumutils,
  146. exitprocs,
  147. isolation,
  148. jsonutils,
  149. logic,
  150. monotimes,
  151. packedsets,
  152. setutils,
  153. sha1,
  154. socketstreams,
  155. stackframes,
  156. sums,
  157. time_t,
  158. varints,
  159. with,
  160. wordwrap,
  161. wrapnils,
  162. ]
  163. import std/private/[
  164. asciitables,
  165. decode_helpers,
  166. gitutils,
  167. globs,
  168. miscdollars,
  169. since,
  170. strimpl,
  171. underscored_calls,
  172. ]