From 871c264e8394c0b17adca25cb6dbb176f0d66091 Mon Sep 17 00:00:00 2001 From: "Evgeniy A. Dushistov" Date: Thu, 26 Sep 2024 20:00:22 +0300 Subject: [PATCH] migrate to rust edition 2021 --- macroslib/Cargo.toml | 2 +- workspace.Cargo.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/macroslib/Cargo.toml b/macroslib/Cargo.toml index 1cf0d106..08cc2673 100644 --- a/macroslib/Cargo.toml +++ b/macroslib/Cargo.toml @@ -8,7 +8,7 @@ keywords = ["swig", "java", "jni", "ffi", "cxx"] repository = "https://github.com/Dushistov/flapigen-rs" documentation = "https://docs.rs/flapigen" readme = "../README.md" -edition = "2018" +edition = "2021" [dependencies] syn = { version = "1.0.12", features = ["full", "extra-traits", "visit-mut", "visit"] } diff --git a/workspace.Cargo.toml b/workspace.Cargo.toml index 1555a25d..0c0832f7 100644 --- a/workspace.Cargo.toml +++ b/workspace.Cargo.toml @@ -1,6 +1,7 @@ [workspace] members = ["macroslib", "jni_tests", "cpp_tests", "android-example", "android-tests", "debug-util", "cpp-example/rust-part", "python_tests"] +resolver = "2" [profile.release] debug = true