Skip to content

Commit

Permalink
Merge pull request #1122 from google/rev-0.22.2
Browse files Browse the repository at this point in the history
Revise to 0.22.2.
  • Loading branch information
adetaylor authored Jun 8, 2022
2 parents 4cb1da8 + dfa9b99 commit e147efc
Show file tree
Hide file tree
Showing 19 changed files with 50 additions and 50 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.1"
version = "0.22.2"
authors = ["Adrian Taylor <[email protected]>"]
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.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" ] }
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.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!
```

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.1"
version = "0.22.2"
authors = ["Adrian Taylor <[email protected]>"]
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"]}
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.1"
version = "0.22.2"
authors = ["Adrian Taylor <[email protected]>"]
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.1", path="../parser" }
autocxx-parser = { version = "=0.22.2", 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.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" ] }
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.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" ] }
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.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" ] }
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.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" ] }
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.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" ] }
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.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" ] }
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.1"
version = "0.22.2"
authors = ["Adrian Taylor <[email protected]>"]
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.1", path="../../engine", features = ["build"] }
autocxx-engine = { version="=0.22.2", 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.1"
version = "0.22.2"
authors = ["Adrian Taylor <[email protected]>"]
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.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"
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.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="../.." }
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.1"
version = "0.22.2"
autotests = false
edition = "2021"
authors = ["Adrian Taylor <[email protected]>"]
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.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"
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.1"
version = "0.22.2"
authors = ["Adrian Taylor <[email protected]>"]
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.1" }
autocxx-parser = { path="../parser", version="=0.22.2" }
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.1"
version = "0.22.2"
authors = ["Adrian Taylor <[email protected]>"]
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.1"
version = "0.22.2"
authors = ["adetaylor <[email protected]>"]
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.1"}
autocxx-integration-tests = { path = "../../integration-tests", version="=0.22.2"}
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.1"
version = "0.22.2"
authors = ["adetaylor <[email protected]>"]
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"
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.1"
version = "0.22.2"
authors = ["Adrian Taylor <[email protected]>"]
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"]}

0 comments on commit e147efc

Please sign in to comment.