From dfa9b99a4578c48227be2eda9e12964b5e3ede4d Mon Sep 17 00:00:00 2001
From: Adrian Taylor <adetaylor@chromium.org>
Date: Wed, 8 Jun 2022 08:59:31 -0700
Subject: [PATCH] Revise to 0.22.2.

---
 Cargo.lock                                    | 20 +++++++++----------
 Cargo.toml                                    |  4 ++--
 book/src/tutorial.md                          |  4 ++--
 demo/Cargo.toml                               |  6 +++---
 engine/Cargo.toml                             |  4 ++--
 .../Cargo.toml                                |  4 ++--
 examples/non-trivial-type-on-stack/Cargo.toml |  4 ++--
 examples/pod/Cargo.toml                       |  4 ++--
 examples/s2/Cargo.toml                        |  4 ++--
 examples/steam-mini/Cargo.toml                |  4 ++--
 examples/subclass/Cargo.toml                  |  4 ++--
 gen/build/Cargo.toml                          |  4 ++--
 gen/cmd/Cargo.toml                            |  6 +++---
 integration-tests/Cargo.toml                  |  6 +++---
 macro/Cargo.toml                              |  4 ++--
 parser/Cargo.toml                             |  2 +-
 tools/mdbook-preprocessor/Cargo.toml          |  4 ++--
 tools/reduce/Cargo.toml                       |  6 +++---
 tools/stress-test/Cargo.toml                  |  6 +++---
 19 files changed, 50 insertions(+), 50 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 41ec1b770..15ec170b6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -87,7 +87,7 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
 
 [[package]]
 name = "autocxx"
