Skip to content

Commit

Permalink
fmt + change test harness + remove (unnecessary) lazy_static from dev…
Browse files Browse the repository at this point in the history
…-deps
  • Loading branch information
DIvkov575 committed Mar 24, 2024
1 parent 36b1a1c commit 3aea361
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Expand Up @@ -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"
Expand Down Expand Up @@ -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 }
Expand Down
3 changes: 1 addition & 2 deletions tests/integration.rs
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion tests/src/lib.rs
Expand Up @@ -12,4 +12,3 @@ mod integration;
#[cfg(test)]
#[path = "../macros.rs"]
mod macros;

0 comments on commit 3aea361

Please sign in to comment.