Skip to content

(BLOCKED: merge after 0.9.0) Add example for jiff-sqlx using sqlx.toml #3818

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 41 commits into
base: main
Choose a base branch
from

Conversation

abonander
Copy link
Collaborator

@abonander abonander commented Apr 11, 2025

Created this example to add to #3383, but it won't compile until a new version of jiff-sqlx is released targeting 0.9.0 because Cargo won't unify the crates.io version of sqlx, that jiff-sqlx depends on, with the path dependency.

cc @BurntSushi context for BurntSushi/jiff#240 (comment)

The diff is a mess since this has all the commits from #3383 that have yet to be merged to main. Only the last commit is relevant to this PR.

simplifies usage while still making parsing optional for less generated code
# Conflicts:
#	Cargo.lock
No longer Axum-based because filling out the request routes would have distracted from the purpose of the example.
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	sqlx-cli/src/database.rs
#	sqlx-cli/src/lib.rs
#	sqlx-mysql/src/connection/executor.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant