Skip to content

Commit f51dc4d

Browse files
committed
Release 0.2.0
1 parent 75974b3 commit f51dc4d

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cxx"
3-
version = "0.1.2" # remember to update html_root_url
3+
version = "0.2.0" # remember to update html_root_url
44
authors = ["David Tolnay <[email protected]>"]
55
edition = "2018"
66
links = "cxxbridge01"
@@ -19,7 +19,7 @@ anyhow = "1.0"
1919
cc = "1.0.49"
2020
codespan = "0.7"
2121
codespan-reporting = "0.7"
22-
cxxbridge-macro = { version = "=0.1.2", path = "macro" }
22+
cxxbridge-macro = { version = "=0.2.0", path = "macro" }
2323
link-cplusplus = "1.0"
2424
proc-macro2 = { version = "1.0", features = ["span-locations"] }
2525
quote = "1.0"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ can be 100% safe.
1717

1818
```toml
1919
[dependencies]
20-
cxx = "0.1"
20+
cxx = "0.2"
2121
```
2222

2323
*Compiler support: requires rustc 1.42+ (beta on January 30, stable on March
@@ -300,9 +300,9 @@ of functions.
300300
<tr><th>name in Rust</th><th>name in C++</th><th>restrictions</th></tr>
301301
<tr><td>String</td><td>rust::String</td><td></td></tr>
302302
<tr><td>&amp;str</td><td>rust::Str</td><td></td></tr>
303-
<tr><td><a href="https://docs.rs/cxx/0.1/cxx/struct.CxxString.html">CxxString</a></td><td>std::string</td><td><sup><i>cannot be passed by value</i></sup></td></tr>
303+
<tr><td><a href="https://docs.rs/cxx/0.2/cxx/struct.CxxString.html">CxxString</a></td><td>std::string</td><td><sup><i>cannot be passed by value</i></sup></td></tr>
304304
<tr><td>Box&lt;T&gt;</td><td>rust::Box&lt;T&gt;</td><td><sup><i>cannot hold opaque C++ type</i></sup></td></tr>
305-
<tr><td><a href="https://docs.rs/cxx/0.1/cxx/struct.UniquePtr.html">UniquePtr&lt;T&gt;</a></td><td>std::unique_ptr&lt;T&gt;</td><td><sup><i>cannot hold opaque Rust type</i></sup></td></tr>
305+
<tr><td><a href="https://docs.rs/cxx/0.2/cxx/struct.UniquePtr.html">UniquePtr&lt;T&gt;</a></td><td>std::unique_ptr&lt;T&gt;</td><td><sup><i>cannot hold opaque Rust type</i></sup></td></tr>
306306
<tr><td></td><td></td><td></td></tr>
307307
</table>
308308

cmd/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cxxbridge-cmd"
3-
version = "0.1.2"
3+
version = "0.2.0"
44
authors = ["David Tolnay <[email protected]>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

macro/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cxxbridge-macro"
3-
version = "0.1.2"
3+
version = "0.2.0"
44
authors = ["David Tolnay <[email protected]>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"
@@ -19,4 +19,4 @@ quote = "1.0"
1919
syn = { version = "1.0", features = ["full"] }
2020

2121
[dev-dependencies]
22-
cxx = { version = "0.1", path = ".." }
22+
cxx = { version = "0.2", path = ".." }

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,9 @@
304304
//! <tr><th>name in Rust</th><th>name in C++</th><th>restrictions</th></tr>
305305
//! <tr><td>String</td><td>rust::String</td><td></td></tr>
306306
//! <tr><td>&amp;str</td><td>rust::Str</td><td></td></tr>
307-
//! <tr><td><a href="https://docs.rs/cxx/0.1/cxx/struct.CxxString.html">CxxString</a></td><td>std::string</td><td><sup><i>cannot be passed by value</i></sup></td></tr>
307+
//! <tr><td><a href="https://docs.rs/cxx/0.2/cxx/struct.CxxString.html">CxxString</a></td><td>std::string</td><td><sup><i>cannot be passed by value</i></sup></td></tr>
308308
//! <tr><td>Box&lt;T&gt;</td><td>rust::Box&lt;T&gt;</td><td><sup><i>cannot hold opaque C++ type</i></sup></td></tr>
309-
//! <tr><td><a href="https://docs.rs/cxx/0.1/cxx/struct.UniquePtr.html">UniquePtr&lt;T&gt;</a></td><td>std::unique_ptr&lt;T&gt;</td><td><sup><i>cannot hold opaque Rust type</i></sup></td></tr>
309+
//! <tr><td><a href="https://docs.rs/cxx/0.2/cxx/struct.UniquePtr.html">UniquePtr&lt;T&gt;</a></td><td>std::unique_ptr&lt;T&gt;</td><td><sup><i>cannot hold opaque Rust type</i></sup></td></tr>
310310
//! <tr><td></td><td></td><td></td></tr>
311311
//! </table>
312312
//!

third-party/Cargo.lock

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

0 commit comments

Comments
 (0)