Replies: 1 comment
|
You can use |
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.
Uh oh!
There was an error while loading. Please reload this page.
Problem
When executing
dx serve --webI encounter an issue with the derive macros FromSql & ToSql from the crate postgres-typesI've tried multiple ways to solve the issue that lead to multiple issues of their own:
postgres-typesas a simple dependency withderivefeature enabled does not work because of multiple compatibility issues (I assume)postgres-typesas an optional dependency on theserverfeature withderivefeature enabled does not work eitherpostgres-typesas an optional dependency on thewebfeature withderivefeature enabled leads to all the same errors as the first methodRelevant code snippets (of the second method)
Enum declaration
Cargo.toml
Environment:
All reactions