Skip to content

Commit

Permalink
Merge pull request google#926 from google/rev-0.17.2
Browse files Browse the repository at this point in the history
Revise to 0.17.2
  • Loading branch information
adetaylor authored Mar 16, 2022
2 parents d9d7874 + bc79196 commit 5bb7488
Show file tree
Hide file tree
Showing 18 changed files with 42 additions and 42 deletions.
18 changes: 9 additions & 9 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.17.1"
version = "0.17.2"
authors = ["Adrian Taylor <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "Safe autogenerated interop between Rust and C++"
Expand All @@ -24,7 +24,7 @@ categories = ["development-tools::ffi", "api-bindings"]
resolver = "2"

[dependencies]
autocxx-macro = { path="macro", version="0.17.1" }
autocxx-macro = { path="macro", version="0.17.2" }
cxx = "1.0.54" # ... also needed because expansion of type_id refers to ::cxx
aquamarine = "0.1" # docs
moveit = { version = "0.4", 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 @@ -19,11 +19,11 @@ First, add `autocxx` *and `cxx`* to your `dependencies` and `autocxx-build` to y

```toml
[dependencies]
autocxx = "0.17.1"
autocxx = "0.17.2"
cxx = "1.0"

[build-dependencies]
autocxx-build = "0.17.1"
autocxx-build = "0.17.2"
```

Now, add a `build.rs` next to your `Cargo.toml` (this is a standard `cargo` [build script](https://doc.rust-lang.org/cargo/reference/build-scripts.html)). This is where you need your include path:
Expand Down
6 changes: 3 additions & 3 deletions demo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@

[package]
name = "autocxx-demo"
version = "0.17.1"
version = "0.17.2"
authors = ["Adrian Taylor <[email protected]>"]
edition = "2021"

[dependencies]
cxx = "1.0.54"
autocxx = { path = "..", version="0.17.1" }
autocxx = { path = "..", version="0.17.2" }

[build-dependencies]
autocxx-build = { path = "../gen/build", version="0.17.1" }
autocxx-build = { path = "../gen/build", version="0.17.2" }
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.17.1"
version = "0.17.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.54"
autocxx-parser = { version = "=0.17.1", path="../parser" }
autocxx-parser = { version = "=0.17.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,7 +14,7 @@ edition = "2021"

[dependencies]
cxx = "1.0.54"
autocxx = { path = "../..", version="0.17.1" }
autocxx = { path = "../..", version="0.17.2" }

[build-dependencies]
autocxx-build = { path = "../../gen/build", version="0.17.1" }
autocxx-build = { path = "../../gen/build", version="0.17.2" }
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,7 +14,7 @@ edition = "2021"

[dependencies]
cxx = "1.0.54"
autocxx = { path = "../..", version="0.17.1" }
autocxx = { path = "../..", version="0.17.2" }

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

[dependencies]
cxx = "1.0.54"
autocxx = { path = "../..", version="0.17.1" }
autocxx = { path = "../..", version="0.17.2" }

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

[dependencies]
cxx = "1.0.54"
autocxx = { path = "../..", version="0.17.1" }
autocxx = { path = "../..", version="0.17.2" }

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

[dependencies]
cxx = "1.0.54"
autocxx = { path = "../..", version="0.17.1" }
autocxx = { path = "../..", version="0.17.2" }

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

[dependencies]
cxx = "1.0.54"
autocxx = { path = "../..", version="0.17.1" }
autocxx = { path = "../..", version="0.17.2" }
uwuify = "0.2.2"
textwrap = "0.14"
fastrand = "1.5.0"

[build-dependencies]
autocxx-build = { path = "../../gen/build", version="0.17.1" }
autocxx-build = { path = "../../gen/build", version="0.17.2" }
regex = "1.5.4"
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.17.1"
version = "0.17.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.17.1", path="../../engine", features = ["build"] }
autocxx-engine = { version="=0.17.2", path="../../engine", features = ["build"] }
env_logger = "0.9.0"

[dependencies.syn]
Expand Down
4 changes: 2 additions & 2 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.17.1"
version = "0.17.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.17.1", path="../../engine" }
autocxx-engine = { version="=0.17.2", path="../../engine" }
clap = "~2.33"
quote = "1.0.7"
proc-macro2 = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ rust_info = "0.3.1"
cc = "1.0"
quote = "1.0"
once_cell = "1.7"
autocxx-engine = { version="=0.17.1", path="../engine", features = ["build"] }
autocxx-engine = { version="=0.17.2", path="../engine", features = ["build"] }
# This is necessary for building the projects created
# by the trybuild test system...
autocxx = { path=".." }
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.17.1"
version = "0.17.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.17.1" }
autocxx-parser = { path="../parser", version="=0.17.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.17.1"
version = "0.17.2"
authors = ["Adrian Taylor <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "Safe autogenerated interop between Rust and C++"
Expand Down
2 changes: 1 addition & 1 deletion 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.17.1"
version = "0.17.2"
authors = ["adetaylor <[email protected]>"]
edition = "2021"

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.17.1"
version = "0.17.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.17.1", path="../../engine" }
autocxx-parser = { version = "=0.17.1", path="../../parser", features = [ "reproduction_case" ] }
autocxx-engine = { version = "=0.17.2", path="../../engine" }
autocxx-parser = { version = "=0.17.2", path="../../parser", features = [ "reproduction_case" ] }
clap = "~2.33.0"
tempfile = "3.1"
indoc = "1.0"
Expand Down

0 comments on commit 5bb7488

Please sign in to comment.