summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadrieril2019-03-19 00:55:53 +0100
committerNadrieril2019-03-19 00:55:53 +0100
commitf2fb817a4ff01625c6cd06d9ee7f15f01aeac98e (patch)
tree61a0c1b3da069fc19fa9c91486e7b855d553a49b
parent64411d7dff5fa4731cc99500936efd82a3d52874 (diff)
Skip build-only subcrates in code coverage
-rw-r--r--abnf_to_pest/src/lib.rs1
-rw-r--r--dhall_generator/src/lib.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/abnf_to_pest/src/lib.rs b/abnf_to_pest/src/lib.rs
index b2fcbbd..bb2e7c7 100644
--- a/abnf_to_pest/src/lib.rs
+++ b/abnf_to_pest/src/lib.rs
@@ -1,4 +1,5 @@
#![allow(clippy::implicit_hasher, clippy::or_fun_call)]
+#![cfg_attr(tarpaulin, skip)]
use abnf::abnf::Rule;
pub use abnf::abnf::{
Alternation, Concatenation, Element, Range, Repeat, Repetition,
diff --git a/dhall_generator/src/lib.rs b/dhall_generator/src/lib.rs
index 107144c..a3d77a4 100644
--- a/dhall_generator/src/lib.rs
+++ b/dhall_generator/src/lib.rs
@@ -1,3 +1,4 @@
+#![cfg_attr(tarpaulin, skip)]
extern crate proc_macro;
use dhall_core::context::Context;
use dhall_core::*;