Skip to content

Commit

Permalink
cargo: point repository metadata to clonable URLs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lucab committed Jun 6, 2024
1 parent ab4c8d1 commit f3b0f63
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
3 changes: 2 additions & 1 deletion regex-automata/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ version = "0.4.6" #:version
authors = ["The Rust Project Developers", "Andrew Gallant <[email protected]>"]
description = "Automata construction and matching using regular expressions."
documentation = "https://docs.rs/regex-automata"
repository = "https://github.com/rust-lang/regex/tree/master/regex-automata"
homepage = "https://github.com/rust-lang/regex/tree/master/regex-automata"
repository = "https://github.com/rust-lang/regex"
readme = "README.md"
keywords = ["regex", "dfa", "automata", "automaton", "nfa"]
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion regex-capi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/rust-lang/regex"
documentation = "https://github.com/rust-lang/regex/tree/master/regex-capi"
homepage = "https://github.com/rust-lang/regex"
homepage = "https://github.com/rust-lang/regex/tree/master/regex-capi"
description = """
A C API for Rust's regular expression library.
"""
Expand Down
3 changes: 2 additions & 1 deletion regex-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ description = """
A command line tool for debugging, ad hoc benchmarking and generating regular
expressions.
"""
repository = "https://github.com/rust-lang/regex/tree/master/regex-cli"
homepage = "https://github.com/rust-lang/regex/tree/master/regex-cli"
repository = "https://github.com/rust-lang/regex"
keywords = ["regex", "cli", "debug", "nfa", "dfa"]
license = "MIT OR Apache-2.0"
categories = ["text-processing"]
Expand Down
3 changes: 2 additions & 1 deletion regex-lite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name = "regex-lite"
version = "0.1.5" #:version
authors = ["The Rust Project Developers", "Andrew Gallant <[email protected]>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/regex/tree/master/regex-lite"
homepage = "https://github.com/rust-lang/regex/tree/master/regex-lite"
repository = "https://github.com/rust-lang/regex"
documentation = "https://docs.rs/regex-lite"
description = """
A lightweight regex engine that optimizes for binary size and compilation time.
Expand Down
3 changes: 2 additions & 1 deletion regex-syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name = "regex-syntax"
version = "0.8.3" #:version
authors = ["The Rust Project Developers", "Andrew Gallant <[email protected]>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/regex/tree/master/regex-syntax"
homepage = "https://github.com/rust-lang/regex/tree/master/regex-syntax"
repository = "https://github.com/rust-lang/regex"
documentation = "https://docs.rs/regex-syntax"
description = "A regular expression parser."
workspace = ".."
Expand Down
3 changes: 2 additions & 1 deletion regex-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ You probably don't want to use this crate unless you're working on a regex
implementation.
"""
documentation = "https://docs.rs/regex-test"
repository = "https://github.com/rust-lang/regex/tree/master/regex-test"
homepage = "https://github.com/rust-lang/regex/tree/master/regex-test"
repository = "https://github.com/rust-lang/regex"
readme = "README.md"
keywords = ["regex", "regexp", "dfa", "automata", "test"]
license = "MIT OR Apache-2.0"
Expand Down

0 comments on commit f3b0f63

Please sign in to comment.