Skip to content

Commit

Permalink
Add bitflagsv2 cargo feature
Browse files Browse the repository at this point in the history
  • Loading branch information
BenFordTytherington committed Dec 2, 2024
1 parent f5315e0 commit ee478f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion defmt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ version = "0.3.10"
alloc = []
avoid-default-panic = []
ip_in_core = []

bitflags-v2 = ["dep:bitflagsv2"]
# Encoding feature flags. These should only be set by end-user crates, not by library crates.
#
# If no encoding is selected, `defmt` will assume the encoding is "don't care" and
Expand All @@ -47,6 +47,7 @@ unstable-test = [ "defmt-macros/unstable-test" ]
# defmt. Although, multiple versions of defmt might use the *same* defmt-macros.
defmt-macros = { path = "../macros", version = "=0.4.0" }
bitflags = "1"
bitflagsv2 = { version = "2.6.0", optional = true, package = "bitflags" }

[dev-dependencies]
rustc_version = "0.4"
Expand Down

0 comments on commit ee478f8

Please sign in to comment.