Skip to content

Commit bf1000f

Browse files
committed
Release 1.0.0
1 parent 1964acd commit bf1000f

File tree

9 files changed

+26
-26
lines changed

9 files changed

+26
-26
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cxx"
3-
version = "0.5.10" # remember to update html_root_url
3+
version = "1.0.0" # remember to update html_root_url
44
authors = ["David Tolnay <dtolnay@gmail.com>"]
55
edition = "2018"
66
links = "cxxbridge1"
@@ -21,16 +21,16 @@ default = ["cxxbridge-flags/default"] # c++11
2121
"c++20" = ["cxxbridge-flags/c++20"]
2222

2323
[dependencies]
24-
cxxbridge-macro = { version = "=0.5.10", path = "macro" }
24+
cxxbridge-macro = { version = "=1.0.0", path = "macro" }
2525
link-cplusplus = "1.0"
2626

2727
[build-dependencies]
2828
cc = "1.0.49"
29-
cxxbridge-flags = { version = "=0.5.10", path = "flags", default-features = false }
29+
cxxbridge-flags = { version = "=1.0.0", path = "flags", default-features = false }
3030

3131
[dev-dependencies]
32-
cxx-build = { version = "=0.5.10", path = "gen/build" }
33-
cxx-gen = { version = "0.6", path = "gen/lib" }
32+
cxx-build = { version = "=1.0.0", path = "gen/build" }
33+
cxx-gen = { version = "0.7", path = "gen/lib" }
3434
cxx-test-suite = { version = "0", path = "tests/ffi" }
3535
rustversion = "1.0"
3636
trybuild = { version = "1.0.33", features = ["diff"] }

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ can be 100% safe.
1818

1919
```toml
2020
[dependencies]
21-
cxx = "0.5"
21+
cxx = "1.0"
2222

2323
[build-dependencies]
24-
cxx-build = "0.5"
24+
cxx-build = "1.0"
2525
```
2626

2727
*Compiler support: requires rustc 1.48+ and c++11 or newer*<br>
@@ -235,7 +235,7 @@ set up any additional source files and compiler flags as normal.
235235
# Cargo.toml
236236

237237
[build-dependencies]
238-
cxx-build = "0.5"
238+
cxx-build = "1.0"
239239
```
240240

241241
```rust
@@ -323,11 +323,11 @@ returns of functions.
323323
<tr><td>String</td><td>rust::String</td><td></td></tr>
324324
<tr><td>&amp;str</td><td>rust::Str</td><td></td></tr>
325325
<tr><td>&amp;[u8]</td><td>rust::Slice&lt;const uint8_t&gt;</td><td><sup><i>arbitrary &amp;[T] not implemented yet</i></sup></td></tr>
326-
<tr><td><a href="https://docs.rs/cxx/0.5/cxx/struct.CxxString.html">CxxString</a></td><td>std::string</td><td><sup><i>cannot be passed by value</i></sup></td></tr>
326+
<tr><td><a href="https://docs.rs/cxx/1.0/cxx/struct.CxxString.html">CxxString</a></td><td>std::string</td><td><sup><i>cannot be passed by value</i></sup></td></tr>
327327
<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>
328-
<tr><td><a href="https://docs.rs/cxx/0.5/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>
328+
<tr><td><a href="https://docs.rs/cxx/1.0/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>
329329
<tr><td>Vec&lt;T&gt;</td><td>rust::Vec&lt;T&gt;</td><td><sup><i>cannot hold opaque C++ type</i></sup></td></tr>
330-
<tr><td><a href="https://docs.rs/cxx/0.5/cxx/struct.CxxVector.html">CxxVector&lt;T&gt;</a></td><td>std::vector&lt;T&gt;</td><td><sup><i>cannot be passed by value, cannot hold opaque Rust type</i></sup></td></tr>
330+
<tr><td><a href="https://docs.rs/cxx/1.0/cxx/struct.CxxVector.html">CxxVector&lt;T&gt;</a></td><td>std::vector&lt;T&gt;</td><td><sup><i>cannot be passed by value, cannot hold opaque Rust type</i></sup></td></tr>
331331
<tr><td>fn(T, U) -&gt; V</td><td>rust::Fn&lt;V(T, U)&gt;</td><td><sup><i>only passing from Rust to C++ is implemented so far</i></sup></td></tr>
332332
<tr><td>Result&lt;T&gt;</td><td>throw/catch</td><td><sup><i>allowed as return type only</i></sup></td></tr>
333333
</table>

flags/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-flags"
3-
version = "0.5.10"
3+
version = "1.0.0"
44
authors = ["David Tolnay <dtolnay@gmail.com>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

gen/build/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-build"
3-
version = "0.5.10"
3+
version = "1.0.0"
44
authors = ["David Tolnay <dtolnay@gmail.com>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"
@@ -21,7 +21,7 @@ scratch = "1.0"
2121
syn = { version = "1.0.20", default-features = false, features = ["parsing", "printing", "clone-impls", "full"] }
2222

2323
[dev-dependencies]
24-
cxx-gen = { version = "0.6", path = "../lib" }
24+
cxx-gen = { version = "0.7", path = "../lib" }
2525
pkg-config = "0.3"
2626

2727
[package.metadata.docs.rs]

gen/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.5.10"
3+
version = "1.0.0"
44
authors = ["David Tolnay <dtolnay@gmail.com>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

gen/lib/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cxx-gen"
3-
version = "0.6.7"
3+
version = "0.7.0"
44
authors = ["Adrian Taylor <adetaylor@chromium.org>"]
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.5.10"
3+
version = "1.0.0"
44
authors = ["David Tolnay <dtolnay@gmail.com>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"
@@ -20,7 +20,7 @@ quote = "1.0.4"
2020
syn = { version = "1.0.20", features = ["full"] }
2121

2222
[dev-dependencies]
23-
cxx = { version = "0.5", path = ".." }
23+
cxx = { version = "1.0", path = ".." }
2424

2525
[package.metadata.docs.rs]
2626
targets = ["x86_64-unknown-linux-gnu"]

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
//! # Cargo.toml
243243
//!
244244
//! [build-dependencies]
245-
//! cxx-build = "0.5"
245+
//! cxx-build = "1.0"
246246
//! ```
247247
//!
248248
//! ```no_run
@@ -361,7 +361,7 @@
361361
//! </table>
362362
363363
#![no_std]
364-
#![doc(html_root_url = "https://docs.rs/cxx/0.5.10")]
364+
#![doc(html_root_url = "https://docs.rs/cxx/1.0.0")]
365365
#![deny(improper_ctypes)]
366366
#![allow(non_camel_case_types)]
367367
#![allow(

third-party/Cargo.lock

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

0 commit comments

Comments
 (0)