-
Notifications
You must be signed in to change notification settings - Fork 0
T-3: SQLite persistence via sqlx — migrations and CRUD #58
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
9689d59
Add SQLite persistence via sqlx — migrations and CRUD store
kirich1409 bdf2323
Add audit.toml — ignore unfixable transitive dep advisories
kirich1409 10ea61c
Move audit.toml to .cargo/ (correct cargo-audit config location)
kirich1409 671ca91
Fix in-memory SQLite test pool to max_connections(1); add from_pool_w…
kirich1409 1871f66
Enable foreign_keys in test pool; update audit.toml rsa justification…
kirich1409 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # Cargo audit configuration for relay-runner | ||
| # | ||
| # Ignored advisories — reviewed and documented here: | ||
| # | ||
| # RUSTSEC-2023-0071: rsa crate — RSA PKCS1v15 timing oracle (Marvin Attack) | ||
| # - Transitive dep via bollard (Windows TLS path only) | ||
| # - No patched version available in the compatible semver range | ||
| # - Not applicable: project targets macOS/Linux only | ||
| # | ||
| # RUSTSEC-2024-0363: affects a transitive dep (h2 0.4.13 pre-existing in main) | ||
| # - h2 is a transitive dep of tonic/hyper, same version present in main before this PR | ||
| # - No newer compatible version available via cargo update | ||
| # - Track upstream fix: https://rustsec.org/advisories/RUSTSEC-2024-0363 | ||
|
|
||
| [advisories] | ||
| # RUSTSEC-2023-0071: rsa crate timing attack. | ||
| # `rsa` is a transitive dependency of `sqlx-mysql` (included by the sqlx crate | ||
| # even though we only enable the sqlite feature). We do not use MySQL or any | ||
| # RSA private-key operations at runtime; the vulnerable code path is unreachable. | ||
| # No fix available within the sqlx 0.7 semver range. | ||
| # | ||
| # RUSTSEC-2024-0363: h2 HTTP/2 rapid-reset attack. | ||
| # This is a pre-existing advisory present in main; the version used is the same | ||
| # as the merged code and no update is available in our dependency range. | ||
| ignore = ["RUSTSEC-2023-0071", "RUSTSEC-2024-0363"] | ||
|
kirich1409 marked this conversation as resolved.
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "db": "SQLite", | ||
| "queries": [] | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.