@@ -12,17 +12,49 @@ categories = ["game-engines", "graphics"]
12
12
# requiring no-default-features), so we unfortunately still need to depend on prebuilt and just ignore it.
13
13
# The artifact generator explicitly excludes that though (to avoid a quasi-circular dependency back to its repo).
14
14
[features ]
15
+ # [version-sync] [[
16
+ # [line] api-$kebabVersion = ["dep:prebuilt-$kebabVersion"]
15
17
api-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" ]
16
22
api-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"]
17
35
default = [" dep:prebuilt-4-2" ]
36
+ # ]]
37
+
18
38
api-custom = [" dep:bindgen" , " dep:regex" , " dep:which" ]
19
39
api-custom-extheader = []
20
40
21
-
22
41
[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
+ # ]]
26
58
27
59
# Do not use bindgen 0.69, it contains regression that forces recompilation of code.
28
60
bindgen = { 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
40
72
features = [" experimental-godot-api" ]
41
73
rustdoc-args = [" --cfg" , " published_docs" ]
42
74
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