diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 7ee8cf8..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,7 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" - # Check for updates every Monday - schedule: - interval: "weekly" diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yml deleted file mode 100644 index 6e95886..0000000 --- a/.github/workflows/lint-pr.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Lint PR -on: - pull_request_target: - types: - - opened - - edited - - synchronize - - reopened -permissions: - pull-requests: read -jobs: - main: - name: Validate PR title - runs-on: ubuntu-latest - steps: - - uses: amannn/action-semantic-pull-request@v5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml deleted file mode 100644 index 3e1e494..0000000 --- a/.github/workflows/release-plz.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: Release-plz -permissions: - pull-requests: write - contents: write -on: - push: - branches: - - main -jobs: - # Release unpublished packages. - release-plz-release: - name: Release-plz release - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - token: ${{ secrets.RELEASE_PLZ_TOKEN }} - - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@stable - - name: Run release-plz - uses: MarcoIeni/release-plz-action@v0.5 - with: - command: release - env: - GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }} - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - # Create a PR with the new versions and changelog, preparing the next release. - release-plz-pr: - name: Release-plz PR - runs-on: ubuntu-latest - concurrency: - group: release-plz-${{ github.ref }} - cancel-in-progress: false - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - token: ${{ secrets.RELEASE_PLZ_TOKEN }} - - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@stable - - name: Run release-plz - uses: MarcoIeni/release-plz-action@v0.5 - with: - command: release-pr - env: - GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }} - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 0b98d39..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Test Diesel WASM Backend -on: - push: - branches: - - main - pull_request: - # only run tests when related changes are made - paths: - - ".github/workflows/test.yml" - - "src/**" - - "Cargo.toml" - - "Cargo.lock" - - "rust-toolchain" -jobs: - test: - name: Test - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Install Firefox - run: sudo apt-get update && sudo apt-get install -y firefox - - name: Update rust toolchains - run: rustup update - - name: Cache - uses: Swatinem/rust-cache@v2 - with: - workspaces: | - . - - name: Setup node - uses: actions/setup-node@v4 - with: - node-version-file: ".node-version" - cache-dependency-path: "yarn.lock" - cache: "yarn" - env: - SKIP_YARN_COREPACK_CHECK: "1" - - name: Enable corepack - run: corepack enable - - name: Install dependencies - run: yarn - - name: Build rust - run: cargo build --target wasm32-unknown-unknown --tests --features unsafe-debug-query - - name: Test in Chrome - run: yarn test:chrome:headless - - name: Test in Firefox - run: yarn test:firefox:headless diff --git a/README.md b/README.md index 390322d..dbf51a2 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ +![Status](https://img.shields.io/badge/Deprecated-brown) + +> [!CAUTION] +> This repo is no longer maintained. Prefer to use +> [Spxg/sqlite-wasm-rs](https://github.com/Spxg/sqlite-wasm-rs) directly with +> [diesel](https://github.com/diesel-rs/diesel/tree/master/examples/sqlite/wasm) + +The documentation below is provided for historical reference only. + # Diesel Backend for SQLite and WASM Use SQLite with Diesel ORM in your web apps!