Skip to content

Commit

Permalink
Disable default features in all dependencies
Browse files Browse the repository at this point in the history
It shouldn't change anything but it is safer to disable them.
Features should always be enabled explicitly in libraries.
  • Loading branch information
rafalh committed Oct 9, 2023
1 parent 15f51a8 commit b34260d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ log_level_trace = ["log_level_debug"]
default = ["chrono", "std", "alloc", "lfn", "unicode", "log_level_trace"]

[dependencies]
bitflags = "2"
log = "0.4"
bitflags = { version = "2", default-features = false }
log = { version = "0.4", default-features = false }
chrono = { version = "0.4", default-features = false, features = ["clock"], optional = true }

[dev-dependencies]
Expand Down

0 comments on commit b34260d

Please sign in to comment.