tstrict_funcs_imports.nim 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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. import
  9. algorithm,
  10. asyncdispatch,
  11. asyncfile,
  12. asyncftpclient,
  13. asyncfutures,
  14. asynchttpserver,
  15. asyncmacro,
  16. asyncnet,
  17. asyncstreams,
  18. atomics,
  19. base64,
  20. bitops,
  21. browsers,
  22. cgi,
  23. chains,
  24. colors,
  25. complex,
  26. cookies,
  27. coro,
  28. cpuinfo,
  29. cpuload,
  30. critbits,
  31. cstrutils,
  32. db_common,
  33. db_mysql,
  34. db_odbc,
  35. db_postgres,
  36. db_sqlite,
  37. deques,
  38. distros,
  39. dynlib,
  40. encodings,
  41. endians,
  42. epoll,
  43. fenv,
  44. hashes,
  45. heapqueue,
  46. hotcodereloading,
  47. htmlgen,
  48. htmlparser,
  49. httpclient,
  50. httpcore,
  51. inotify,
  52. intsets,
  53. json,
  54. kqueue,
  55. lenientops,
  56. lexbase,
  57. lists,
  58. locks,
  59. logging,
  60. macrocache,
  61. macros,
  62. marshal,
  63. math,
  64. md5,
  65. memfiles,
  66. mersenne,
  67. mimetypes,
  68. nativesockets,
  69. net,
  70. nimhcr,
  71. # nimprof,
  72. nre,
  73. oids,
  74. options,
  75. os,
  76. osproc,
  77. parsecfg,
  78. parsecsv,
  79. parsejson,
  80. parseopt,
  81. parsesql,
  82. parseutils,
  83. parsexml,
  84. pathnorm,
  85. # pegs,
  86. posix_utils,
  87. prelude,
  88. punycode,
  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. smtp,
  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. ]