Skip to content

Commit

Permalink
Ignore untestable code from test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Agathoklis Papadopoulos committed Oct 16, 2023
1 parent fb1022e commit d2f3ab0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "utils-box"
version = "0.1.2"
version = "0.1.3"
edition = "2021"
authors = ["Agathoklis Papadopoulos <klis.pap@gmail.com>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Coverage Status](https://coveralls.io/repos/github/klispap/utils-box/badge.svg?branch=master)](https://coveralls.io/github/klispap/utils-box?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/klispap/utils-box/badge.svg?branch=main)](https://coveralls.io/github/klispap/utils-box?branch=main)

# Summary
A toolbox library that holds a useful collection of small unitilies written in Rust that make our life easier when writting Rust applications.
Expand Down
6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,19 +199,25 @@
pub mod archives;
pub mod bits;
pub mod config;
#[cfg(not(tarpaulin_include))]
pub mod debug;
pub mod paths;
pub mod versions;

#[cfg(not(tarpaulin_include))]
#[cfg(target_family = "unix")]
pub mod ssh_client;
#[cfg(not(tarpaulin_include))]
pub mod tcp_client;
#[cfg(not(tarpaulin_include))]
pub mod udp_client;
#[cfg(not(tarpaulin_include))]
pub mod zmq_client;

#[macro_use]
pub mod logger;
pub mod stopwatch;

#[cfg(target_family = "unix")]
#[cfg(not(tarpaulin_include))]
pub mod threads;

0 comments on commit d2f3ab0

Please sign in to comment.