Skip to content

Commit

Permalink
Merge pull request #7367 from berni44/deprecate_xml
Browse files Browse the repository at this point in the history
Deprecate std.xml
  • Loading branch information
wilzbach authored Mar 11, 2020
2 parents d7e8a6d + c64691b commit c4843d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions changelog/deprecate-xml.dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Deprecated module `std.xml`

The module `std.xml` has been deprecated. Any code that still needs
it can use [UndeaD](https://github.com/dlang/undeaD) instead.
For parsing xml files, we recommend to use the dub package
[dxml](https://code.dlang.org/packages/dxml).
5 changes: 3 additions & 2 deletions std/xml.d
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
$(RED Warning: This module is considered out-dated and not up to Phobos'
current standards. It will remain until we have a suitable replacement,
but be aware that it will not remain long term.)
current standards. It will be removed from Phobos in 2.101.0.
If you still need it, go to $(LINK https://github.com/DigitalMars/undeaD))
Classes and functions for creating and parsing XML
Expand Down Expand Up @@ -123,6 +123,7 @@ Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
deprecated("Will be removed from Phobos in 2.101.0. If you still need it, go to https://github.com/DigitalMars/undeaD")
module std.xml;

enum cdata = "<![CDATA[";
Expand Down

0 comments on commit c4843d0

Please sign in to comment.