Skip to content

Upgrade url to 2.0#283

Merged
Eijebong merged 1 commit intohousleyjk:masterfrom
SimonSapin:url
Jul 29, 2019
Merged

Upgrade url to 2.0#283
Eijebong merged 1 commit intohousleyjk:masterfrom
SimonSapin:url

Conversation

@SimonSapin
Copy link
Copy Markdown
Contributor

No description provided.

sha-1 = "0.8.0"
slab = "0.4"
url = "1.7.0"
url = "2.0.0"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about allowing the 1.7 version as well?
Something like

Suggested change
url = "2.0.0"
url = ">=1.7, <3.0.0"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nox, @Eijebong I vaguely recall that using this pattern for serde in url had downsides, but I don’t remember what they were. What do you think?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bad idea, it makes it look like end users can continue to use 1.7, but cargo will happily bring url 2 in their project anyway and then you have "expected Url, got Url" type errors.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'm against ranges too

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bad idea, it makes it look like end users can continue to use 1.7, but cargo will happily bring url 2 in their project anyway and then you have "expected Url, got Url" type errors.

I did not know that.

@Eijebong Eijebong merged commit 25ea036 into housleyjk:master Jul 29, 2019
@SimonSapin SimonSapin deleted the url branch July 29, 2019 11:37
bors-servo pushed a commit to servo/servo that referenced this pull request Aug 16, 2019
Update the url crate to 2.0

Blocked on:

* [x] housleyjk/ws-rs#283 + undoing corresponding `[patch.crates-io]` entry

Soft-blocked on: (we could add to the crate duplication allow-list instead)

* [x] ~rust-windowing/winit#1066
  - [x] rust-windowing/winit#1076
* [x] servo/media#288
* [ ] servo/webrender#3720
* [x] gobwas/influent.rs#22
* [ ] https://bugzilla.mozilla.org/show_bug.cgi?id=1568540
  - [x] seanmonstar/warp#260
  - [ ] abonander/multipart#121

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23838)
<!-- Reviewable:end -->
bors-servo pushed a commit to servo/servo that referenced this pull request Aug 16, 2019
Update the url crate to 2.0

Blocked on:

* [x] housleyjk/ws-rs#283 + undoing corresponding `[patch.crates-io]` entry

Soft-blocked on: (we could add to the crate duplication allow-list instead)

* [x] ~rust-windowing/winit#1066
  - [x] rust-windowing/winit#1076
* [x] servo/media#288
* [ ] servo/webrender#3720
* [x] gobwas/influent.rs#22
* [ ] https://bugzilla.mozilla.org/show_bug.cgi?id=1568540
  - [x] seanmonstar/warp#260
  - [ ] abonander/multipart#121

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23838)
<!-- Reviewable:end -->
bors-servo pushed a commit to servo/servo that referenced this pull request Aug 17, 2019
Update the url crate to 2.0

Blocked on:

* [x] housleyjk/ws-rs#283 + undoing corresponding `[patch.crates-io]` entry

Soft-blocked on: (we could add to the crate duplication allow-list instead)

* [x] ~rust-windowing/winit#1066
  - [x] rust-windowing/winit#1076
* [x] servo/media#288
* [ ] servo/webrender#3720
* [x] gobwas/influent.rs#22
* [ ] https://bugzilla.mozilla.org/show_bug.cgi?id=1568540
  - [x] seanmonstar/warp#260
  - [ ] abonander/multipart#121

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23838)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants