-
I tried to set a `Server` header, but it was getting doubled with the [static header text](https://github.com/trezm/Thruster/blob/master/thruster-core/src/response.rs#L60) in the `Response`. Having …
-
```rs
if let syn::Item::Fn(mut function_item) = syn::parse(item.clone()).unwrap() {
```
```
$ rustc --version
rustc 1.36.0-nightly (3f5152e20 2019-05-08)
$ cargo version
cargo 1.36.0-nightly …
-
I was wondering why it isn‘t possible to use a different type of context in the sub apps. I haven‘t done much work with this library yet but this seems to hinder usability, does it? I can imagine a sc…
-
Hello
- how exec ``println!("{}", "do some others actions after start")`` (or a function) after ``thruster::App::start(app, host, port);``
- how catch thruster stop (and print message) ?
- how ca…
-
I ha ve an error when i test basic middleware
```txt
16 | let ctx_future = chain.next(context)
| ^^^^^^^^^^ `futures::Future + std::marker::Send` does not have a constant size known at…
-
``app.get("/", vec![index]);`` not recognize !
- ``127.0.0.1:4321/plaintext`` : ok
- ``127.0.0.1:4321/`` (or ``127.0.0.1:4321``) : ko, display always page 404
How catch index page ?
Ami44
…
-
https://docs.rs/thruster/0.4.4/thruster/struct.Request.html#method.raw_body
It seems odd that thruster does extra work in this method when it's actually holding the body as a bunch of bytes interna…
-
When I pressed "U" to see the uses of cobblestone my whole client crashed. This also happened to someone else.
## Expected Behavior
The game shouldn't crash.
## Current Behavior
It crash…
-
I am getting the following error:
```
error[E0277]: the trait bound `futures::future::FutureResult: futures::future::Future` is not satisfied
--> src/main.rs:21:3
|
21 | Box::new(future:…
-
I'm new to Rust and Thruster, coming from a Node.js background. I would like to know if there is a way to gracefully shut down a Thruster server and do some cleanup before the process ends.
In Node…