tstrict_funcs_imports.nim 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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. random,
  91. rationals,
  92. rdstdin,
  93. re,
  94. registry,
  95. reservedmem,
  96. rlocks,
  97. ropes,
  98. rtarrays,
  99. selectors,
  100. sequtils,
  101. sets,
  102. sharedlist,
  103. sharedtables,
  104. ssl_certs,
  105. ssl_config,
  106. stats,
  107. streams,
  108. streamwrapper,
  109. strformat,
  110. strmisc,
  111. strscans,
  112. strtabs,
  113. strutils,
  114. sugar,
  115. tables,
  116. terminal,
  117. threadpool,
  118. times,
  119. typeinfo,
  120. typetraits,
  121. unicode,
  122. unidecode,
  123. unittest,
  124. uri,
  125. volatile,
  126. winlean,
  127. xmlparser,
  128. xmltree
  129. import experimental/[
  130. diff,
  131. ]
  132. import packages/docutils/[
  133. highlite,
  134. rst,
  135. rstast,
  136. rstgen,
  137. ]
  138. import std/[
  139. compilesettings,
  140. decls,
  141. editdistance,
  142. effecttraits,
  143. enumerate,
  144. enumutils,
  145. exitprocs,
  146. isolation,
  147. jsonutils,
  148. logic,
  149. monotimes,
  150. packedsets,
  151. setutils,
  152. sha1,
  153. socketstreams,
  154. stackframes,
  155. sums,
  156. time_t,
  157. varints,
  158. with,
  159. wordwrap,
  160. wrapnils,
  161. ]
  162. import std/private/[
  163. asciitables,
  164. decode_helpers,
  165. gitutils,
  166. globs,
  167. miscdollars,
  168. since,
  169. strimpl,
  170. underscored_calls,
  171. ]