excluding main and from impls from code coverage

This commit is contained in:
realaravinth
2021-03-10 21:37:20 +05:30
parent 5c4435430f
commit 7f289cce03
5 changed files with 16 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ lazy_static! {
pub static ref SETTINGS: Settings = Settings::new().unwrap();
}
#[cfg(not(tarpaulin_include))]
#[actix_web::main]
async fn main() -> std::io::Result<()> {
use api::v1::services as v1_services;