Skip to content

Commit

Permalink
move smtp to nimble packages (nim-lang#20953)
Browse files Browse the repository at this point in the history
* move `smtp` to nimble packages

* fixes

* install smtp

* yes
  • Loading branch information
ringabout authored and bung87 committed Jul 29, 2023
1 parent a7104aa commit 47937a3
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 367 deletions.
1 change: 0 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@
`colPaleVioletRed` and `colMediumPurple` have also been changed to match the CSS color standard.
- Fixed `lists.SinglyLinkedList` being broken after removing the last node ([#19353](https://github.com/nim-lang/Nim/pull/19353)).
- The `md5` module now works at compile time and in JavaScript.
- `std/smtp` sends `ehlo` first. If the mail server does not understand, it sends `helo` as a fallback.
- Changed `mimedb` to use an `OrderedTable` instead of `OrderedTableRef` to support `const` tables.
- `strutils.find` now uses and defaults to `last = -1` for whole string searches,
making limiting it to just the first char (`last = 0`) valid.
Expand Down
3 changes: 0 additions & 3 deletions doc/lib.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,6 @@ Internet Protocols and Support
This module implements a selector API with backends specific to each OS.
Currently, epoll on Linux and select on other operating systems.

* [smtp](smtp.html)
This module implements a simple SMTP client.

* [uri](uri.html)
This module provides functions for working with URIs.

Expand Down
2 changes: 2 additions & 0 deletions koch.nim
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,8 @@ proc runCI(cmd: string) =
## build nimble early on to enable remainder to depend on it if needed
kochExecFold("Build Nimble", "nimble")

execFold("Install smtp", "nimble install smtp -y")

let batchParam = "--batch:$1" % "NIM_TESTAMENT_BATCH".getEnv("_")
if getEnv("NIM_TEST_PACKAGES", "0") == "1":
nimCompileFold("Compile testament", "testament/testament.nim", options = "-d:release")
Expand Down
361 changes: 0 additions & 361 deletions lib/pure/smtp.nim

This file was deleted.

1 change: 0 additions & 1 deletion tests/effects/tstrict_funcs_imports.nim
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ import
sets,
sharedlist,
sharedtables,
smtp,
ssl_certs,
ssl_config,
stats,
Expand Down
Loading

0 comments on commit 47937a3

Please sign in to comment.