diff --git a/Cargo.lock b/Cargo.lock index b574d4f0d..6b0e0b4c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -87,7 +87,7 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "autocxx" -version = "0.20.1" +version = "0.21.0" dependencies = [ "aquamarine", "autocxx-macro", @@ -121,7 +121,7 @@ dependencies = [ [[package]] name = "autocxx-build" -version = "0.20.1" +version = "0.21.0" dependencies = [ "autocxx-engine", "env_logger 0.9.0", @@ -130,7 +130,7 @@ dependencies = [ [[package]] name = "autocxx-demo" -version = "0.20.1" +version = "0.21.0" dependencies = [ "autocxx", "autocxx-build", @@ -140,7 +140,7 @@ dependencies = [ [[package]] name = "autocxx-engine" -version = "0.20.1" +version = "0.21.0" dependencies = [ "aquamarine", "autocxx-bindgen", @@ -165,7 +165,7 @@ dependencies = [ [[package]] name = "autocxx-gen" -version = "0.20.1" +version = "0.21.0" dependencies = [ "assert_cmd", "autocxx", @@ -183,7 +183,7 @@ dependencies = [ [[package]] name = "autocxx-integration-tests" -version = "0.20.1" +version = "0.21.0" dependencies = [ "autocxx", "autocxx-engine", @@ -206,7 +206,7 @@ dependencies = [ [[package]] name = "autocxx-macro" -version = "0.20.1" +version = "0.21.0" dependencies = [ "autocxx-parser", "proc-macro-error", @@ -217,7 +217,7 @@ dependencies = [ [[package]] name = "autocxx-mdbook-preprocessor" -version = "0.20.1" +version = "0.21.0" dependencies = [ "anyhow", "autocxx-integration-tests", @@ -235,7 +235,7 @@ dependencies = [ [[package]] name = "autocxx-parser" -version = "0.20.1" +version = "0.21.0" dependencies = [ "log", "proc-macro2", @@ -248,7 +248,7 @@ dependencies = [ [[package]] name = "autocxx-reduce" -version = "0.20.1" +version = "0.21.0" dependencies = [ "assert_cmd", "autocxx-engine", diff --git a/Cargo.toml b/Cargo.toml index f3c18679b..bc153c35f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ [package] name = "autocxx" -version = "0.20.1" +version = "0.21.0" authors = ["Adrian Taylor "] 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.20.1" } +autocxx-macro = { path="macro", version="0.21.0" } cxx = "1.0.54" # ... 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 b865db344..48c3b1a60 100644 --- a/book/src/tutorial.md +++ b/book/src/tutorial.md @@ -19,11 +19,11 @@ First, add `autocxx` *and `cxx`* to your `dependencies` and `autocxx-build` to y ```toml [dependencies] -autocxx = "0.20.1" +autocxx = "0.21.0" cxx = "1.0" [build-dependencies] -autocxx-build = "0.20.1" +autocxx-build = "0.21.0" miette = { version="4.3", features=["fancy"] } // optional but gives nicer error messages! ``` diff --git a/demo/Cargo.toml b/demo/Cargo.toml index 6e9b8069e..16e97e1c1 100644 --- a/demo/Cargo.toml +++ b/demo/Cargo.toml @@ -8,14 +8,14 @@ [package] name = "autocxx-demo" -version = "0.20.1" +version = "0.21.0" authors = ["Adrian Taylor "] edition = "2021" [dependencies] cxx = "1.0.54" -autocxx = { path = "..", version="0.20.1" } +autocxx = { path = "..", version="0.21.0" } [build-dependencies] -autocxx-build = { path = "../gen/build", version="0.20.1" } +autocxx-build = { path = "../gen/build", version="0.21.0" } miette = { version="4.3", features=["fancy"]} diff --git a/engine/Cargo.toml b/engine/Cargo.toml index 28ccc797a..7dfc322ab 100644 --- a/engine/Cargo.toml +++ b/engine/Cargo.toml @@ -8,7 +8,7 @@ [package] name = "autocxx-engine" -version = "0.20.1" +version = "0.21.0" authors = ["Adrian Taylor "] 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.54" -autocxx-parser = { version = "=0.20.1", path="../parser" } +autocxx-parser = { version = "=0.21.0", 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 de1a95fdb..fd5547642 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.54" -autocxx = { path = "../..", version="0.20.1" } +autocxx = { path = "../..", version="0.21.0" } [build-dependencies] -autocxx-build = { path = "../../gen/build", version="0.20.1" } +autocxx-build = { path = "../../gen/build", version="0.21.0" } 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 ce391327b..d3fa8fb37 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.54" -autocxx = { path = "../..", version="0.20.1" } +autocxx = { path = "../..", version="0.21.0" } [build-dependencies] -autocxx-build = { path = "../../gen/build", version="0.20.1" } +autocxx-build = { path = "../../gen/build", version="0.21.0" } miette = { version="4.3", features = [ "fancy" ] } diff --git a/examples/pod/Cargo.toml b/examples/pod/Cargo.toml index cd1fd8a0b..0aca3ea5e 100644 --- a/examples/pod/Cargo.toml +++ b/examples/pod/Cargo.toml @@ -14,8 +14,8 @@ edition = "2021" [dependencies] cxx = "1.0.54" -autocxx = { path = "../..", version="0.20.1" } +autocxx = { path = "../..", version="0.21.0" } [build-dependencies] -autocxx-build = { path = "../../gen/build", version="0.20.1" } +autocxx-build = { path = "../../gen/build", version="0.21.0" } miette = { version="4.3", features = [ "fancy" ] } diff --git a/examples/s2/Cargo.toml b/examples/s2/Cargo.toml index 9d3e89e2c..1c76e2b99 100644 --- a/examples/s2/Cargo.toml +++ b/examples/s2/Cargo.toml @@ -16,8 +16,8 @@ edition = "2021" [dependencies] cxx = "1.0.54" -autocxx = { path = "../..", version="0.20.1" } +autocxx = { path = "../..", version="0.21.0" } [build-dependencies] -autocxx-build = { path = "../../gen/build", version="0.20.1" } +autocxx-build = { path = "../../gen/build", version="0.21.0" } miette = { version="4.3", features = [ "fancy" ] } diff --git a/examples/steam-mini/Cargo.toml b/examples/steam-mini/Cargo.toml index 3e1a9f3c8..38ddb0ce9 100644 --- a/examples/steam-mini/Cargo.toml +++ b/examples/steam-mini/Cargo.toml @@ -16,8 +16,8 @@ edition = "2021" [dependencies] cxx = "1.0.54" -autocxx = { path = "../..", version="0.20.1" } +autocxx = { path = "../..", version="0.21.0" } [build-dependencies] -autocxx-build = { path = "../../gen/build", version="0.20.1" } +autocxx-build = { path = "../../gen/build", version="0.21.0" } miette = { version="4.3", features = [ "fancy" ] } diff --git a/examples/subclass/Cargo.toml b/examples/subclass/Cargo.toml index 6419352d3..554e42e98 100644 --- a/examples/subclass/Cargo.toml +++ b/examples/subclass/Cargo.toml @@ -16,12 +16,12 @@ edition = "2021" [dependencies] cxx = "1.0.54" -autocxx = { path = "../..", version="0.20.1" } +autocxx = { path = "../..", version="0.21.0" } uwuify = "0.2.2" textwrap = "0.14" fastrand = "1.5.0" [build-dependencies] -autocxx-build = { path = "../../gen/build", version="0.20.1" } +autocxx-build = { path = "../../gen/build", version="0.21.0" } regex = "1.5.4" miette = { version="4.3", features = [ "fancy" ] } diff --git a/gen/build/Cargo.toml b/gen/build/Cargo.toml index 2c1322301..c20edb60a 100644 --- a/gen/build/Cargo.toml +++ b/gen/build/Cargo.toml @@ -8,7 +8,7 @@ [package] name = "autocxx-build" -version = "0.20.1" +version = "0.21.0" authors = ["Adrian Taylor "] 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.20.1", path="../../engine", features = ["build"] } +autocxx-engine = { version="=0.21.0", path="../../engine", features = ["build"] } env_logger = "0.9.0" [dependencies.syn] diff --git a/gen/cmd/Cargo.toml b/gen/cmd/Cargo.toml index 3df594ee9..a3de892b3 100644 --- a/gen/cmd/Cargo.toml +++ b/gen/cmd/Cargo.toml @@ -8,7 +8,7 @@ [package] name = "autocxx-gen" -version = "0.20.1" +version = "0.21.0" authors = ["Adrian Taylor "] 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.20.1", path="../../engine" } +autocxx-engine = { version="=0.21.0", path="../../engine" } clap = "~2.33" quote = "1.0.7" proc-macro2 = "1.0" @@ -33,7 +33,7 @@ pathdiff = "0.2.1" [dev-dependencies] assert_cmd = "1.0.3" tempdir = "0.3.7" -autocxx-integration-tests = { path = "../../integration-tests", version="=0.20.1" } +autocxx-integration-tests = { path = "../../integration-tests", version="=0.21.0" } # 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 c5e3450ef..c43bdd543 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -8,7 +8,7 @@ [package] name = "autocxx-integration-tests" -version = "0.20.1" +version = "0.21.0" autotests = false edition = "2021" authors = ["Adrian Taylor "] @@ -27,10 +27,10 @@ rust_info = "0.3.1" cc = "1.0" quote = "1.0" once_cell = "1.7" -autocxx-engine = { version="=0.20.1", path="../engine", features = ["build"] } +autocxx-engine = { version="=0.21.0", path="../engine", features = ["build"] } # This is necessary for building the projects created # by the trybuild test system... -autocxx = { path="..", version="=0.20.1" } +autocxx = { path="..", version="=0.21.0" } link-cplusplus = "1.0" tempfile = "3.1" indoc = "1.0" diff --git a/macro/Cargo.toml b/macro/Cargo.toml index 8c548db4a..33d082d87 100644 --- a/macro/Cargo.toml +++ b/macro/Cargo.toml @@ -8,7 +8,7 @@ [package] name = "autocxx-macro" -version = "0.20.1" +version = "0.21.0" authors = ["Adrian Taylor "] 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.20.1" } +autocxx-parser = { path="../parser", version="=0.21.0" } proc-macro-error = "1.0" proc-macro2 = "1.0.11" quote = "1.0" diff --git a/parser/Cargo.toml b/parser/Cargo.toml index 88b2908bb..3d915a764 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -8,7 +8,7 @@ [package] name = "autocxx-parser" -version = "0.20.1" +version = "0.21.0" authors = ["Adrian Taylor "] 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 0d71e4d3c..6f9bbf0d6 100644 --- a/tools/mdbook-preprocessor/Cargo.toml +++ b/tools/mdbook-preprocessor/Cargo.toml @@ -8,7 +8,7 @@ [package] name = "autocxx-mdbook-preprocessor" -version = "0.20.1" +version = "0.21.0" authors = ["adetaylor "] edition = "2021" @@ -18,7 +18,7 @@ serde_json = "1" itertools = "0.10" anyhow = "1" regex = "1" -autocxx-integration-tests = { path = "../../integration-tests", version="=0.20.1"} +autocxx-integration-tests = { path = "../../integration-tests", version="=0.21.0"} rayon = "1.5" gag = "1.0" env_logger = "0.9.0" diff --git a/tools/reduce/Cargo.toml b/tools/reduce/Cargo.toml index 688896b9b..b6005bea4 100644 --- a/tools/reduce/Cargo.toml +++ b/tools/reduce/Cargo.toml @@ -8,15 +8,15 @@ [package] name = "autocxx-reduce" -version = "0.20.1" +version = "0.21.0" authors = ["adetaylor "] edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -autocxx-engine = { version = "=0.20.1", path="../../engine" } -autocxx-parser = { version = "=0.20.1", path="../../parser", features = [ "reproduction_case" ] } +autocxx-engine = { version = "=0.21.0", path="../../engine" } +autocxx-parser = { version = "=0.21.0", path="../../parser", features = [ "reproduction_case" ] } clap = "~2.33.0" tempfile = "3.1" indoc = "1.0"