Skip to content

Commit 3c2b13b

Browse files
committed
Delete redundant semver component
1 parent da3197d commit 3c2b13b

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repository = "https://github.com/dtolnay/link-cplusplus"
1313
rust-version = "1.68"
1414

1515
[build-dependencies]
16-
cc = "1.0"
16+
cc = "1"
1717

1818
[features]
1919
default = [] # automatic

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,26 @@ Cargo.toml:
2929

3030
```toml
3131
[dependencies]
32-
link-cplusplus = "1.0"
32+
link-cplusplus = "1"
3333
```
3434

3535
An application that wants a particular one or the other linked should use:
3636

3737
```toml
3838
[dependencies]
39-
link-cplusplus = { version = "1.0", features = ["libstdc++"] }
39+
link-cplusplus = { version = "1", features = ["libstdc++"] }
4040

4141
# or
4242

43-
link-cplusplus = { version = "1.0", features = ["libc++"] }
43+
link-cplusplus = { version = "1", features = ["libc++"] }
4444
```
4545

4646
An application that wants to handle its own more complicated logic for link
4747
flags from its build script can make this crate do nothing by using:
4848

4949
```toml
5050
[dependencies]
51-
link-cplusplus = { version = "1.0", features = ["nothing"] }
51+
link-cplusplus = { version = "1", features = ["nothing"] }
5252
```
5353

5454
Lastly, make sure to add an explicit `extern crate` dependency to your crate

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,26 @@
3131
//!
3232
//! ```toml
3333
//! [dependencies]
34-
//! link-cplusplus = "1.0"
34+
//! link-cplusplus = "1"
3535
//! ```
3636
//!
3737
//! An application that wants a particular one or the other linked should use:
3838
//!
3939
//! ```toml
4040
//! [dependencies]
41-
//! link-cplusplus = { version = "1.0", features = ["libstdc++"] }
41+
//! link-cplusplus = { version = "1", features = ["libstdc++"] }
4242
//!
4343
//! # or
4444
//!
45-
//! link-cplusplus = { version = "1.0", features = ["libc++"] }
45+
//! link-cplusplus = { version = "1", features = ["libc++"] }
4646
//! ```
4747
//!
4848
//! An application that wants to handle its own more complicated logic for link
4949
//! flags from its build script can make this crate do nothing by using:
5050
//!
5151
//! ```toml
5252
//! [dependencies]
53-
//! link-cplusplus = { version = "1.0", features = ["nothing"] }
53+
//! link-cplusplus = { version = "1", features = ["nothing"] }
5454
//! ```
5555
//!
5656
//! Lastly, make sure to add an explicit `extern crate` dependency to your crate

0 commit comments

Comments
 (0)