Skip to content

Commit 931dae0

Browse files
authored
cargo: point repository metadata to clonable URLs
This tweaks the `repository` fields in Cargo metadata in order to use the correct (i.e. git clonable) URL. The existing GitHub webUI URLs for each package have been retained and moved to `homepage` fields.
1 parent a66fde6 commit 931dae0

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

regex-automata/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ version = "0.4.9" #:version
44
authors = ["The Rust Project Developers", "Andrew Gallant <[email protected]>"]
55
description = "Automata construction and matching using regular expressions."
66
documentation = "https://docs.rs/regex-automata"
7-
repository = "https://github.com/rust-lang/regex/tree/master/regex-automata"
7+
homepage = "https://github.com/rust-lang/regex/tree/master/regex-automata"
8+
repository = "https://github.com/rust-lang/regex"
89
readme = "README.md"
910
keywords = ["regex", "dfa", "automata", "automaton", "nfa"]
1011
license = "MIT OR Apache-2.0"

regex-capi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
readme = "README.md"
77
repository = "https://github.com/rust-lang/regex"
88
documentation = "https://github.com/rust-lang/regex/tree/master/regex-capi"
9-
homepage = "https://github.com/rust-lang/regex"
9+
homepage = "https://github.com/rust-lang/regex/tree/master/regex-capi"
1010
description = """
1111
A C API for Rust's regular expression library.
1212
"""

regex-cli/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ description = """
66
A command line tool for debugging, ad hoc benchmarking and generating regular
77
expressions.
88
"""
9-
repository = "https://github.com/rust-lang/regex/tree/master/regex-cli"
9+
homepage = "https://github.com/rust-lang/regex/tree/master/regex-cli"
10+
repository = "https://github.com/rust-lang/regex"
1011
keywords = ["regex", "cli", "debug", "nfa", "dfa"]
1112
license = "MIT OR Apache-2.0"
1213
categories = ["text-processing"]

regex-lite/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name = "regex-lite"
33
version = "0.1.6" #:version
44
authors = ["The Rust Project Developers", "Andrew Gallant <[email protected]>"]
55
license = "MIT OR Apache-2.0"
6-
repository = "https://github.com/rust-lang/regex/tree/master/regex-lite"
6+
homepage = "https://github.com/rust-lang/regex/tree/master/regex-lite"
7+
repository = "https://github.com/rust-lang/regex"
78
documentation = "https://docs.rs/regex-lite"
89
description = """
910
A lightweight regex engine that optimizes for binary size and compilation time.

regex-syntax/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name = "regex-syntax"
33
version = "0.8.5" #:version
44
authors = ["The Rust Project Developers", "Andrew Gallant <[email protected]>"]
55
license = "MIT OR Apache-2.0"
6-
repository = "https://github.com/rust-lang/regex/tree/master/regex-syntax"
6+
homepage = "https://github.com/rust-lang/regex/tree/master/regex-syntax"
7+
repository = "https://github.com/rust-lang/regex"
78
documentation = "https://docs.rs/regex-syntax"
89
description = "A regular expression parser."
910
workspace = ".."

regex-test/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ You probably don't want to use this crate unless you're working on a regex
99
implementation.
1010
"""
1111
documentation = "https://docs.rs/regex-test"
12-
repository = "https://github.com/rust-lang/regex/tree/master/regex-test"
12+
homepage = "https://github.com/rust-lang/regex/tree/master/regex-test"
13+
repository = "https://github.com/rust-lang/regex"
1314
readme = "README.md"
1415
keywords = ["regex", "regexp", "dfa", "automata", "test"]
1516
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)