fmt + change test harness + remove (unnecessary) lazy_static from dev-deps

This commit is contained in:
Divkov575
2024-03-24 10:59:20 -04:00
parent 36b1a1cac9
commit 3aea361cff
3 changed files with 2 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ features = ["std", "serde", "kv_std", "kv_sval", "kv_serde"]
[[test]]
name = "integration"
path = "tests/integration.rs"
harness = true
harness = false
[[test]]
name = "macros"
@@ -59,7 +59,6 @@ kv_unstable_std = ["kv_std", "kv_unstable"]
kv_unstable_serde = ["kv_serde", "kv_unstable_std"]
[dependencies]
lazy_static = "1.4.0"
serde = { version = "1.0", optional = true, default-features = false }
sval = { version = "2.1", optional = true, default-features = false }
sval_ref = { version = "2.1", optional = true, default-features = false }

View File

@@ -29,8 +29,7 @@ impl Log for Logger {
}
fn flush(&self) {}
}
// #[cfg_attr(lib_build, test)]
#[test]
#[cfg_attr(lib_build, test)]
fn main() {
// These tests don't really make sense when static
// max level filtering is applied

View File

@@ -12,4 +12,3 @@ mod integration;
#[cfg(test)]
#[path = "../macros.rs"]
mod macros;