summaryrefslogtreecommitdiffstats
path: root/src/openpgp/mod.rs
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2017-10-16 10:15:57 +0200
committerNeal H. Walfield <neal@gnu.org>2017-10-16 10:15:57 +0200
commit6f28ab1c4a3caae0eaf8650e4611f3ccf3a7f598 (patch)
tree25ca714030e182393dc6dbed527bfc43485e0d54 /src/openpgp/mod.rs
openpgp: Add the start of a parser in nom.
Diffstat (limited to 'src/openpgp/mod.rs')
-rw-r--r--src/openpgp/mod.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/openpgp/mod.rs b/src/openpgp/mod.rs
new file mode 100644
index 00000000..d0175ea5
--- /dev/null
+++ b/src/openpgp/mod.rs
@@ -0,0 +1,8 @@
+// Hack so that the file doesn't have to be named mod.rs.
+// Unfortunately, it seems that putting 'pub mod xxx' declarations in
+// an included file confuses rust (it looks for the module in the
+// wrong place). Hence, that here as well.
+
+pub mod parse;
+
+include!("openpgp.rs");