Skip to content

Commit

Permalink
Give warnings when using old slog_ prefixed macros
Browse files Browse the repository at this point in the history
These are made redundant by the new 2018 paths.

This warning can be disabled with the feature flag: suppress-macro2018-warnings
  • Loading branch information
Techcable committed Jan 5, 2024
1 parent 4cb76e1 commit dcca40f
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 198 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ release_max_level_info = []
release_max_level_debug = []
release_max_level_trace = []

# Suppress warnings relating to uses of the macros in Rust 2018
suppress-macro2018-warnings = []

[dependencies]
erased-serde = { version = "0.3", optional = true }
serde = { version = "1", optional = true }
Expand Down
Loading

0 comments on commit dcca40f

Please sign in to comment.