-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
impl TryFrom<'a str> for Url #569
Conversation
Signed-off-by: Yoshua Wuyts <[email protected]>
It seems the build is failing for reasons unrelated to this patch. |
url now requires Rust 1.36 which means a feature flag is now redundant.
Updated to remove the feature flag since the minimum required Rust version for the crate is now 1.36, and the minimum required version for this patch is 1.34 🎉 |
@valenting if you have time, could you perhaps take a look at this PR? Landing this would be a great help for several of our libraries. |
@valenting would it be possible to publish a new release in the near future that includes this change? We're excited to use it! |
We're waiting on servo/rust-url#569 to be published for URL shorthands to be practical; but once it lands it should be really nice to use
Closes #568. Implements
TryFrom<'a str> for Url
gated behind thetry_from
feature. This should make it possible to use this conversion without issuing a breaking change. Thanks!