Jonas Platte

Results 47 comments of Jonas Platte

The last item on the todo list above says "Design and export the public extension API". If I understand correctly, "extension" there refers to the http crate's extension concept. That...

How about this as a public API? ```rust pub trait HttpMessageExt { fn headers_case_sensitive(&self) -> CaseSensitiveHeaderMap; } impl HttpMessageExt for http::Request { /* ... */ } impl HttpMessageExt for http::Response...

Some examples ```rust let headers = response.headers_case_sensitive(); // Check for a header using the exact provided casing if let Some(val) = message.headers_case_sensitive().get("Foo-Bar") { // read val: HeaderValue } let mut...

I found it weird that this would be required and checked why `foo.type` didn't work without quoting in the first place. Turns out the proc-macro code is actually fine (it...

This would also allow to generate a graph of actual module dependencies without rendering every single item per module, right? For large (binary) crates, it would be very nice if...

Since it hasn't been mentioned in this thread yet, as a workaround you can do this instead: ```toml [target.'cfg(all())'] rustflags = ["--cfg", "tokio_unstable"] ``` since target-specific rustflags are cumulative already.

Note that `im` has been unmaintained for a while, there is a fork called `imbl` that's more active.

I don't see `permd` listed above, but this is the same issue right? ``` trap at Instance { def: Item(DefId(1:15384 ~ core[212b]::core_arch::x86::avx2::_mm256_permutevar8x32_epi32)), args: [] } (_ZN4core9core_arch3x864avx227_mm256_permutevar8x32_epi3217h294fc7d72ae002f8E): llvm.x86.avx2.permd ``` Would be...

For that to become available via rustup, this repo needs to be synced into https://github.com/rust-lang/rust again, right?