Skip to content

Commit 826ffe0

Browse files
mtjhrcslp
authored andcommitted
Declare env_logger as dependency only in the top level crate
The correct way to use the env_logger crate is to only depend on it the toplevel aplication crate. In other crates we should just use the `log` crate facade (which we already do). Drop the env_logger dependency from all of our internal crates, and just keep it in the the `libkrun` crate. Signed-off-by: Matej Hrica <[email protected]>
1 parent c226f22 commit 826ffe0

File tree

5 files changed

+0
-8
lines changed

5 files changed

+0
-8
lines changed

Cargo.lock

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/devices/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ virgl_resource_map2 = []
1717
[dependencies]
1818
bitflags = "1.2.0"
1919
crossbeam-channel = ">=0.5.15"
20-
env_logger = "0.9.0"
2120
libc = ">=0.2.39"
2221
libloading = "0.8"
2322
log = "0.4.0"

src/hvf/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,5 @@ edition = "2021"
88
crossbeam-channel = ">=0.5.15"
99
libloading = "0.8"
1010
log = "0.4.0"
11-
env_logger = "0.9.0"
1211

1312
arch = { path = "../arch" }

src/utils/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ edition = "2021"
66

77
[dependencies]
88
bitflags = "1.2.0"
9-
env_logger = "0.9.0"
109
libc = ">=0.2.85"
1110
log = "0.4.0"
1211
vmm-sys-util = "0.12.1"

src/vmm/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ snd = []
1515

1616
[dependencies]
1717
crossbeam-channel = ">=0.5.15"
18-
env_logger = "0.9.0"
1918
flate2 = "1.0.35"
2019
libc = ">=0.2.39"
2120
linux-loader = { version = "0.13.0", features = ["bzimage", "elf", "pe"] }

0 commit comments

Comments
 (0)