Does the diesel documentation mention how to make staticly linked builds for postgres? #4924
Closed
kairoswater-jason
started this conversation in
Ideas
Replies: 2 comments
|
It's documented here. Also all of the examples are using this: e.g. https://github.com/diesel-rs/diesel/blob/main/examples/postgres/getting_started_step_1/Cargo.toml#L9-L10 |
0 replies
|
Excellent, Thank you! (I often post question like this so that the question gets indexed by google; hopefully makes it easier to discover) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Backend
PostgreSQL
What do you want to add to diesel?
A while back I stumbled across the following guide [1] that documented how to statically build diesel applications the use the postgres backend.
Does the diesel documentation mention how to do this anyplace? I have to admit I tolerated using non-static binaries for an embarrassingly long time thinking that maybe it wasn't possible.
[1] https://www.edu4rdshl.dev/posts/rust-binaries-with-diesel-and-postgres-static-linking-on-2025/
Implementation notes
No response
Additional details
No response
Checklist
All reactions