You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seanmonstar opened this issue
May 6, 2019
· 2 comments
Labels
A-clientArea: client.C-featureCategory: feature. This is adding a new feature.E-easyEffort: easy. A task that would be a great starting point for a new contributor.
With TryFrom now stable, we can provide a TryFrom<Uri> for Destination. To prevent requiring the new Rust compiler, this can include a #[cfg] attribute that is set in the build.rs.
The text was updated successfully, but these errors were encountered:
seanmonstar
added
A-client
Area: client.
E-easy
Effort: easy. A task that would be a great starting point for a new contributor.
C-feature
Category: feature. This is adding a new feature.
labels
May 6, 2019
Similar to how it's currently checking for Rust 1.30, and if found, printing cargo:rustc-cfg=error_source, a new check can be added for Rust 1.34, and if found, print cargo:rustc-cfg=try_from. Then add the #[cfg(try_from)] attribute to the impl TryFrom<Uri> for Destination.
When doing so, it'd be best to only call version().unwrap() once, since that's invoking a child process to run rustc -V...
M3rs
added a commit
to M3rs/hyper
that referenced
this issue
May 8, 2019
Add TryFrom<Uri> impl for Destination, for compiler version >= 1.34.
Add basic unit tests for TryFrom impl
Ref Issue: Implement TryFrom for Destination hyperium#1808
A-clientArea: client.C-featureCategory: feature. This is adding a new feature.E-easyEffort: easy. A task that would be a great starting point for a new contributor.
With
TryFrom
now stable, we can provide aTryFrom<Uri>
forDestination
. To prevent requiring the new Rust compiler, this can include a#[cfg]
attribute that is set in thebuild.rs
.The text was updated successfully, but these errors were encountered: