Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise to 0.22.4. #1154

Merged
merged 1 commit into from
Sep 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[package]
name = "autocxx"
version = "0.22.3"
version = "0.22.4"
authors = ["Adrian Taylor <adetaylor@chromium.org>"]
license = "MIT OR Apache-2.0"
description = "Safe autogenerated interop between Rust and C++"
Expand All @@ -25,7 +25,7 @@ exclude = [ ".github", "book", "tools" ]
resolver = "2"

[dependencies]
autocxx-macro = { path="macro", version="0.22.3" }
autocxx-macro = { path="macro", version="0.22.4" }
cxx = "1.0.68" # ... also needed because expansion of type_id refers to ::cxx
aquamarine = "0.1" # docs
moveit = { version = "0.5", features = [ "cxx" ] }
Expand Down
4 changes: 2 additions & 2 deletions book/src/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ First, add `autocxx` *and `cxx`* to your `dependencies` and `autocxx-build` to y

```toml
[dependencies]
autocxx = "0.22.3"
autocxx = "0.22.4"
cxx = "1.0"

[build-dependencies]
autocxx-build = "0.22.3"
autocxx-build = "0.22.4"
miette = { version="4.3", features=["fancy"] } # optional but gives nicer error messages!
```

Expand Down
6 changes: 3 additions & 3 deletions demo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@

[package]
name = "autocxx-demo"
version = "0.22.3"
version = "0.22.4"
authors = ["Adrian Taylor <adetaylor@chromium.org>"]
edition = "2021"

[dependencies]
cxx = "1.0.68"
autocxx = { path = "..", version="0.22.3" }
autocxx = { path = "..", version="0.22.4" }

[build-dependencies]
autocxx-build = { path = "../gen/build", version="0.22.3" }
autocxx-build = { path = "../gen/build", version="0.22.4" }
miette = { version="4.3", features=["fancy"]}
4 changes: 2 additions & 2 deletions engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[package]
name = "autocxx-engine"
version = "0.22.3"
version = "0.22.4"
authors = ["Adrian Taylor <adetaylor@chromium.org>"]
license = "MIT OR Apache-2.0"
description = "Safe autogenerated interop between Rust and C++"
Expand Down Expand Up @@ -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.3", path="../parser" }
autocxx-parser = { version = "=0.22.4", path="../parser" }
version_check = "0.9"
aquamarine = "0.1" # docs
tempfile = "3.1"
Expand Down
4 changes: 2 additions & 2 deletions examples/chromium-fake-render-frame-host/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ edition = "2021"

[dependencies]
cxx = "1.0.68"
autocxx = { path = "../..", version="0.22.3" }
autocxx = { path = "../..", version="0.22.4" }

[build-dependencies]
autocxx-build = { path = "../../gen/build", version="0.22.3" }
autocxx-build = { path = "../../gen/build", version="0.22.4" }
miette = { version="4.3", features = [ "fancy" ] }
4 changes: 2 additions & 2 deletions examples/non-trivial-type-on-stack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ edition = "2021"

[dependencies]
cxx = "1.0.68"
autocxx = { path = "../..", version="0.22.3" }
autocxx = { path = "../..", version="0.22.4" }

[build-dependencies]
autocxx-build = { path = "../../gen/build", version="0.22.3" }
autocxx-build = { path = "../../gen/build", version="0.22.4" }
miette = { version="4.3", features = [ "fancy" ] }
4 changes: 2 additions & 2 deletions examples/pod/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ edition = "2021"

[dependencies]
cxx = "1.0.68"
autocxx = { path = "../..", version="0.22.3" }
autocxx = { path = "../..", version="0.22.4" }

[build-dependencies]
autocxx-build = { path = "../../gen/build", version="0.22.3" }
autocxx-build = { path = "../../gen/build", version="0.22.4" }
miette = { version="4.3", features = [ "fancy" ] }
4 changes: 2 additions & 2 deletions examples/reference-wrappers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ edition = "2021"

[dependencies]
cxx = "1.0.68"
autocxx = { path = "../..", version="0.22.3" }
autocxx = { path = "../..", version="0.22.4" }

[build-dependencies]
autocxx-build = { path = "../../gen/build", version="0.22.3" }
autocxx-build = { path = "../../gen/build", version="0.22.4" }
miette = { version="4.3", features=["fancy"]}
4 changes: 2 additions & 2 deletions examples/s2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ edition = "2021"

[dependencies]
cxx = "1.0.68"
autocxx = { path = "../..", version="0.22.3" }
autocxx = { path = "../..", version="0.22.4" }

[build-dependencies]
autocxx-build = { path = "../../gen/build", version="0.22.3" }
autocxx-build = { path = "../../gen/build", version="0.22.4" }
miette = { version="4.3", features = [ "fancy" ] }
4 changes: 2 additions & 2 deletions examples/steam-mini/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ edition = "2021"

[dependencies]
cxx = "1.0.68"
autocxx = { path = "../..", version="0.22.3" }
autocxx = { path = "../..", version="0.22.4" }

[build-dependencies]
autocxx-build = { path = "../../gen/build", version="0.22.3" }
autocxx-build = { path = "../../gen/build", version="0.22.4" }
miette = { version="4.3", features = [ "fancy" ] }
4 changes: 2 additions & 2 deletions examples/subclass/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ edition = "2021"

[dependencies]
cxx = "1.0.68"
autocxx = { path = "../..", version="0.22.3" }
autocxx = { path = "../..", version="0.22.4" }
uwuify = "0.2.2"
textwrap = "0.14"
fastrand = "1.5.0"

[build-dependencies]
autocxx-build = { path = "../../gen/build", version="0.22.3" }
autocxx-build = { path = "../../gen/build", version="0.22.4" }
regex = "1.5.4"
miette = { version="4.3", features = [ "fancy" ] }
4 changes: 2 additions & 2 deletions gen/build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[package]
name = "autocxx-build"
version = "0.22.3"
version = "0.22.4"
authors = ["Adrian Taylor <adetaylor@chromium.org>"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand All @@ -22,7 +22,7 @@ runtime = [ "autocxx-engine/runtime" ]
static = [ "autocxx-engine/static" ]

[dependencies]
autocxx-engine = { version="=0.22.3", path="../../engine", features = ["build"] }
autocxx-engine = { version="=0.22.4", path="../../engine", features = ["build"] }
env_logger = "0.9.0"
indexmap = "1.8"

Expand Down
6 changes: 3 additions & 3 deletions gen/cmd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[package]
name = "autocxx-gen"
version = "0.22.3"
version = "0.22.4"
authors = ["Adrian Taylor <adetaylor@chromium.org>"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand All @@ -22,7 +22,7 @@ runtime = [ "autocxx-engine/runtime" ]
static = [ "autocxx-engine/static" ]

[dependencies]
autocxx-engine = { version="=0.22.3", path="../../engine" }
autocxx-engine = { version="=0.22.4", path="../../engine" }
clap = { version = "3.1.2", features = ["cargo"] }
proc-macro2 = "1.0"
env_logger = "0.9.0"
Expand All @@ -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.3" }
autocxx-integration-tests = { path = "../../integration-tests", version="=0.22.4" }
# This is necessary for building the projects created
# by the trybuild test system...
autocxx = { path="../.." }
Expand Down
6 changes: 3 additions & 3 deletions integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[package]
name = "autocxx-integration-tests"
version = "0.22.3"
version = "0.22.4"
autotests = false
edition = "2021"
authors = ["Adrian Taylor <adetaylor@chromium.org>"]
Expand All @@ -27,10 +27,10 @@ rust_info = "0.3.1"
cc = "1.0"
quote = "1.0"
once_cell = "1.7"
autocxx-engine = { version="=0.22.3", path="../engine", features = ["build"] }
autocxx-engine = { version="=0.22.4", path="../engine", features = ["build"] }
# This is necessary for building the projects created
# by the trybuild test system...
autocxx = { path="..", version="=0.22.3" }
autocxx = { path="..", version="=0.22.4" }
link-cplusplus = "1.0"
tempfile = "3.1"
indoc = "1.0"
Expand Down
4 changes: 2 additions & 2 deletions macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[package]
name = "autocxx-macro"
version = "0.22.3"
version = "0.22.4"
authors = ["Adrian Taylor <adetaylor@chromium.org>"]
license = "MIT OR Apache-2.0"
description = "Safe autogenerated interop between Rust and C++"
Expand All @@ -21,7 +21,7 @@ categories = ["development-tools::ffi", "api-bindings"]
proc-macro = true

[dependencies]
autocxx-parser = { path="../parser", version="=0.22.3" }
autocxx-parser = { path="../parser", version="=0.22.4" }
proc-macro-error = "1.0"
proc-macro2 = "1.0.11"
quote = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[package]
name = "autocxx-parser"
version = "0.22.3"
version = "0.22.4"
authors = ["Adrian Taylor <adetaylor@chromium.org>"]
license = "MIT OR Apache-2.0"
description = "Safe autogenerated interop between Rust and C++"
Expand Down
4 changes: 2 additions & 2 deletions tools/mdbook-preprocessor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[package]
name = "autocxx-mdbook-preprocessor"
version = "0.22.3"
version = "0.22.4"
authors = ["adetaylor <adetaylor@chromium.org>"]
edition = "2021"

Expand All @@ -18,7 +18,7 @@ serde_json = "1"
itertools = "0.10"
anyhow = "1"
regex = "1"
autocxx-integration-tests = { path = "../../integration-tests", version="=0.22.3"}
autocxx-integration-tests = { path = "../../integration-tests", version="=0.22.4"}
rayon = "1.5"
gag = "1.0"
env_logger = "0.9.0"
Expand Down
6 changes: 3 additions & 3 deletions tools/reduce/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

[package]
name = "autocxx-reduce"
version = "0.22.3"
version = "0.22.4"
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.3", path="../../engine" }
autocxx-parser = { version = "=0.22.3", path="../../parser", features = [ "reproduction_case" ] }
autocxx-engine = { version = "=0.22.4", path="../../engine" }
autocxx-parser = { version = "=0.22.4", path="../../parser", features = [ "reproduction_case" ] }
clap = { version = "3.1.2", features = ["cargo"] }
tempfile = "3.1"
indoc = "1.0"
Expand Down
6 changes: 3 additions & 3 deletions tools/stress-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@

[package]
name = "autocxx-stress-test"
version = "0.22.3"
version = "0.22.4"
authors = ["Adrian Taylor <adetaylor@chromium.org>"]
edition = "2021"

[dependencies]
cxx = "1.0.68"
autocxx = { path = "../..", version="0.22.3" }
autocxx = { path = "../..", version="0.22.4" }

[build-dependencies]
autocxx-build = { path = "../../gen/build", version="0.22.3" }
autocxx-build = { path = "../../gen/build", version="0.22.4" }
miette = { version="4.3", features=["fancy"]}