Skip to content

Commit 5e354c8

Browse files
authored
Merge pull request #898 from google/rev-0.17
Rev 0.17
2 parents 95ebaed + 551ca7a commit 5e354c8

File tree

19 files changed

+44
-44
lines changed

19 files changed

+44
-44
lines changed

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
[package]
1010
name = "autocxx"
11-
version = "0.16.0"
11+
version = "0.17.0"
1212
authors = ["Adrian Taylor <[email protected]>"]
1313
license = "MIT OR Apache-2.0"
1414
description = "Safe autogenerated interop between Rust and C++"
@@ -24,8 +24,8 @@ categories = ["development-tools::ffi", "api-bindings"]
2424
resolver = "2"
2525

2626
[dependencies]
27-
autocxx-macro = { path="macro", version="0.16.0" }
28-
autocxx-engine = { path="engine", version="0.16.0" } # so that
27+
autocxx-macro = { path="macro", version="0.17.0" }
28+
autocxx-engine = { path="engine", version="0.17.0" } # so that
2929
# we can refer to autocxx_engine::cxx. But even that isn't sufficient...
3030
cxx = "1.0.54" # ... also needed because expansion of type_id refers to ::cxx
3131
aquamarine = "0.1" # docs

book/src/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ First, add `autocxx` *and `cxx`* to your `dependencies` and `autocxx-build` to y
1919

2020
```toml
2121
[dependencies]
22-
autocxx = "0.16.0"
22+
autocxx = "0.17.0"
2323
cxx = "1.0"
2424

2525
[build-dependencies]
26-
autocxx-build = "0.16.0"
26+
autocxx-build = "0.17.0"
2727
```
2828

2929
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:

demo/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88

99
[package]
1010
name = "autocxx-demo"
11-
version = "0.16.0"
11+
version = "0.17.0"
1212
authors = ["Adrian Taylor <[email protected]>"]
1313
edition = "2021"
1414

1515
[dependencies]
1616
cxx = "1.0.54"
17-
autocxx = { path = "..", version="0.16.0" }
17+
autocxx = { path = "..", version="0.17.0" }
1818

1919
[build-dependencies]
20-
autocxx-build = { path = "../gen/build", version="0.16.0" }
20+
autocxx-build = { path = "../gen/build", version="0.17.0" }

engine/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
[package]
1010
name = "autocxx-engine"
11-
version = "0.16.0"
11+
version = "0.17.0"
1212
authors = ["Adrian Taylor <[email protected]>"]
1313
license = "MIT OR Apache-2.0"
1414
description = "Safe autogenerated interop between Rust and C++"
@@ -39,7 +39,7 @@ cc = { version = "1.0", optional = true }
3939
# what cxx expects to be there.
4040
cxx-gen = "0.7.54"
4141
cxx = "1.0.54"
42-
autocxx-parser = { version = "=0.16.0", path="../parser" }
42+
autocxx-parser = { version = "=0.17.0", path="../parser" }
4343
version_check = "0.9"
4444
aquamarine = "0.1" # docs
4545
tempfile = "3.1"

examples/chromium-fake-render-frame-host/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ edition = "2021"
1414

1515
[dependencies]
1616
cxx = "1.0.54"
17-
autocxx = { path = "../..", version="0.16.0" }
17+
autocxx = { path = "../..", version="0.17.0" }
1818

1919
[build-dependencies]
20-
autocxx-build = { path = "../../gen/build", version="0.16.0" }
20+
autocxx-build = { path = "../../gen/build", version="0.17.0" }

examples/non-trivial-type-on-stack/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ edition = "2021"
1414

1515
[dependencies]
1616
cxx = "1.0.54"
17-
autocxx = { path = "../..", version="0.16.0" }
17+
autocxx = { path = "../..", version="0.17.0" }
1818

1919
[build-dependencies]
20-
autocxx-build = { path = "../../gen/build", version="0.16.0" }
20+
autocxx-build = { path = "../../gen/build", version="0.17.0" }

examples/pod/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ edition = "2021"
1414

1515
[dependencies]
1616
cxx = "1.0.54"
17-
autocxx = { path = "../..", version="0.16.0" }
17+
autocxx = { path = "../..", version="0.17.0" }
1818

1919
[build-dependencies]
20-
autocxx-build = { path = "../../gen/build", version="0.16.0" }
20+
autocxx-build = { path = "../../gen/build", version="0.17.0" }

examples/s2/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ edition = "2021"
1616

1717
[dependencies]
1818
cxx = "1.0.54"
19-
autocxx = { path = "../..", version="0.16.0" }
19+
autocxx = { path = "../..", version="0.17.0" }
2020

2121
[build-dependencies]
22-
autocxx-build = { path = "../../gen/build", version="0.16.0" }
22+
autocxx-build = { path = "../../gen/build", version="0.17.0" }

examples/steam-mini/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ edition = "2021"
1616

1717
[dependencies]
1818
cxx = "1.0.54"
19-
autocxx = { path = "../..", version="0.16.0" }
19+
autocxx = { path = "../..", version="0.17.0" }
2020

2121
[build-dependencies]
22-
autocxx-build = { path = "../../gen/build", version="0.16.0" }
22+
autocxx-build = { path = "../../gen/build", version="0.17.0" }

0 commit comments

Comments
 (0)