mirror of
https://github.com/rust-lang/log.git
synced 2026-05-01 07:14:48 +00:00
fmt + change test harness + remove (unnecessary) lazy_static from dev-deps
This commit is contained in:
@@ -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 }
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -12,4 +12,3 @@ mod integration;
|
||||
#[cfg(test)]
|
||||
#[path = "../macros.rs"]
|
||||
mod macros;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user