Cargo Features

metered-macro has no features set by default.

[dependencies]
metered-macro = { version = "0.9.0", features = ["error-count-skip-cleared-by-default"] }
error-count-skip-cleared-by-default

When enabled, the error count macro will skip serializing cleared entries (e.g counters with value 0) This can be overridden with the skip_cleared macro attribute