fix: remove tarpaulin annotations

This commit is contained in:
Aravinth Manivannan
2025-10-02 14:00:16 +05:30
parent 5c29c2e71e
commit a05f8ec6f0
6 changed files with 0 additions and 32 deletions

View File

@@ -92,7 +92,6 @@ pub const CACHE_AGE: u32 = 604800;
pub type ArcData = Arc<crate::data::Data>;
pub type AppData = actix_web::web::Data<ArcData>;
#[cfg(not(tarpaulin_include))]
#[actix_web::main]
async fn main() -> std::io::Result<()> {
use std::time::Duration;
@@ -185,7 +184,6 @@ async fn main() -> std::io::Result<()> {
Ok(())
}
#[cfg(not(tarpaulin_include))]
pub fn get_json_err() -> JsonConfig {
JsonConfig::default().error_handler(|err, _| {
//debug!("JSON deserialization error: {:?}", &err);
@@ -193,7 +191,6 @@ pub fn get_json_err() -> JsonConfig {
})
}
#[cfg(not(tarpaulin_include))]
pub fn get_identity_service(
settings: &Settings,
) -> IdentityService<CookieIdentityPolicy> {