-
Docker build speeds can be sped up significantly.
- [x] Cache dependencies
- [x] Eliminate cargo cache clearing commands
- [ ] Use pre-compiled binaries (i.e. diesel
- [ ] Move binary to a slim D…
-
At each API function we run the following line `let conn = PgConnection::establish(DATABASE_URL)
.unwrap_or_else(|_| panic!("Error connecting to {}", DATABASE_URL));`
I assume this slows dow…
-
## Setup
### Versions
- **Rust:** 1.60
- **Diesel:** master branch
- **Database:** doesn't matter
- **Operating System** Ubuntu 20 @ WSL
## Problem Description
Every now and then, while r…
-
## Setup
### Versions
- **Rust:** rustc 1.30.1 (1433507eb 2018-11-07)
- **Diesel:** 1.3.3
- **Database:** postgresql-9.6 **9.6.10-0+deb9u1** OR postgresl-11 **11.1-1.pgdg90+1** (similar result…
-
**rust-analyzer version**: rust-analyzer 0.3.1481-standalone (I've downloaded [this release](https://github.com/rust-lang/rust-analyzer/releases/download/2023-04-17/rust-analyzer-x86_64-unknown-li…
-
Hohoho! Welcome, Hacktoberfesters!
I know you will be here so I prepared some easy stuff for you. Enjoy it.
This project is slowly growing big and we're facing the death threat, we have no unit …
huytd updated
7 years ago
-
This can be simplified down to the following:
``` rust
trait MyTrait {
type Output;
}
impl MyTrait for T {
type Output = ::Output;
}
trait SomeOtherTrait {}
impl SomeOtherTrait for T where…
sgrif updated
2 years ago
-
Ubuntu 22.04
Rust 1.70.0
Postgres 15
Followed the instructions from "Install from Scratch". On the step to `cargo install lemmy_server ...`, it compiles a bunch of packages successfully until "le…
-
Probably only a question...
https://github.com/mishaszu/axum-diesel-async-graphql-template/blob/5298e694daff94c18056f06b5eeac207c2275256/src/graphql/schema.rs#L14
How do you access the model man…
-
## 🐛 Bug description
When running npx Serverless deploy, or cargo build --release --target x86_64-unknown-linux-musl, I receive this error.
```
error: linking with `x86_64-linux-musl-gcc` f…