Skip to content

Commit 80c2bf3

Browse files
authored
update examples to include bitbucket urls explicitly, bump dependencies (#56)
This is a small pull request to add links to the examples to cover a pattern that wasn't explicitly included. I've also bumped the following dependencies: * thiserror from 1.0 to 2.0.11 * env_logger from 0.9 to 0.11.6
1 parent 23031bf commit 80c2bf3

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ tracing = ["dep:tracing"]
1919
tracing = { version = "0.1", optional = true }
2020
url = { version = "2.2" }
2121
strum = { version = "^0.26", features = ["derive"] }
22-
thiserror = "^1.0"
22+
thiserror = "2.0.11"
2323

2424
[dev-dependencies]
25-
env_logger = "^0.9"
25+
env_logger = "0.11.6"
2626
regex = "^1.10"

examples/multi.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ fn main() -> Result<(), GitUrlParseError> {
1919
"..\\test_repo",
2020
"[email protected]:v3/CompanyName/ProjectName/RepoName",
2121
"https://[email protected]/CompanyName/ProjectName/_git/RepoName",
22+
"https://[email protected]/workspace_ID/repo_name.git",
23+
"ssh://[email protected]/workspace_ID/repo_name.git",
2224
];
2325

2426
for test_url in test_vec {

examples/trim_auth.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ fn main() -> Result<(), GitUrlParseError> {
1717
"./path/to/repo.git",
1818
"[email protected]:v3/CompanyName/ProjectName/RepoName",
1919
"https://[email protected]/CompanyName/ProjectName/_git/RepoName",
20+
"https://[email protected]/workspace_ID/repo_name.git",
21+
"ssh://[email protected]/workspace_ID/repo_name.git"
2022
];
2123

2224
for test_url in test_vec {

0 commit comments

Comments
 (0)