diff --git a/Cargo.lock b/Cargo.lock index 2a088cb3a..7e587ea1f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -154,7 +154,7 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "autocxx" -version = "0.25.0" +version = "0.26.0" dependencies = [ "aquamarine", "autocxx-macro", @@ -188,7 +188,7 @@ dependencies = [ [[package]] name = "autocxx-build" -version = "0.25.0" +version = "0.26.0" dependencies = [ "autocxx-engine", "env_logger 0.9.3", @@ -198,7 +198,7 @@ dependencies = [ [[package]] name = "autocxx-demo" -version = "0.25.0" +version = "0.26.0" dependencies = [ "autocxx", "autocxx-build", @@ -208,7 +208,7 @@ dependencies = [ [[package]] name = "autocxx-engine" -version = "0.25.0" +version = "0.26.0" dependencies = [ "aquamarine", "autocxx-bindgen", @@ -236,7 +236,7 @@ dependencies = [ [[package]] name = "autocxx-gen" -version = "0.25.0" +version = "0.26.0" dependencies = [ "assert_cmd", "autocxx", @@ -255,7 +255,7 @@ dependencies = [ [[package]] name = "autocxx-integration-tests" -version = "0.25.0" +version = "0.26.0" dependencies = [ "autocxx", "autocxx-engine", @@ -281,7 +281,7 @@ dependencies = [ [[package]] name = "autocxx-macro" -version = "0.25.0" +version = "0.26.0" dependencies = [ "autocxx-parser", "proc-macro-error", @@ -292,7 +292,7 @@ dependencies = [ [[package]] name = "autocxx-mdbook-preprocessor" -version = "0.25.0" +version = "0.26.0" dependencies = [ "anyhow", "autocxx-integration-tests", @@ -310,7 +310,7 @@ dependencies = [ [[package]] name = "autocxx-parser" -version = "0.25.0" +version = "0.26.0" dependencies = [ "indexmap", "itertools 0.10.5", @@ -326,7 +326,7 @@ dependencies = [ [[package]] name = "autocxx-reduce" -version = "0.25.0" +version = "0.26.0" dependencies = [ "assert_cmd", "autocxx-engine", diff --git a/Cargo.toml b/Cargo.toml index 180ec5c3e..0aaa33f1e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ [package] name = "autocxx" -version = "0.25.0" +version = "0.26.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.25.0" } +autocxx-macro = { path="macro", version="0.26.0" } cxx = "1.0.78" # ... also needed because expansion of type_id refers to ::cxx aquamarine = "0.1" # docs moveit = { version = "0.6", features = [ "cxx" ] } diff --git a/book/src/tutorial.md b/book/src/tutorial.md index 2ed8dcbd4..5582cd98a 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.25.0" +autocxx = "0.26.0" cxx = "1.0" [build-dependencies] -autocxx-build = "0.25.0" +autocxx-build = "0.26.0" miette = { version = "5", features = ["fancy"] } # optional but gives nicer error messages! ``` diff --git a/demo/Cargo.toml b/demo/Cargo.toml index 44026b784..7064bea3e 100644 --- a/demo/Cargo.toml +++ b/demo/Cargo.toml @@ -8,14 +8,14 @@ [package] name = "autocxx-demo" -version = "0.25.0" +version = "0.26.0" authors = ["Adrian Taylor "] edition = "2021" [dependencies] cxx = "1.0.78" -autocxx = { path = "..", version = "0.25.0" } +autocxx = { path = "..", version = "0.26.0" } [build-dependencies] -autocxx-build = { path = "../gen/build", version = "0.25.0" } +autocxx-build = { path = "../gen/build", version = "0.26.0" } miette = { version = "5", features = ["fancy"] } diff --git a/engine/Cargo.toml b/engine/Cargo.toml index 4a887f12c..f2c9e46c2 100644 --- a/engine/Cargo.toml +++ b/engine/Cargo.toml @@ -8,7 +8,7 @@ [package] name = "autocxx-engine" -version = "0.25.0" +version = "0.26.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.78" -autocxx-parser = { version = "=0.25.0", path = "../parser" } +autocxx-parser = { version = "=0.26.0", path = "../parser" } version_check = "0.9" aquamarine = "0.1" # docs tempfile = "3.4" diff --git a/examples/chromium-fake-render-frame-host/Cargo.toml b/examples/chromium-fake-render-frame-host/Cargo.toml index 0d0a69778..9cc05cd87 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.78" -autocxx = { path = "../..", version = "0.25.0" } +autocxx = { path = "../..", version = "0.26.0" } [build-dependencies] -autocxx-build = { path = "../../gen/build", version = "0.25.0" } +autocxx-build = { path = "../../gen/build", version = "0.26.0" } miette = { version = "5", features = ["fancy"] } diff --git a/examples/cpp_calling_rust/Cargo.toml b/examples/cpp_calling_rust/Cargo.toml index 2c442553e..2814194cd 100644 --- a/examples/cpp_calling_rust/Cargo.toml +++ b/examples/cpp_calling_rust/Cargo.toml @@ -15,12 +15,12 @@ edition = "2021" [dependencies] cxx = "1.0.78" -autocxx = { path = "../..", version="0.25.0" } +autocxx = { path = "../..", version="0.26.0" } uwuify = "0.2.2" textwrap = "0.14" fastrand = "1.5.0" [build-dependencies] -autocxx-build = { path = "../../gen/build", version="0.25.0" } +autocxx-build = { path = "../../gen/build", version="0.26.0" } regex = "1.5.4" miette = { version="5", features = [ "fancy" ] } diff --git a/examples/llvm/Cargo.toml b/examples/llvm/Cargo.toml index 382566906..3c274ac99 100644 --- a/examples/llvm/Cargo.toml +++ b/examples/llvm/Cargo.toml @@ -14,8 +14,8 @@ edition = "2021" [dependencies] cxx = "1.0.78" -autocxx = { path = "../..", version = "0.25.0" } +autocxx = { path = "../..", version = "0.26.0" } [build-dependencies] -autocxx-build = { path = "../../gen/build", version = "0.25.0" } +autocxx-build = { path = "../../gen/build", version = "0.26.0" } miette = { version = "5", features = ["fancy"] } diff --git a/examples/non-trivial-type-on-stack/Cargo.toml b/examples/non-trivial-type-on-stack/Cargo.toml index 1e7562160..7af139e0f 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.78" -autocxx = { path = "../..", version = "0.25.0" } +autocxx = { path = "../..", version = "0.26.0" } [build-dependencies] -autocxx-build = { path = "../../gen/build", version = "0.25.0" } +autocxx-build = { path = "../../gen/build", version = "0.26.0" } miette = { version = "5", features = ["fancy"] } diff --git a/examples/pod/Cargo.toml b/examples/pod/Cargo.toml index 61cbaf3be..e05d2615f 100644 --- a/examples/pod/Cargo.toml +++ b/examples/pod/Cargo.toml @@ -14,8 +14,8 @@ edition = "2021" [dependencies] cxx = "1.0.78" -autocxx = { path = "../..", version = "0.25.0" } +autocxx = { path = "../..", version = "0.26.0" } [build-dependencies] -autocxx-build = { path = "../../gen/build", version = "0.25.0" } +autocxx-build = { path = "../../gen/build", version = "0.26.0" } miette = { version = "5", features = ["fancy"] } diff --git a/examples/reference-wrappers/Cargo.toml b/examples/reference-wrappers/Cargo.toml index 986d3b5b6..93c68ba79 100644 --- a/examples/reference-wrappers/Cargo.toml +++ b/examples/reference-wrappers/Cargo.toml @@ -14,8 +14,8 @@ edition = "2021" [dependencies] cxx = "1.0.78" -autocxx = { path = "../..", version = "0.25.0" } +autocxx = { path = "../..", version = "0.26.0" } [build-dependencies] -autocxx-build = { path = "../../gen/build", version = "0.25.0" } +autocxx-build = { path = "../../gen/build", version = "0.26.0" } miette = { version = "5", features = ["fancy"] } diff --git a/examples/s2/Cargo.toml b/examples/s2/Cargo.toml index 70325e8c7..c93706b6d 100644 --- a/examples/s2/Cargo.toml +++ b/examples/s2/Cargo.toml @@ -16,8 +16,8 @@ edition = "2021" [dependencies] cxx = "1.0.78" -autocxx = { path = "../..", version = "0.25.0" } +autocxx = { path = "../..", version = "0.26.0" } [build-dependencies] -autocxx-build = { path = "../../gen/build", version = "0.25.0" } +autocxx-build = { path = "../../gen/build", version = "0.26.0" } miette = { version = "5", features = ["fancy"] } diff --git a/examples/steam-mini/Cargo.toml b/examples/steam-mini/Cargo.toml index 300ce91b0..5162f9651 100644 --- a/examples/steam-mini/Cargo.toml +++ b/examples/steam-mini/Cargo.toml @@ -16,8 +16,8 @@ edition = "2021" [dependencies] cxx = "1.0.78" -autocxx = { path = "../..", version = "0.25.0" } +autocxx = { path = "../..", version = "0.26.0" } [build-dependencies] -autocxx-build = { path = "../../gen/build", version = "0.25.0" } +autocxx-build = { path = "../../gen/build", version = "0.26.0" } miette = { version = "5", features = ["fancy"] } diff --git a/examples/subclass/Cargo.toml b/examples/subclass/Cargo.toml index 0c1a188e2..a19ea271c 100644 --- a/examples/subclass/Cargo.toml +++ b/examples/subclass/Cargo.toml @@ -16,12 +16,12 @@ edition = "2021" [dependencies] cxx = "1.0.78" -autocxx = { path = "../..", version = "0.25.0" } +autocxx = { path = "../..", version = "0.26.0" } uwuify = "0.2.2" textwrap = "0.15" fastrand = "1.5.0" [build-dependencies] -autocxx-build = { path = "../../gen/build", version = "0.25.0" } +autocxx-build = { path = "../../gen/build", version = "0.26.0" } regex = "1.5.4" miette = { version = "5", features = ["fancy"] } diff --git a/gen/build/Cargo.toml b/gen/build/Cargo.toml index 33d44989a..d101f9196 100644 --- a/gen/build/Cargo.toml +++ b/gen/build/Cargo.toml @@ -8,7 +8,7 @@ [package] name = "autocxx-build" -version = "0.25.0" +version = "0.26.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.25.0", path = "../../engine", features = [ +autocxx-engine = { version = "=0.26.0", path = "../../engine", features = [ "build", ] } env_logger = "0.9.0" diff --git a/gen/cmd/Cargo.toml b/gen/cmd/Cargo.toml index 040e1130b..7a78ba3ea 100644 --- a/gen/cmd/Cargo.toml +++ b/gen/cmd/Cargo.toml @@ -8,7 +8,7 @@ [package] name = "autocxx-gen" -version = "0.25.0" +version = "0.26.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.25.0", path = "../../engine" } +autocxx-engine = { version = "=0.26.0", path = "../../engine" } clap = { version = "3.1.2", features = ["cargo"] } proc-macro2 = "1.0" env_logger = "0.9.0" @@ -36,6 +36,6 @@ tempfile = "3.1" # This is necessary for building the projects created # by the trybuild test system... autocxx = { path = "../.." } -autocxx-integration-tests = { path = "../../integration-tests", version = "=0.25.0" } +autocxx-integration-tests = { path = "../../integration-tests", version = "=0.26.0" } cxx = "1.0.78" itertools = "0.10.3" diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 99ace357b..78384ce24 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -8,7 +8,7 @@ [package] name = "autocxx-integration-tests" -version = "0.25.0" +version = "0.26.0" autotests = false edition = "2021" authors = ["Adrian Taylor "] @@ -29,8 +29,8 @@ quote = "1.0" once_cell = "1.7" # This is necessary for building the projects created # by the trybuild test system... -autocxx = { path = "..", version = "=0.25.0" } -autocxx-engine = { version = "=0.25.0", path = "../engine", features = [ +autocxx = { path = "..", version = "=0.26.0" } +autocxx-engine = { version = "=0.26.0", path = "../engine", features = [ "build", ] } moveit = { version = "0.6", features = [ "cxx" ] } diff --git a/macro/Cargo.toml b/macro/Cargo.toml index 020761feb..00f7e2804 100644 --- a/macro/Cargo.toml +++ b/macro/Cargo.toml @@ -8,7 +8,7 @@ [package] name = "autocxx-macro" -version = "0.25.0" +version = "0.26.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.25.0" } +autocxx-parser = { path = "../parser", version = "=0.26.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 693029e4a..07a1f1e44 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -8,7 +8,7 @@ [package] name = "autocxx-parser" -version = "0.25.0" +version = "0.26.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 329bdea45..b6fb48c83 100644 --- a/tools/mdbook-preprocessor/Cargo.toml +++ b/tools/mdbook-preprocessor/Cargo.toml @@ -8,7 +8,7 @@ [package] name = "autocxx-mdbook-preprocessor" -version = "0.25.0" +version = "0.26.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.25.0" } +autocxx-integration-tests = { path = "../../integration-tests", version = "=0.26.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 af2a8b6b6..c60d2d06c 100644 --- a/tools/reduce/Cargo.toml +++ b/tools/reduce/Cargo.toml @@ -8,15 +8,15 @@ [package] name = "autocxx-reduce" -version = "0.25.0" +version = "0.26.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.25.0", path = "../../engine" } -autocxx-parser = { version = "=0.25.0", path = "../../parser", features = [ +autocxx-engine = { version = "=0.26.0", path = "../../engine" } +autocxx-parser = { version = "=0.26.0", path = "../../parser", features = [ "reproduction_case", ] } clap = { version = "3.1.2", features = ["cargo"] } diff --git a/tools/stress-test/Cargo.toml b/tools/stress-test/Cargo.toml index e137bcdf4..7788fe32f 100644 --- a/tools/stress-test/Cargo.toml +++ b/tools/stress-test/Cargo.toml @@ -8,14 +8,14 @@ [package] name = "autocxx-stress-test" -version = "0.25.0" +version = "0.26.0" authors = ["Adrian Taylor "] edition = "2021" [dependencies] cxx = "1.0.78" -autocxx = { path = "../..", version = "0.25.0" } +autocxx = { path = "../..", version = "0.26.0" } [build-dependencies] -autocxx-build = { path = "../../gen/build", version = "0.25.0" } +autocxx-build = { path = "../../gen/build", version = "0.26.0" } miette = { version = "5", features = ["fancy"] }