Skip to content

Commit 952bc81

Browse files
nyuriktgross35
authored andcommitted
chore: cleanup Cargo.toml and rm perl
* Remove Cargo settings that are identical to the defaults (per Cargo [recommendations](https://doc.rust-lang.org/cargo/reference/manifest.html)) * Fix perl-based method to extract MSRV (backport <rust-lang#4408>) (cherry picked from commit d8e39a2)
1 parent 54e402f commit 952bc81

File tree

2 files changed

+10
-19
lines changed

2 files changed

+10
-19
lines changed

Cargo.toml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
11
[package]
22
name = "libc"
33
version = "0.2.172"
4-
authors = ["The Rust Project Developers"]
5-
license = "MIT OR Apache-2.0"
6-
readme = "README.md"
7-
edition = "2021"
8-
repository = "https://github.com/rust-lang/libc"
9-
homepage = "https://github.com/rust-lang/libc"
10-
documentation = "https://docs.rs/libc/"
114
keywords = ["libc", "ffi", "bindings", "operating", "system"]
125
categories = ["external-ffi-bindings", "no-std", "os"]
13-
build = "build.rs"
146
exclude = ["/ci/*", "/.github/*", "/.cirrus.yml", "/triagebot.toml"]
7+
description = "Raw FFI bindings to platform libraries like libc."
8+
publish = false # On the main branch, we don't want to publish anything
9+
authors = ["The Rust Project Developers"]
10+
edition = "2021"
11+
license = "MIT OR Apache-2.0"
12+
repository = "https://github.com/rust-lang/libc"
1513
rust-version = "1.63"
16-
description = """
17-
Raw FFI bindings to platform libraries like libc.
18-
"""
1914

2015
[package.metadata.docs.rs]
2116
features = ["extra_traits"]

libc-test/Cargo.toml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
[package]
22
name = "libc-test"
3-
version = "0.2.155"
4-
edition = "2021"
3+
version = "0.1.0"
4+
description = "A test crate for the libc crate."
5+
publish = false
56
authors = ["The Rust Project Developers"]
7+
edition = "2021"
68
license = "MIT OR Apache-2.0"
7-
build = "build.rs"
8-
publish = false
99
repository = "https://github.com/rust-lang/libc"
10-
homepage = "https://github.com/rust-lang/libc"
11-
description = """
12-
A test crate for the libc crate.
13-
"""
1410

1511
[dependencies]
1612
cfg-if = "1.0.0"

0 commit comments

Comments
 (0)