Skip to content

Commit 181c2bd

Browse files
committed
defmt in PAC is optional
1 parent 2bca96b commit 181c2bd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

va108xx/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ categories = ["embedded", "no-std", "hardware-support"]
1313
[dependencies]
1414
cortex-m = "0.7"
1515
vcell = "0.1.3"
16-
defmt = "0.3"
16+
defmt = { version = "0.3", optional = true }
1717
critical-section = { version = "1", optional = true }
1818

1919
[dependencies.cortex-m-rt]
@@ -22,8 +22,6 @@ version = ">=0.6.15,<0.8"
2222

2323
[features]
2424
rt = ["cortex-m-rt/device"]
25-
# Adds defmt support
26-
defmt = []
2725
# Adds Debug implementation
2826
debug = []
2927

0 commit comments

Comments
 (0)