rust/lib-hedgewars-engine/Cargo.toml
changeset 15921 5b3beb90e1a6
parent 15919 d52f5d8e75e6
child 16046 e8afb1bf2779
--- 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"]