Release 1.0.0

This commit is contained in:
David Tolnay 2020-01-24 15:17:08 -08:00
parent b417ce3fda
commit d978d98221
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
3 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "link-cplusplus"
version = "0.0.0"
version = "1.0.0"
authors = ["David Tolnay <dtolnay@gmail.com>"]
license = "MIT OR Apache-2.0"
description = "Link libstdc++ or libc++ automatically or manually"

View File

@ -27,18 +27,18 @@ linked, whichever is the platform's default, should use:
```toml
[dependencies]
link-cplusplus = "0.0"
link-cplusplus = "1.0"
```
An application that wants a particular one or the other linked should use:
```toml
[dependencies]
link-cplusplus = { version = "0.0", features = ["libstdcxx"] }
link-cplusplus = { version = "1.0", features = ["libstdcxx"] }
# or
link-cplusplus = { version = "0.0", features = ["libcxx"] }
link-cplusplus = { version = "1.0", features = ["libcxx"] }
```
An application that wants to handle its own more complicated logic for link
@ -46,7 +46,7 @@ flags from its build script can make this crate do nothing by using:
```toml
[dependencies]
link-cplusplus = { version = "0.0", features = ["nothing"] }
link-cplusplus = { version = "1.0", features = ["nothing"] }
```
<br>

View File

@ -22,18 +22,18 @@
//!
//! ```toml
//! [dependencies]
//! link-cplusplus = "0.0"
//! link-cplusplus = "1.0"
//! ```
//!
//! An application that wants a particular one or the other linked should use:
//!
//! ```toml
//! [dependencies]
//! link-cplusplus = { version = "0.0", features = ["libstdcxx"] }
//! link-cplusplus = { version = "1.0", features = ["libstdcxx"] }
//!
//! # or
//!
//! link-cplusplus = { version = "0.0", features = ["libcxx"] }
//! link-cplusplus = { version = "1.0", features = ["libcxx"] }
//! ```
//!
//! An application that wants to handle its own more complicated logic for link
@ -41,5 +41,5 @@
//!
//! ```toml
//! [dependencies]
//! link-cplusplus = { version = "0.0", features = ["nothing"] }
//! link-cplusplus = { version = "1.0", features = ["nothing"] }
//! ```