Skip to content

v2.0.1

Latest

Choose a tag to compare

@erikwang2013 erikwang2013 released this 11 Oct 16:01
· 2 commits to main since this release

v2.0.1

修复

  • 未启用任何框架 feature 时,Guard 内部的 trust_forwarded_for getter 触发 dead_code 构建告警(v2.0.0 引入)——该组合下没有调用方,加 allow(dead_code) 并注明原因;同时保住字段的「被读取」事实,避免字段级告警。

(纯修复版本,无 API 变更;建议所有 2.0.0 用户升级以消除默认特性构建告警。)