Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upTwo minor issues with todo-api example #380
Open
Labels
Comments
|
We have the other examples in the workspace so I think this was just an accidental omission. The fix is definitely to add Lines 10 to 12 in e1d22a1 |
|
However, the The leading dot causes it to be sorted above the other files and hidden by default in file explorers like Nautilus (Gnome). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue 1. The todo-api example also mentions a .env-example file which does not exist
Issue 2. When compiling the todo-api example:
error: current package believes it's in a workspace when it's not:
current: ~/src/rust/sqlx/examples/postgres/todo-api/Cargo.toml
workspace: ~/src/rust/sqlx/Cargo.toml
this may be fixable by adding
examples/postgres/todo-apito theworkspace.membersarray of the manifest located at: ~src/rust/sqlx/Cargo.tomlAlternatively, to keep it out of the workspace, add the package to the
workspace.excludearray, or add an empty[workspace]table to the package's manifest.