@@ -12,17 +12,49 @@ categories = ["game-engines", "graphics"]
1212# requiring no-default-features), so we unfortunately still need to depend on prebuilt and just ignore it.
1313# The artifact generator explicitly excludes that though (to avoid a quasi-circular dependency back to its repo).
1414[features ]
15+ # [version-sync] [[
16+ # [line] api-$kebabVersion = ["dep:prebuilt-$kebabVersion"]
1517api-4-0 = [" dep:prebuilt-4-0" ]
18+ api-4-0-1 = [" dep:prebuilt-4-0-1" ]
19+ api-4-0-2 = [" dep:prebuilt-4-0-2" ]
20+ api-4-0-3 = [" dep:prebuilt-4-0-3" ]
21+ api-4-0-4 = [" dep:prebuilt-4-0-4" ]
1622api-4-1 = [" dep:prebuilt-4-1" ]
23+ api-4-1-1 = [" dep:prebuilt-4-1-1" ]
24+ api-4-1-2 = [" dep:prebuilt-4-1-2" ]
25+ api-4-1-3 = [" dep:prebuilt-4-1-3" ]
26+ api-4-1-4 = [" dep:prebuilt-4-1-4" ]
27+ api-4-2 = [" dep:prebuilt-4-2" ]
28+ api-4-2-1 = [" dep:prebuilt-4-2-1" ]
29+ api-4-2-2 = [" dep:prebuilt-4-2-2" ]
30+ # ]]
31+
32+ # [version-sync] [[
33+ # [include] current.minor
34+ # [line] default = ["dep:prebuilt-$kebabVersion"]
1735default = [" dep:prebuilt-4-2" ]
36+ # ]]
37+
1838api-custom = [" dep:bindgen" , " dep:regex" , " dep:which" ]
1939api-custom-extheader = []
2040
21-
2241[dependencies ]
23- prebuilt-4-0 = { optional = true , package = " godot4-prebuilt" , git = " https://github.com/godot-rust/godot4-prebuilt" , branch = " 4.0.4" }
24- prebuilt-4-1 = { optional = true , package = " godot4-prebuilt" , git = " https://github.com/godot-rust/godot4-prebuilt" , branch = " 4.1.4" }
25- prebuilt-4-2 = { optional = true , package = " godot4-prebuilt" , git = " https://github.com/godot-rust/godot4-prebuilt" , branch = " 4.2.2" }
42+ # [version-sync] [[
43+ # [line] prebuilt-$kebabVersion = { optional = true, package = "godot4-prebuilt", git = "https://github.com/godot-rust/godot4-prebuilt", branch = "$dotVersion" }
44+ prebuilt-4-0 = { optional = true , package = " godot4-prebuilt" , git = " https://github.com/godot-rust/godot4-prebuilt" , branch = " 4.0" }
45+ prebuilt-4-0-1 = { optional = true , package = " godot4-prebuilt" , git = " https://github.com/godot-rust/godot4-prebuilt" , branch = " 4.0.1" }
46+ prebuilt-4-0-2 = { optional = true , package = " godot4-prebuilt" , git = " https://github.com/godot-rust/godot4-prebuilt" , branch = " 4.0.2" }
47+ prebuilt-4-0-3 = { optional = true , package = " godot4-prebuilt" , git = " https://github.com/godot-rust/godot4-prebuilt" , branch = " 4.0.3" }
48+ prebuilt-4-0-4 = { optional = true , package = " godot4-prebuilt" , git = " https://github.com/godot-rust/godot4-prebuilt" , branch = " 4.0.4" }
49+ prebuilt-4-1 = { optional = true , package = " godot4-prebuilt" , git = " https://github.com/godot-rust/godot4-prebuilt" , branch = " 4.1" }
50+ prebuilt-4-1-1 = { optional = true , package = " godot4-prebuilt" , git = " https://github.com/godot-rust/godot4-prebuilt" , branch = " 4.1.1" }
51+ prebuilt-4-1-2 = { optional = true , package = " godot4-prebuilt" , git = " https://github.com/godot-rust/godot4-prebuilt" , branch = " 4.1.2" }
52+ prebuilt-4-1-3 = { optional = true , package = " godot4-prebuilt" , git = " https://github.com/godot-rust/godot4-prebuilt" , branch = " 4.1.3" }
53+ prebuilt-4-1-4 = { optional = true , package = " godot4-prebuilt" , git = " https://github.com/godot-rust/godot4-prebuilt" , branch = " 4.1.4" }
54+ prebuilt-4-2 = { optional = true , package = " godot4-prebuilt" , git = " https://github.com/godot-rust/godot4-prebuilt" , branch = " 4.2" }
55+ prebuilt-4-2-1 = { optional = true , package = " godot4-prebuilt" , git = " https://github.com/godot-rust/godot4-prebuilt" , branch = " 4.2.1" }
56+ prebuilt-4-2-2 = { optional = true , package = " godot4-prebuilt" , git = " https://github.com/godot-rust/godot4-prebuilt" , branch = " 4.2.2" }
57+ # ]]
2658
2759# Do not use bindgen 0.69, it contains regression that forces recompilation of code.
2860bindgen = { optional = true , version = " 0.68" , default-features = false , features = [" runtime" ] }
@@ -40,5 +72,6 @@ regex = { version = "1.5.5", default-features = false, features = ["std", "unico
4072features = [" experimental-godot-api" ]
4173rustdoc-args = [" --cfg" , " published_docs" ]
4274
43- [lints .rust ]
44- unexpected_cfgs = { level = " warn" , check-cfg = [' cfg(published_docs)' ] }
75+ # Currently causes "unused manifest key" warnings. Maybe re-enable in the future, to make `published_docs` known.
76+ # [lints.rust]
77+ # unexpected_cfgs = { level = "warn", check-cfg = ['cfg(published_docs)'] }
0 commit comments