mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 18:15:39 +00:00
excluding main and from impls from code coverage
This commit is contained in:
@@ -24,9 +24,11 @@ pub use data::Data;
|
||||
pub use settings::Settings;
|
||||
|
||||
lazy_static! {
|
||||
#[cfg(not(tarpaulin_include))]
|
||||
pub static ref SETTINGS: Settings = Settings::new().unwrap();
|
||||
}
|
||||
|
||||
#[cfg(not(tarpaulin_include))]
|
||||
#[actix_web::main]
|
||||
async fn main() {
|
||||
let data = Data::new().await;
|
||||
|
||||
Reference in New Issue
Block a user