Enable all log features

This patch enables all log features at compile time so that the log
level can be selected at runtime.
This commit is contained in:
Robin Krahl
2022-12-14 13:42:04 +01:00
parent 850b25899b
commit 004e4cc64a
2 changed files with 4 additions and 3 deletions
Generated
+1
View File
@@ -1333,6 +1333,7 @@ dependencies = [
"clap",
"clap-num",
"ctaphid-dispatch",
"delog",
"fido-authenticator",
"interchange",
"log",
+3 -3
View File
@@ -7,13 +7,13 @@ edition = "2021"
[dependencies]
interchange = "0.2.0"
log = { version = "0.4.14", default-features = false }
trussed = { version = "0.1", features = ["virt"] }
trussed = { version = "0.1", features = ["log-all", "virt"] }
usb-device = { version = "0.2.7", default-features = false }
usbip-device = "0.1.5"
# ctaphid
ctaphid-dispatch = { version = "0.1", optional = true }
usbd-ctaphid = { git = "https://github.com/Nitrokey/nitrokey-3-firmware", optional = true }
ctaphid-dispatch = { version = "0.1", features = ["log-all"], optional = true }
usbd-ctaphid = { git = "https://github.com/Nitrokey/nitrokey-3-firmware", features = ["log-all"], optional = true }
[dev-dependencies]
clap = { version = "3.0.0", features = ["derive"] }