-version = "0.22.1"
+version = "0.22.2"
 dependencies = [
  "aquamarine",
  "autocxx-macro",
@@ -121,7 +121,7 @@ dependencies = [
 
 [[package]]
 name = "autocxx-build"
-version = "0.22.1"
+version = "0.22.2"
 dependencies = [
  "autocxx-engine",
  "env_logger 0.9.0",
@@ -131,7 +131,7 @@ dependencies = [
 
 [[package]]
 name = "autocxx-demo"
-version = "0.22.1"
+version = "0.22.2"
 dependencies = [
  "autocxx",
  "autocxx-build",
@@ -141,7 +141,7 @@ dependencies = [
 
 [[package]]
 name = "autocxx-engine"
-version = "0.22.1"
+version = "0.22.2"
 dependencies = [
  "aquamarine",
  "autocxx-bindgen",
@@ -167,7 +167,7 @@ dependencies = [
 
 [[package]]
 name = "autocxx-gen"
-version = "0.22.1"
+version = "0.22.2"
 dependencies = [
  "assert_cmd",
  "autocxx",
@@ -186,7 +186,7 @@ dependencies = [
 
 [[package]]
 name = "autocxx-integration-tests"
-version = "0.22.1"
+version = "0.22.2"
 dependencies = [
  "autocxx",
  "autocxx-engine",
@@ -209,7 +209,7 @@ dependencies = [
 
 [[package]]
 name = "autocxx-macro"
-version = "0.22.1"
+version = "0.22.2"
 dependencies = [
  "autocxx-parser",
  "proc-macro-error",
@@ -220,7 +220,7 @@ dependencies = [
 
 [[package]]
 name = "autocxx-mdbook-preprocessor"
-version = "0.22.1"
+version = "0.22.2"
 dependencies = [
  "anyhow",
  "autocxx-integration-tests",
@@ -238,7 +238,7 @@ dependencies = [
 
 [[package]]
 name = "autocxx-parser"
-version = "0.22.1"
+version = "0.22.2"
 dependencies = [
  "indexmap",
  "itertools 0.10.3",
@@ -254,7 +254,7 @@ dependencies = [
 
 [[package]]
 name = "autocxx-reduce"
-version = "0.22.1"
+version = "0.22.2"
 dependencies = [
  "assert_cmd",
  "autocxx-engine",
diff --git a/Cargo.toml b/Cargo.toml
index 3d9a4e99e..a9e64a979 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,7 +8,7 @@
 
 [package]
 name = "autocxx"
-version = "0.22.1"
+version = "0.22.2"
 authors = ["Adrian Taylor <adetaylor@chromium.org>"]
 license = "MIT OR Apache-2.0"
 description = "Safe autogenerated interop between Rust and C++"
@@ -25,7 +25,7 @@ exclude = [ ".github", "book", "tools" ]
 resolver = "2"
 
 [dependencies]
-autocxx-macro = { path="macro", version="0.22.1" }
+autocxx-macro = { path="macro", version="0.22.2" }
 cxx = "1.0.68" # ... also needed because expansion of type_id refers to ::cxx
 aquamarine = "0.1" # docs
 moveit = { version = "0.5", features = [ "cxx" ] }
diff --git a/book/src/tutorial.md b/book/src/tutorial.md
index cd4c22b89..ef00d23e3 100644
--- a/book/src/tutorial.md
+++ b/book/src/tutorial.md
@@ -21,11 +21,11 @@ First, add `autocxx` *and `cxx`* to your `dependencies` and `autocxx-build` to y
 
 ```toml
 [dependencies]
-autocxx = "0.22.1"
+autocxx = "0.22.2"
 cxx = "1.0"
 
 [build-dependencies]
-autocxx-build = "0.22.1"
+autocxx-build = "0.22.2"
 miette = { version="4.3", features=["fancy"] } # optional but gives nicer error messages!
 ```
 
diff --git a/demo/Cargo.toml b/demo/Cargo.toml
index 54f562f07..d944225a1 100644
--- a/demo/Cargo.toml
+++ b/demo/Cargo.toml
@@ -8,14 +8,14 @@
 
 [package]
 name = "autocxx-demo"
-version = "0.22.1"
+version = "0.22.2"
 authors = ["Adrian Taylor <adetaylor@chromium.org>"]
 edition = "2021"
 
 [dependencies]
 cxx = "1.0.68"
-autocxx = { path = "..", version="0.22.1" }
+autocxx = { path = "..", version="0.22.2" }
 
 [build-dependencies]
-autocxx-build = { path = "../gen/build", version="0.22.1" }
+autocxx-build = { path = "../gen/build", version="0.22.2" }
 miette = { version="4.3", features=["fancy"]}
diff --git a/engine/Cargo.toml b/engine/Cargo.toml
index bc8c15b0c..948d5c750 100644
--- a/engine/Cargo.toml
+++ b/engine/Cargo.toml
@@ -8,7 +8,7 @@
 
 [package]
 name = "autocxx-engine"
-version = "0.22.1"
+version = "0.22.2"
 authors = ["Adrian Taylor <adetaylor@chromium.org>"]
 license = "MIT OR Apache-2.0"
 description = "Safe autogenerated interop between Rust and C++"
@@ -38,7 +38,7 @@ cc = { version = "1.0", optional = true }
 # There can be interdependencies between the code generated by cxx-gen and
 # what cxx expects to be there.
 cxx-gen = "0.7.68"
-autocxx-parser = { version = "=0.22.1", path="../parser" }
+autocxx-parser = { version = "=0.22.2", path="../parser" }
 version_check = "0.9"
 aquamarine = "0.1" # docs
 tempfile = "3.1"
diff --git a/examples/chromium-fake-render-frame-host/Cargo.toml b/examples/chromium-fake-render-frame-host/Cargo.toml
index 023c4a0b8..6c24a49ca 100644
--- a/examples/chromium-fake-render-frame-host/Cargo.toml
+++ b/examples/chromium-fake-render-frame-host/Cargo.toml
@@ -14,8 +14,8 @@ edition = "2021"
 
 [dependencies]
 cxx = "1.0.68"
-autocxx = { path = "../..", version="0.22.1" }
+autocxx = { path = "../..", version="0.22.2" }
 
 [build-dependencies]
-autocxx-build = { path = "../../gen/build", version="0.22.1" }
+autocxx-build = { path = "../../gen/build", version="0.22.2" }
 miette = { version="4.3", features = [ "fancy" ] }
diff --git a/examples/non-trivial-type-on-stack/Cargo.toml b/examples/non-trivial-type-on-stack/Cargo.toml
index a5cb35a87..af52ffecd 100644
--- a/examples/non-trivial-type-on-stack/Cargo.toml
+++ b/examples/non-trivial-type-on-stack/Cargo.toml
@@ -14,8 +14,8 @@ edition = "2021"
 
 [dependencies]
 cxx = "1.0.68"
-autocxx = { path = "../..", version="0.22.1" }
+autocxx = { path = "../..", version="0.22.2" }
 
 [build-dependencies]
-autocxx-build = { path = "../../gen/build", version="0.22.1" }
+autocxx-build = { path = "../../gen/build", version="0.22.2" }
 miette = { version="4.3", features = [ "fancy" ] }
diff --git a/examples/pod/Cargo.toml b/examples/pod/Cargo.toml
index aa4372914..77a2818c2 100644
--- a/examples/pod/Cargo.toml
+++ b/examples/pod/Cargo.toml
@@ -14,8 +14,8 @@ edition = "2021"
 
 [dependencies]
 cxx = "1.0.68"
-autocxx = { path = "../..", version="0.22.1" }
+autocxx = { path = "../..", version="0.22.2" }
 
 [build-dependencies]
-autocxx-build = { path = "../../gen/build", version="0.22.1" }
+autocxx-build = { path = "../../gen/build", version="0.22.2" }
 miette = { version="4.3", features = [ "fancy" ] }
diff --git a/examples/s2/Cargo.toml b/examples/s2/Cargo.toml
index 124f9363e..a9789623b 100644
--- a/examples/s2/Cargo.toml
+++ b/examples/s2/Cargo.toml
@@ -16,8 +16,8 @@ edition = "2021"
 
 [dependencies]
 cxx = "1.0.68"
-autocxx = { path = "../..", version="0.22.1" }
+autocxx = { path = "../..", version="0.22.2" }
 
 [build-dependencies]
-autocxx-build = { path = "../../gen/build", version="0.22.1" }
+autocxx-build = { path = "../../gen/build", version="0.22.2" }
 miette = { version="4.3", features = [ "fancy" ] }
diff --git a/examples/steam-mini/Cargo.toml b/examples/steam-mini/Cargo.toml
index 32beff356..ab98833f7 100644
--- a/examples/steam-mini/Cargo.toml
+++ b/examples/steam-mini/Cargo.toml
@@ -16,8 +16,8 @@ edition = "2021"
 
 [dependencies]
 cxx = "1.0.68"
-autocxx = { path = "../..", version="0.22.1" }
+autocxx = { path = "../..", version="0.22.2" }
 
 [build-dependencies]
-autocxx-build = { path = "../../gen/build", version="0.22.1" }
+autocxx-build = { path = "../../gen/build", version="0.22.2" }
 miette = { version="4.3", features = [ "fancy" ] }
diff --git a/examples/subclass/Cargo.toml b/examples/subclass/Cargo.toml
index 7a98510d7..980704d6d 100644
--- a/examples/subclass/Cargo.toml
+++ b/examples/subclass/Cargo.toml
@@ -16,12 +16,12 @@ edition = "2021"
 
 [dependencies]
 cxx = "1.0.68"
-autocxx = { path = "../..", version="0.22.1" }
+autocxx = { path = "../..", version="0.22.2" }
 uwuify = "0.2.2"
 textwrap = "0.14"
 fastrand = "1.5.0"
 
 [build-dependencies]
-autocxx-build = { path = "../../gen/build", version="0.22.1" }
+autocxx-build = { path = "../../gen/build", version="0.22.2" }
 regex = "1.5.4"
 miette = { version="4.3", features = [ "fancy" ] }
diff --git a/gen/build/Cargo.toml b/gen/build/Cargo.toml
index 75e4f49d7..4f47e7b6a 100644
--- a/gen/build/Cargo.toml
+++ b/gen/build/Cargo.toml
@@ -8,7 +8,7 @@
 
 [package]
 name = "autocxx-build"
-version = "0.22.1"
+version = "0.22.2"
 authors = ["Adrian Taylor <adetaylor@chromium.org>"]
 edition = "2021"
 license = "MIT OR Apache-2.0"
@@ -22,7 +22,7 @@ runtime = [ "autocxx-engine/runtime" ]
 static = [ "autocxx-engine/static" ]
 
 [dependencies]
-autocxx-engine = { version="=0.22.1", path="../../engine", features = ["build"] }
+autocxx-engine = { version="=0.22.2", path="../../engine", features = ["build"] }
 env_logger = "0.9.0"
 indexmap = "1.8"
 
diff --git a/gen/cmd/Cargo.toml b/gen/cmd/Cargo.toml
index bc206fccc..37f284493 100644
--- a/gen/cmd/Cargo.toml
+++ b/gen/cmd/Cargo.toml
@@ -8,7 +8,7 @@
 
 [package]
 name = "autocxx-gen"
-version = "0.22.1"
+version = "0.22.2"
 authors = ["Adrian Taylor <adetaylor@chromium.org>"]
 edition = "2021"
 license = "MIT OR Apache-2.0"
@@ -22,7 +22,7 @@ runtime = [ "autocxx-engine/runtime" ]
 static = [ "autocxx-engine/static" ]
 
 [dependencies]
-autocxx-engine = { version="=0.22.1", path="../../engine" }
+autocxx-engine = { version="=0.22.2", path="../../engine" }
 clap = { version = "3.1.2", features = ["cargo"] }
 proc-macro2 = "1.0"
 env_logger = "0.9.0"
@@ -33,7 +33,7 @@ indexmap = "1.8"
 [dev-dependencies]
 assert_cmd = "1.0.3"
 tempfile = "3.1"
-autocxx-integration-tests = { path = "../../integration-tests", version="=0.22.1" }
+autocxx-integration-tests = { path = "../../integration-tests", version="=0.22.2" }
 # This is necessary for building the projects created
 # by the trybuild test system...
 autocxx = { path="../.." }
diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml
index 331a2d218..a8173aa1b 100644
--- a/integration-tests/Cargo.toml
+++ b/integration-tests/Cargo.toml
@@ -8,7 +8,7 @@
 
 [package]
 name = "autocxx-integration-tests"
-version = "0.22.1"
+version = "0.22.2"
 autotests = false
 edition = "2021"
 authors = ["Adrian Taylor <adetaylor@chromium.org>"]
@@ -27,10 +27,10 @@ rust_info = "0.3.1"
 cc = "1.0"
 quote = "1.0"
 once_cell = "1.7"
-autocxx-engine = { version="=0.22.1", path="../engine", features = ["build"] }
+autocxx-engine = { version="=0.22.2", path="../engine", features = ["build"] }
 # This is necessary for building the projects created
 # by the trybuild test system...
-autocxx = { path="..", version="=0.22.1" }
+autocxx = { path="..", version="=0.22.2" }
 link-cplusplus = "1.0"
 tempfile = "3.1"
 indoc = "1.0"
diff --git a/macro/Cargo.toml b/macro/Cargo.toml
index 7ac0b501d..c1ea1dc2a 100644
--- a/macro/Cargo.toml
+++ b/macro/Cargo.toml
@@ -8,7 +8,7 @@
 
 [package]
 name = "autocxx-macro"
-version = "0.22.1"
+version = "0.22.2"
 authors = ["Adrian Taylor <adetaylor@chromium.org>"]
 license = "MIT OR Apache-2.0"
 description = "Safe autogenerated interop between Rust and C++"
@@ -21,7 +21,7 @@ categories = ["development-tools::ffi", "api-bindings"]
 proc-macro = true
 
 [dependencies]
-autocxx-parser = { path="../parser", version="=0.22.1" }
+autocxx-parser = { path="../parser", version="=0.22.2" }
 proc-macro-error = "1.0"
 proc-macro2 = "1.0.11"
 quote = "1.0"
diff --git a/parser/Cargo.toml b/parser/Cargo.toml
index 92c92bd06..1f82c948a 100644
--- a/parser/Cargo.toml
+++ b/parser/Cargo.toml
@@ -8,7 +8,7 @@
 
 [package]
 name = "autocxx-parser"
-version = "0.22.1"
+version = "0.22.2"
 authors = ["Adrian Taylor <adetaylor@chromium.org>"]
 license = "MIT OR Apache-2.0"
 description = "Safe autogenerated interop between Rust and C++"
diff --git a/tools/mdbook-preprocessor/Cargo.toml b/tools/mdbook-preprocessor/Cargo.toml
index 95ecf4067..76fab0008 100644
--- a/tools/mdbook-preprocessor/Cargo.toml
+++ b/tools/mdbook-preprocessor/Cargo.toml
@@ -8,7 +8,7 @@
 
 [package]
 name = "autocxx-mdbook-preprocessor"
-version = "0.22.1"
+version = "0.22.2"
 authors = ["adetaylor <adetaylor@chromium.org>"]
 edition = "2021"
 
@@ -18,7 +18,7 @@ serde_json = "1"
 itertools = "0.10"
 anyhow = "1"
 regex = "1"
-autocxx-integration-tests = { path = "../../integration-tests", version="=0.22.1"}
+autocxx-integration-tests = { path = "../../integration-tests", version="=0.22.2"}
 rayon = "1.5"
 gag = "1.0"
 env_logger = "0.9.0"
diff --git a/tools/reduce/Cargo.toml b/tools/reduce/Cargo.toml
index 77ba6611a..30432736d 100644
--- a/tools/reduce/Cargo.toml
+++ b/tools/reduce/Cargo.toml
@@ -8,15 +8,15 @@
 
 [package]
 name = "autocxx-reduce"
-version = "0.22.1"
+version = "0.22.2"
 authors = ["adetaylor <adetaylor@chromium.org>"]
 edition = "2021"
 
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-autocxx-engine = { version = "=0.22.1", path="../../engine" }
-autocxx-parser = { version = "=0.22.1", path="../../parser", features = [ "reproduction_case" ] }
+autocxx-engine = { version = "=0.22.2", path="../../engine" }
+autocxx-parser = { version = "=0.22.2", path="../../parser", features = [ "reproduction_case" ] }
 clap = { version = "3.1.2", features = ["cargo"] }
 tempfile = "3.1"
 indoc = "1.0"
diff --git a/tools/stress-test/Cargo.toml b/tools/stress-test/Cargo.toml
index e050dcb6e..965e351e9 100644
--- a/tools/stress-test/Cargo.toml
+++ b/tools/stress-test/Cargo.toml
@@ -8,14 +8,14 @@
 
 [package]
 name = "autocxx-stress-test"
-version = "0.22.1"
+version = "0.22.2"
 authors = ["Adrian Taylor <adetaylor@chromium.org>"]
 edition = "2021"
 
 [dependencies]
 cxx = "1.0.68"
-autocxx = { path = "../..", version="0.22.1" }
+autocxx = { path = "../..", version="0.22.2" }
 
 [build-dependencies]
-autocxx-build = { path = "../../gen/build", version="0.22.1" }
+autocxx-build = { path = "../../gen/build", version="0.22.2" }
 miette = { version="4.3", features=["fancy"]}