suppress warnings: unknown edition and unexpected cfg (#1471)

This commit is contained in:
Antoni Spaanderman
2025-03-26 09:07:07 +01:00
committed by GitHub
parent f9231b465f
commit 829071af17
2 changed files with 4 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ keywords = ["SDL", "windowing", "graphics", "api", "engine"]
categories = ["rendering","api-bindings","game-engines","multimedia"]
readme = "README.md"
resolver = "2"
edition = "2015"
[lib]
name = "sdl2"

View File

@@ -57,3 +57,6 @@ mixer = []
image = []
ttf = []
gfx = []
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mac_framework)','cfg(ios_framework)'] }