--- a/rust/lib-hedgewars-engine/Cargo.toml Sun Nov 13 08:45:10 2022 +0100
+++ b/rust/lib-hedgewars-engine/Cargo.toml Tue Nov 15 14:27:22 2022 +0100
@@ -2,7 +2,8 @@
name = "lib-hedgewars-engine"
version = "0.1.0"
authors = ["Andrey Korotaev <a.korotaev@hedgewars.org>"]
-edition = "2018"
+edition = "2021"
+build = "build.rs"
[dependencies]
gl = "0.11"
@@ -23,6 +24,9 @@
[dev-dependencies]
proptest = "0.9.2"
+[build-dependencies]
+cbindgen = "0.24"
+
[lib]
name = "hedgewars_engine"
crate-type = ["dylib"]