Skip to content

Commit

Permalink
chore: change rust lints cfgs to warn (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
burmecia authored Feb 5, 2025
1 parent 440ddf7 commit e90e9f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion supabase-wrappers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ categories = ["database"]
keywords = ["database", "postgres", "postgresql", "extension"]

[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(pgrx_embed)'] }
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(pgrx_embed)'] }

[features]
default = ["pg15"]
Expand Down
2 changes: 1 addition & 1 deletion wrappers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name = "pgrx_embed_wrappers"
path = "./src/bin/pgrx_embed.rs"

[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(pgrx_embed)'] }
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(pgrx_embed)'] }

[features]
default = ["pg15"]
Expand Down

0 comments on commit e90e9f1

Please sign in to comment.