Hacker GitHub

← All repos

hyperium/hyper

View on GitHub ↗ ★ 16,390 Rust

An HTTP library for Rust

44 mentions on Hacker News by 40 people: 4 stories, 40 comments · first 2014-10-10 · latest 2026-10-11

Mentions per year 44 mentions · busiest year 2020 (12)
20082026
  1. …to re-watch the entire video. I did that because the only text version I found was from 2020, at https://github.com/hyperium/hyper/issues/2265#issuecomment-6... , and I wanted something more recent than that. > and so you can absolutely…
    comment by eesmith · 2026-10-11 · in C for Rust programmers
  2. …remained buffered internally, causing the client to receive an EOF before the full body arrived. https://github.com/hyperium/hyper/issues/4022 Saved you 3000 words
  3. …of chunks but also implements the Buf trait. https://docs.rs/bytes/1.9.0/bytes/buf/trait.Buf.html https://github.com/hyperium/hyper/blob/3817a79b213f840302d7e...
  4. …I would prefer zig's crashing behavior to hyper using unsafe evaluations of macros as an example. > https://github.com/hyperium/hyper/blob/30f2961e89eb306780d85... This looks basically like a port of something like Kotlin or C#'s ?.…
  5. …I would prefer zig's crashing behavior to hyper using unsafe evaluations of macros as an example. https://github.com/hyperium/hyper/blob/30f2961e89eb306780d85... Both are better than c's problems like `x[4]` actually being `*x` though.…
  6. …mostly maintained by one guy[1]. I think that adds considerable security risk vs Go's net/http. 1. https://github.com/hyperium/hyper/graphs/contributors
    comment by pants2 · 2024-11-04 · in Writing secure Go code
  7. …fairly well at this point. [0]: https://pkg.go.dev/std [1]: https://doc.rust-lang.org/std/ [2]: https://github.com/hyperium/hyper/ [3]: https://github.com/golang/protobuf
  8. Looking at the code it relies on Hyper which doesn't support H3 yet https://github.com/hyperium/hyper/issues/1818
  9. Seemingly related PR https://github.com/hyperium/hyper/pull/3046
  10. …to basically no sane kind of timeout, and doesn’t provide the tools to handle it properly anyway < https://github.com/hyperium/hyper/issues/1628 >. If that’s part of your threat model, you should avoid exposing it directly and use a…
    comment by chrismorgan · 2022-08-30 · in Rewriting my blog in Rust for fun and profit
  11. …- Axum https://github.com/tokio-rs/axum (what I'm currently using in production) - Hyper https://github.com/hyperium/hyper Positive experiences mostly. If it builds, it'll usually run with no issues. Ecosystem is mature enough for large…
  12. …of the same legacy. On the other hand, deno's HTTP stuff is built on top of Hyper, a Rust library https://github.com/hyperium/hyper
    comment by jaffathecake · 2021-10-15 · in How to win at CORS
  13. …but have a clearer idea of what's going on than to rely on magic voodoo closure tricks like: https://github.com/hyperium/hyper/issues/2446 Compare that (which was the result of hours of hacking) to their example:…
    comment by api · 2021-03-10 · in Why asynchronous Rust doesn't work
  14. Can't find async-std feature here: https://github.com/hyperium/hyper/blob/master/Cargo.toml do you have an example? Either way, "can be configured" means that custom code for each runtime must be written, it is not like lets say "Futures",…
    comment by rossmohax · 2020-12-23 · in Tokio 1.0 – async runtime for Rust
  15. …in Rust, they'll probably ship first class support for Quic when Hyper does (same as us!): https://github.com/hyperium/hyper/issues/2078
  16. Considering the discussion in https://github.com/hyperium/hyper/issues/2265 , that seems unlikely.
  17. When I saw the issue ( https://github.com/hyperium/hyper/issues/2265 ) for adding support for a C API to Hyper I was puzzled - couldn't you just use curl for that? As a user of software, it makes me happy to know that folks are investing…
  18. The latter is scheduled for the next release https://github.com/hyperium/hyper/issues/2223
  19. I count 14: https://github.com/hyperium/hyper/blob/master/Cargo.toml#L22... bytes, futures-core, futures-channel, futures-util, http, http-body, httpdate, httparse, h2, itoa, tracingfeatures, pin-project, tower-service, tokio, want
  20. More details here: https://github.com/hyperium/hyper/issues/2265#issuecomment-6...
  21. (and the pull request under active development here: https://github.com/hyperium/hyper/pull/2278 ) I see that Stenberg (bagder) is receiving funding for the work from the ISRG, but I wonder if McArthur (seanmonstar) is, too? It seems like…
  22. I've been holding my breath ever since I saw https://github.com/hyperium/hyper/issues/2265#issuecomment-6... Glad to see it seems to be going well!
  23. …wasm-pack. It's all Rust in the end, so you'd only need to add a `/search` route e.g. with hyper ( https://github.com/hyperium/hyper ). If you're willing to experiment with this, don't hesitate to open a pr/issue on Github and we can add…
  24. I'm not working with Rust but I just tried a quick benchmark by compiling a random project. git clone https://github.com/hyperium/hyper Full Build: time cargo build (1 min 42 seconds without download) (349K LOC total [0]) Recompile: time…
    comment by imtringued · 2020-01-09 · in Translating Quake 3 into Rust
  25. The second link for "rust http" for me (and in incognito mode) points to https://github.com/hyperium/hyper , which is exactly what you want.
    comment by steveklabnik · 2019-11-04 · in Go Is the New Ruby
  26. …issue in the Hyper HTTP library is "how do I read the body?", there is a conceptual problem. Is https://github.com/hyperium/hyper/issues/1137 the issue you are referencing?
    comment by aleden · 2019-08-15 · in Rust 1.37.0
  27. …about 50 megabytes of RAM. Uptimes reaching 2-3 months if I don't need to update the software. [0] https://github.com/hyperium/hyper [1] https://github.com/carllerche/h2 [2] https://tokio.rs/ [3] https://github.com/pimeys/rust-web-push
  28. Yup! So for the next step up, see this example of using hyper with tokio: https://github.com/hyperium/hyper/blob/tokio/examples/server... You could see how that match block functions as a router... I was literally playing around with this…
    comment by steveklabnik · 2017-01-11 · in Announcing Tokio 0.1
  29. …one unit and simplify the stack / attack surface area. [0]: http://www.kegel.com/c10k.html [1]: https://github.com/hyperium/hyper/pull/778
  30. …that the current Rust web framework landscape is dealing with moving over to futures (example: https://github.com/hyperium/hyper/issues/934 ). The framework seems to nail the API, but what's it doing down at the bottom of the stack? Any…
    comment by aaron-lebo · 2016-12-23 · in Show HN: Rocket – Web Framework for Rust
  31. No, but it is marked for the 1.0 release: https://github.com/hyperium/hyper/issues/304
    comment by trizinix · 2016-12-12 · in Hyper 1.0.0
  32. It is! https://github.com/hyperium/hyper/tree/tokio
  33. Those looking from a "reimplement it in Rust" angle may like: * https://github.com/hyperium/hyper/ * https://github.com/lukaszwawrzyk/rust-wget * https://github.com/tokio-rs/tokio-curl
    comment by mitchtbaum · 2016-11-02 · in Curl 7.51.0 Released
  34. …include: https://github.com/sbeckeriv/warc http://techern.github.io/Varint-rs/varint/index.html https://github.com/hyperium/hyper https://github.com/rusoto/rusoto https://github.com/servo/html5ever (largely on the performance front; on a…
  35. Exactly: https://github.com/hyperium/hyper/blob/master/src/status.rs#...
  36. https://github.com/hyperium/hyper/issues/395
  37. There is actually a nice HTTP library called Hyper ( https://github.com/hyperium/hyper ). Maybe you could help there.
  38. …mio even though Rust doesn't support async I/O or a more efficient threading model, etc... [0]: https://github.com/hyperium/hyper [1]: https://github.com/servo/servo/pull/4198 [2]: https://github.com/carllerche/mio
    comment by TheHydroImpulse · 2014-12-17 · in A tiling window manager written in Rust
  39. There's also hyper ( https://github.com/hyperium/hyper ), a native Rust HTTP implementation I am working on.
  40. There is also hyper which is used by Servo: https://github.com/hyperium/hyper
    comment by Ygg2 · 2014-10-10 · in Rust 0.12.0 released