Skip to content
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

Store offline data in one file per query / remove sqlx-data.json #1183

Closed
wants to merge 4 commits into from

Commits on Apr 20, 2021

  1. macros: Reduce I/O

    by doing all .env and environment variable reading inside a Lazy initializer.
    jplatte committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    59d45c6 View commit details
    Browse the repository at this point in the history
  2. Disable CI while this is WIP

    jplatte committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    c3254e9 View commit details
    Browse the repository at this point in the history
  3. Use the default runtime and TLS backend for all examples

    Before, rust-analyzer was always hitting the
    "only one runtime can be enabled" compile_error in sqlx-rt.
    jplatte committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    9dbd4b8 View commit details
    Browse the repository at this point in the history
  4. WIP: [offline] Remove sqlx-data.json and sqlx prepare command

    Query data is now stored in .sqlx/{query_hash}.json directly by the macro
    invocations, rather than first writing to target/sqlx/{input_span_hash}.json
    and then collecting those into sqlx-data.json separately.
    jplatte committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    7d494ac View commit details
    Browse the repository at this point in the history