Skip to content

Commit

Permalink
Pin memchr to 2.3.4 for 1.35.0 compat. Fix Url::into_string() depreca…
Browse files Browse the repository at this point in the history
…tion warning
  • Loading branch information
nabijaczleweli committed May 17, 2021
1 parent 4af20d9 commit b51688a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ lazy_static = "1.4"
array_tool = "1.0"
tabwriter = "1.1"
lazysort = "0.2"
# indirect via aho-corastick via regex
# naming constants with `_` is unstable (see issue #54912)
# non exhaustive is an experimental feature (see issue #44109)
memchr = "=2.3.4"
regex = "1.3"
serde = "1.0"
# indirect via url
Expand Down
2 changes: 1 addition & 1 deletion src/ops/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ impl GitRepoPackage {
url.set_query(None);
GitRepoPackage {
name: c.get(1).unwrap().as_str().to_string(),
url: url.into_string(),
url: url.into(),
branch: branch,
id: Oid::from_str(c.get(4).unwrap().as_str()).unwrap(),
newest_id: None,
Expand Down

0 comments on commit b51688a

Please sign in to comment.