diff options
author | Neal H. Walfield <neal@pep.foundation> | 2019-08-02 22:52:14 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-10-25 15:47:22 +0200 |
commit | 88a9e12fb413b964c45d8a372381786b2d88cad4 (patch) | |
tree | e1e1ab31fd7477468809168b86d0ea80fc4e1a26 /openpgp/src/macros.rs | |
parent | 016c14898bfda1c106b8178cee3fb28dc32baacb (diff) |
rfc2822,openpgp: Move rfc2822 crate to be a private mod in openpgp
- The rfc2822 crate doesn't implement all of RFC 2822. Moreover, it
includes a number of extensions. This makes rfc2822 a misnomer.
- RFC 2822 is actually obsoleted by RFC 5322. This means that if we
ever add support for RFC 5322, it will be an even worse misnomer.
- Move the whole crate into the openpgp crate. Note: we don't
directly export the API; it is only used internally by
packet::userid.
- Closes #279.
Diffstat (limited to 'openpgp/src/macros.rs')
-rw-r--r-- | openpgp/src/macros.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openpgp/src/macros.rs b/openpgp/src/macros.rs index e0c640d4..be771a43 100644 --- a/openpgp/src/macros.rs +++ b/openpgp/src/macros.rs @@ -38,6 +38,9 @@ pub(crate) fn indent(i: usize) -> &'static str { } macro_rules! tracer { + ( $TRACE:expr, $func:expr ) => { + tracer!($TRACE, $func, 0) + }; ( $TRACE:expr, $func:expr, $indent:expr ) => { // Currently, Rust doesn't support $( ... ) in a nested // macro's definition. See: |