Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
davidpdrsn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
davidpdrsn
4y ago
Use https://docs.rs/axum/latest/axum/response/type.Response.html This is also whats shown in the "Implementing IntoResponse" examples https://docs.rs/axum/latest/axum&
2.
▲
by
davidpdrsn
4y ago
> This one is annoying, but easily solvable by making your own return type that implements IntoResponse You can just call `.into_response()` like documented here https://docs.rs/axum/latest/axum/response&#x
3.
▲
by
davidpdrsn
5y ago
It calls GitHubs api at compile time. You can do pretty much anything in a rust procedural macro, including IO.
4.
▲
by
davidpdrsn
7y ago
Crate: https://crates.io/crates/diesel-factories Code: https://github.com/davidpdrsn/diesel-factories
5.
▲
Test Factories for Diesel (Rust)
(docs.rs)
1 points
by
davidpdrsn
7y ago
|
1 comments
6.
▲
by
davidpdrsn
11y ago
I figure its because its quite annoying to pass arguments to rake tasks. So all the commands the required arguments lived in the rails command, the rest in rake.